Last resort now requires a confirmation. (#33947)
* Update headcrab.dm * fixed * fuck * Update headcrab.dm * Update headcrab.dm
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
/obj/effect/proc_holder/changeling/headcrab/sting_action(mob/user)
|
/obj/effect/proc_holder/changeling/headcrab/sting_action(mob/user)
|
||||||
set waitfor = FALSE
|
set waitfor = FALSE
|
||||||
|
if(alert("Are we sure we wish to kill ourself and create a headslug?",,"Yes", "No") == "No")
|
||||||
|
return
|
||||||
var/datum/mind/M = user.mind
|
var/datum/mind/M = user.mind
|
||||||
var/list/organs = user.getorganszone("head", 1)
|
var/list/organs = user.getorganszone("head", 1)
|
||||||
|
|
||||||
@@ -35,4 +37,4 @@
|
|||||||
if(crab.origin)
|
if(crab.origin)
|
||||||
crab.origin.active = 1
|
crab.origin.active = 1
|
||||||
crab.origin.transfer_to(crab)
|
crab.origin.transfer_to(crab)
|
||||||
to_chat(crab, "<span class='warning'>You burst out of the remains of your former body in a shower of gore!</span>")
|
to_chat(crab, "<span class='warning'>You burst out of the remains of your former body in a shower of gore!</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user