mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
Adds Plastic Surgery; Fixes Disfigurement
This commit is contained in:
@@ -115,7 +115,13 @@
|
||||
M.adjustToxLoss(-3)
|
||||
M.adjustBruteLoss(-12)
|
||||
M.adjustFireLoss(-12)
|
||||
M.status_flags &= ~DISFIGURED
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/external/head/head = H.get_organ("head")
|
||||
if(head && head.disfigured)
|
||||
head.disfigured = FALSE
|
||||
head.update_icon()
|
||||
H.regenerate_icons()
|
||||
..()
|
||||
|
||||
/datum/reagent/medicine/rezadone
|
||||
@@ -131,7 +137,13 @@
|
||||
M.adjustCloneLoss(-1) //What? We just set cloneloss to 0. Why? Simple; this is so external organs properly unmutate.
|
||||
M.adjustBruteLoss(-1)
|
||||
M.adjustFireLoss(-1)
|
||||
M.status_flags &= ~DISFIGURED
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/external/head/head = H.get_organ("head")
|
||||
if(head && head.disfigured)
|
||||
head.disfigured = FALSE
|
||||
head.update_icon()
|
||||
H.regenerate_icons()
|
||||
..()
|
||||
|
||||
/datum/reagent/medicine/rezadone/overdose_process(mob/living/M, severity)
|
||||
|
||||
@@ -611,11 +611,15 @@
|
||||
return
|
||||
|
||||
if(!H.unacidable)
|
||||
var/obj/item/organ/external/affecting = H.get_organ("head")
|
||||
affecting.receive_damage(0, 75)
|
||||
var/obj/item/organ/external/head/affecting = H.get_organ("head")
|
||||
if(affecting)
|
||||
affecting.receive_damage(0, 75)
|
||||
if(!affecting.disfigured)
|
||||
affecting.disfigured = TRUE
|
||||
affecting.update_icon()
|
||||
H.regenerate_icons()
|
||||
H.UpdateDamageIcon()
|
||||
H.emote("scream")
|
||||
H.status_flags |= DISFIGURED
|
||||
|
||||
/datum/reagent/facid/reaction_obj(obj/O, volume)
|
||||
if((istype(O, /obj/item) || istype(O, /obj/structure/glowshroom)))
|
||||
|
||||
Reference in New Issue
Block a user