Prosthetic Groin Cap (#11252)

This commit is contained in:
Geeves
2021-03-01 13:36:42 +01:00
committed by GitHub
parent 9469f0aae9
commit 30c1877dbe
5 changed files with 48 additions and 9 deletions
+11 -2
View File
@@ -16,6 +16,8 @@
dir = SOUTH
organ_tag = "limb"
var/force_prosthetic_name
var/icon_name = null
var/body_part = null
var/icon_position = 0
@@ -58,6 +60,7 @@
var/obj/item/organ/external/parent
var/list/obj/item/organ/external/children
var/supports_children = TRUE
var/list/internal_organs = list() // Internal organs of this body part
var/damage_msg = "<span class='warning'>You feel an intense pain!</span>"
@@ -1089,9 +1092,15 @@ Note that amputating the affected organ does in fact remove the infection from t
force_icon = R.icon
if(R.lifelike)
status |= ORGAN_LIFELIKE
name = "[initial(name)]"
if(force_prosthetic_name)
name = force_prosthetic_name
else
name = "[initial(name)]"
else
name = "[R.company] [initial(name)]"
if(force_prosthetic_name)
name = force_prosthetic_name
else
name = "[R.company] [initial(name)]"
desc = "[R.desc]"
if(R.paintable)
painted = 1
+16
View File
@@ -591,6 +591,22 @@
encased = "support frame"
robotize_type = "Unbranded"
/obj/item/organ/external/groin/ipc/unbranded/cap // extreme nugget action
force_prosthetic_name = "prosthetic groin cap"
supports_children = FALSE
/obj/item/organ/external/groin/ipc/unbranded/cap/Initialize(mapload)
. = ..()
var/obj/item/organ/internal/kidneys/K = new(src)
K.robotize()
internal_organs += K
var/obj/item/organ/internal/liver/L = new(src)
L.robotize()
internal_organs += L
var/obj/item/organ/internal/stomach/S = new(src)
S.robotize()
internal_organs += S
/obj/item/organ/external/arm/ipc/unbranded
dislocated = -1
encased = "support frame"