This commit is contained in:
Seris02
2020-01-31 11:46:10 +08:00
committed by GitHub
parent 88e42b2e15
commit 450f33de39

View File

@@ -71,13 +71,18 @@
to_chat(A,"<span class='userdanger'>[user]'s magboots press down on you, crushing you!</span>")
A.emote("scream")
/obj/item/clothing/shoes/magboots/crushing/equipped(mob/user,slot)
/obj/item/clothing/shoes/magboots/crushing/attack_self(mob/user)
. = ..()
if (slot == SLOT_SHOES)
if (magpulse)
RegisterSignal(user, COMSIG_MOVABLE_MOVED,.proc/crush)
else
UnregisterSignal(user,COMSIG_MOVABLE_MOVED)
/obj/item/clothing/shoes/magboots/crushing/equipped(mob/user,slot)
. = ..()
if (slot == SLOT_SHOES)
RegisterSignal(user, COMSIG_MOVABLE_MOVED,.proc/crush)
/obj/item/clothing/shoes/magboots/crushing/dropped(mob/user)
. = ..()
UnregisterSignal(user,COMSIG_MOVABLE_MOVED)
UnregisterSignal(user,COMSIG_MOVABLE_MOVED)