rewrites pickle handling

This commit is contained in:
Timothy Teakettle
2020-07-16 18:22:58 +01:00
parent d9ceab6553
commit a8a495c0ac
2 changed files with 11 additions and 6 deletions
@@ -7,10 +7,10 @@
maxHealth = 100
icon = 'icons/mob/32x64.dmi'
icon_state = "pickle"
del_on_death = TRUE
deathmessage = "The pickle implodes into its own existential dread and disappears!"
friendly_verb_continuous = "tickles"
friendly_verb_simple = "tickle"
del_on_death = TRUE
var/mob/living/original_body
/mob/living/simple_animal/pickle/UnarmedAttack(atom/A)
@@ -19,11 +19,10 @@
var/mob/laugher = A
laugher.emote("laugh")
/mob/living/simple_animal/pickle/Destroy(force, kill_body = TRUE)
/mob/living/simple_animal/pickle/death()
..()
if(original_body)
if(kill_body)
original_body.adjustOrganLoss(ORGAN_SLOT_BRAIN, 200) //to be fair, you have to have a very high iq to understand-
original_body.adjustOrganLoss(ORGAN_SLOT_BRAIN, 200) //to be fair, you have to have a very high iq to understand-
original_body.forceMove(get_turf(src))
if(mind)
mind.transfer_to(original_body)
..()