mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 07:12:55 +00:00
Cyborgs and AIs now don't get a bank account assigned. (#23176)
* God this was a PITA to find * Variable on job
This commit is contained in:
@@ -594,6 +594,8 @@ SUBSYSTEM_DEF(jobs)
|
||||
|
||||
//fuck
|
||||
/datum/controller/subsystem/jobs/proc/CreateMoneyAccount(mob/living/H, rank, datum/job/job)
|
||||
if(!job.has_bank_account)
|
||||
return
|
||||
var/starting_balance = job?.department_account_access ? COMMAND_MEMBER_STARTING_BALANCE : CREW_MEMBER_STARTING_BALANCE
|
||||
var/datum/money_account/account = GLOB.station_money_database.create_account(H.real_name, starting_balance, ACCOUNT_SECURITY_ID, "NAS Trurl Accounting", TRUE)
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
var/job_departments = list()
|
||||
///Can this role access its department money account?
|
||||
var/department_account_access = FALSE
|
||||
/// Does this job get a bank account?
|
||||
var/has_bank_account = TRUE
|
||||
//How many players can be this job
|
||||
var/total_positions = 0
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
req_admin_notify = 1
|
||||
minimal_player_age = 30
|
||||
exp_map = list(EXP_TYPE_SILICON = 300)
|
||||
has_bank_account = FALSE
|
||||
|
||||
/datum/job/ai/equip(mob/living/carbon/human/H)
|
||||
if(!H)
|
||||
@@ -31,6 +32,7 @@
|
||||
minimal_player_age = 21
|
||||
exp_map = list(EXP_TYPE_CREW = 300)
|
||||
alt_titles = list("Robot")
|
||||
has_bank_account = FALSE
|
||||
|
||||
/datum/job/cyborg/equip(mob/living/carbon/human/H)
|
||||
if(!H)
|
||||
|
||||
Reference in New Issue
Block a user