Skip to content

Commit 51f54b5

Browse files
authored
Remove "department-specific" prosthetics (discordia-space#8179)
1 parent 8348cc2 commit 51f54b5

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

code/modules/organs/body_modifications.dm

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ var/global/list/modifications_types = list(
4242
var/nature = MODIFICATION_ORGANIC
4343
var/hascolor = FALSE
4444
var/allow_nt = TRUE
45-
var/list/department_specific = ALL_DEPARTMENTS
4645

4746
/datum/body_modification/proc/get_mob_icon(organ, color="#ffffff", gender = MALE, species) //Use in setup character only
4847
return new/icon('icons/mob/human.dmi', "blank")
@@ -63,24 +62,6 @@ var/global/list/modifications_types = list(
6362
to_chat(usr, "[name] can't be attached to [parent.name]")
6463
return FALSE
6564

66-
if(department_specific.len)
67-
if(H && H.mind)
68-
var/department = H.mind.assigned_job.department
69-
if(!department)
70-
return FALSE
71-
else if(!department_specific.Find(department))
72-
to_chat(usr, "This body-mod does not match your chosen department.")
73-
return FALSE
74-
else if(P)
75-
var/datum/job/J
76-
if(ASSISTANT_TITLE in P.job_low)
77-
J = SSjob.GetJob(ASSISTANT_TITLE)
78-
else
79-
J = SSjob.GetJob(P.job_high)
80-
if(!J || !department_specific.Find(J.department))
81-
to_chat(usr, "This body-mod does not match your highest-priority department.")
82-
return FALSE
83-
8465
if(!allow_nt && H?.get_core_implant(/obj/item/implant/core_implant/cruciform))
8566
to_chat(usr, "Your cruciform prevents you from using this modification.")
8667
return FALSE
@@ -166,14 +147,12 @@ var/global/list/modifications_types = list(
166147
id = "prosthesis_technomancer"
167148
replace_limb = /obj/item/organ/external/robotic/technomancer
168149
body_parts = list(BP_L_ARM, BP_R_ARM, BP_L_LEG, BP_R_LEG, BP_CHEST, BP_GROIN, BP_HEAD)
169-
department_specific = list(DEPARTMENT_ENGINEERING)
170150
icon = 'icons/mob/human_races/cyberlimbs/technomancer.dmi'
171151

172152
/datum/body_modification/limb/prosthesis/moebius
173153
id = "prosthesis_moebius"
174154
replace_limb = /obj/item/organ/external/robotic/moebius
175155
body_parts = list(BP_L_ARM, BP_R_ARM, BP_L_LEG, BP_R_LEG, BP_CHEST, BP_GROIN, BP_HEAD)
176-
department_specific = list(DEPARTMENT_MEDICAL, DEPARTMENT_SCIENCE)
177156
icon = 'icons/mob/human_races/cyberlimbs/moebius.dmi'
178157

179158
/datum/body_modification/limb/prosthesis/makeshift

0 commit comments

Comments
 (0)