mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 10:02:28 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user