AI requires silicon exp instead of crew exp for roundstart role (#36469)
* Ai requires silicon xp * Reverses byond age change
This commit is contained in:
committed by
CitadelStationBot
parent
4063781baf
commit
7a07c101df
@@ -25,22 +25,22 @@ GLOBAL_PROTECT(exp_to_update)
|
||||
return (job_requirement - my_exp)
|
||||
|
||||
/datum/job/proc/get_exp_req_amount()
|
||||
if(title in GLOB.command_positions)
|
||||
if(title in (GLOB.command_positions | list("AI")))
|
||||
var/uerhh = CONFIG_GET(number/use_exp_restrictions_heads_hours)
|
||||
if(uerhh)
|
||||
return uerhh * 60
|
||||
return exp_requirements
|
||||
|
||||
/datum/job/proc/get_exp_req_type()
|
||||
if(title in GLOB.command_positions)
|
||||
if(title in (GLOB.command_positions | list("AI")))
|
||||
if(CONFIG_GET(flag/use_exp_restrictions_heads_department) && exp_type_department)
|
||||
return exp_type_department
|
||||
return exp_type
|
||||
|
||||
/proc/job_is_xp_locked(jobtitle)
|
||||
if(!CONFIG_GET(flag/use_exp_restrictions_heads) && jobtitle in GLOB.command_positions)
|
||||
if(!CONFIG_GET(flag/use_exp_restrictions_heads) && jobtitle in (GLOB.command_positions | list("AI")))
|
||||
return FALSE
|
||||
if(!CONFIG_GET(flag/use_exp_restrictions_other) && !(jobtitle in GLOB.command_positions))
|
||||
if(!CONFIG_GET(flag/use_exp_restrictions_other) && !(jobtitle in (GLOB.command_positions | list("AI"))))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ AI
|
||||
minimal_player_age = 30
|
||||
exp_requirements = 180
|
||||
exp_type = EXP_TYPE_CREW
|
||||
exp_type_department = EXP_TYPE_SILICON
|
||||
antag_rep = 20
|
||||
var/do_special_check = TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user