mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Convert background prefs, and records to TG (#19417)
* attempt to migrate all background prefs.. * compiles * separate background and record prefs * move some things for clarity.. --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
b24cc0bce2
commit
222e4cdbdc
@@ -516,9 +516,10 @@ GLOBAL_LIST_EMPTY(additional_antag_types)
|
||||
var/list/dudes = list()
|
||||
for(var/mob/living/carbon/human/man in GLOB.player_list)
|
||||
if(man.client)
|
||||
if((man.client.prefs.economic_status == CLASS_LOWER) || (man.client.prefs.economic_status == CLASS_BROKE))
|
||||
var/econ_status = man.client.prefs.read_preference(/datum/preference/choiced/human/economic_status)
|
||||
if((econ_status == CLASS_LOWER) || (econ_status == CLASS_BROKE))
|
||||
dudes += man
|
||||
else if(man.client.prefs.economic_status == CLASS_LOWMID && prob(50))
|
||||
else if(econ_status == CLASS_LOWMID && prob(50))
|
||||
dudes += man
|
||||
if(dudes.len == 0) return null
|
||||
return pick(dudes)
|
||||
|
||||
Reference in New Issue
Block a user