From 9dcf38bfbce69033e24d11b056a5bf3efb02cb14 Mon Sep 17 00:00:00 2001 From: Samirakis Date: Fri, 20 Sep 2024 13:54:21 +0300 Subject: [PATCH] no cyborg wheelchairs --- code/controllers/subsystem/jobs.dm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/code/controllers/subsystem/jobs.dm b/code/controllers/subsystem/jobs.dm index 0f655524f88..eefa6194c7d 100644 --- a/code/controllers/subsystem/jobs.dm +++ b/code/controllers/subsystem/jobs.dm @@ -544,18 +544,16 @@ SUBSYSTEM_DEF(jobs) G.upgrade_prescription() H.update_nearsighted_effects() - // Wheelchair necessary? - var/obj/item/organ/external/l_foot = H.get_organ(BODY_ZONE_PRECISE_L_FOOT) - var/obj/item/organ/external/r_foot = H.get_organ(BODY_ZONE_PRECISE_R_FOOT) - if(!l_foot && !r_foot || (H.client.prefs.disabilities & DISABILITY_FLAG_PARAPLEGIA) && !(H.dna.species.blacklisted_disabilities & DISABILITY_FLAG_PARAPLEGIA)) - var/obj/structure/chair/wheelchair/W = new /obj/structure/chair/wheelchair(H.loc) - W.buckle_mob(H, TRUE) + if(!issilicon(H)) + // Wheelchair necessary? + var/obj/item/organ/external/l_foot = H.get_organ(BODY_ZONE_PRECISE_L_FOOT) + var/obj/item/organ/external/r_foot = H.get_organ(BODY_ZONE_PRECISE_R_FOOT) + if(!l_foot && !r_foot || (H.client.prefs.disabilities & DISABILITY_FLAG_PARAPLEGIA) && !(H.dna.species.blacklisted_disabilities & DISABILITY_FLAG_PARAPLEGIA)) + var/obj/structure/chair/wheelchair/W = new /obj/structure/chair/wheelchair(H.loc) + W.buckle_mob(H, TRUE) return H - - - /datum/controller/subsystem/jobs/proc/LoadJobsFile(jobsfile, highpop) //ran during round setup, reads info from jobs.txt -- Urist if(!CONFIG_GET(flag/load_jobs_from_txt)) return