Department Funds Buff (#10844)

* Department Funds Buff

* put the amount to grant in the global list

* update cl

* rename var
This commit is contained in:
Geeves
2020-12-25 15:15:58 +02:00
committed by GitHub
parent 3807baab7f
commit abb513112c
3 changed files with 22 additions and 6 deletions

View File

@@ -24,9 +24,8 @@ var/datum/controller/subsystem/economy/SSeconomy
create_station_account()
for(var/department in station_departments)
create_department_account(department)
create_department_account("Vendor")
for(var/account in department_funds)
create_department_account(account)
..()
@@ -77,7 +76,7 @@ var/datum/controller/subsystem/economy/SSeconomy
department_account.account_number = next_account_number
next_account_number += rand(1,500)
department_account.remote_access_pin = rand(1111, 111111)
department_account.money = 5000
department_account.money = department_funds[department]
//create an entry in the account transaction log for when it was created
var/datum/transaction/T = new()