Merge pull request #9312 from CornMyCob/headslug-prompt

Adds prompt for headslug
This commit is contained in:
variableundefined
2018-09-27 22:23:44 +08:00
committed by GitHub
@@ -6,6 +6,11 @@
dna_cost = 1
req_human = 1
/obj/effect/proc_holder/changeling/headcrab/try_to_sting(mob/user, mob/target)
if(alert("Are you sure you wish to do this? This action cannot be undone.",,"Yes","No")=="No")
return
..()
/obj/effect/proc_holder/changeling/headcrab/sting_action(mob/user)
var/datum/mind/M = user.mind
var/list/organs = user.get_organs_zone("head", 1)
@@ -37,4 +42,4 @@
to_chat(crab, "<span class='warning'>You burst out of the remains of your former body in a shower of gore!</span>")
user.gib()
feedback_add_details("changeling_powers","LR")
return 1
return 1