mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Added verbs/handling for removing and attaching your own robotic bodyparts.
This commit is contained in:
@@ -236,6 +236,7 @@
|
||||
owner.organs |= src
|
||||
for(var/obj/item/organ/organ in src)
|
||||
organ.replaced(owner,src)
|
||||
owner.refresh_modular_limb_verbs()
|
||||
|
||||
if(parent_organ)
|
||||
parent = owner.organs_by_name[src.parent_organ]
|
||||
@@ -1132,6 +1133,8 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
if(R.lifelike)
|
||||
robotic = ORGAN_LIFELIKE
|
||||
name = "[initial(name)]"
|
||||
else if(R.modular_bodyparts == MODULAR_BODYPART_PROSTHETIC)
|
||||
name = "prosthetic [initial(name)]"
|
||||
else
|
||||
name = "robotic [initial(name)]"
|
||||
desc = "[R.desc] It looks like it was produced by [R.company]."
|
||||
@@ -1163,7 +1166,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
|
||||
while(null in owner.internal_organs)
|
||||
owner.internal_organs -= null
|
||||
|
||||
owner.refresh_modular_limb_verbs()
|
||||
return 1
|
||||
|
||||
/obj/item/organ/external/proc/mutate()
|
||||
@@ -1264,6 +1267,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
qdel(spark_system)
|
||||
qdel(src)
|
||||
|
||||
victim.refresh_modular_limb_verbs()
|
||||
victim.update_icons_body()
|
||||
|
||||
/obj/item/organ/external/proc/disfigure(var/type = "brute")
|
||||
|
||||
Reference in New Issue
Block a user