Synthetic Loadout Stuff (#19763)

* AIs can now dress up their preview mob.
* Cyborgs now have the cardboard outfit in the loadout again. You can
toggle it by deselecting the job suit and hat options.
* Job suits are now hidden correctly when the job suit is deselected.
This commit is contained in:
Geeves
2024-09-21 11:35:48 +00:00
committed by GitHub
parent 8ca6459ab5
commit 75eed5504d
5 changed files with 30 additions and 12 deletions
+7 -4
View File
@@ -655,10 +655,13 @@ SUBSYSTEM_DEF(jobs)
log_loadout("EC/([H]): Abort: invalid arguments.")
return FALSE
switch (job.title)
if ("AI", "Cyborg")
log_loadout("EC/([H]): Abort: synthetic.")
return FALSE
// if it's for their preview mob, let them wear it
// so they can customize their loadout for their hologram
if(!istype(H, /mob/living/carbon/human/dummy/mannequin))
switch (job.title)
if ("AI", "Cyborg")
log_loadout("EC/([H]): Abort: synthetic.")
return FALSE
for(var/thing in prefs.gear)
var/datum/gear/G = gear_datums[thing]