:pika:
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
virgin = 0 //tabbing here is correct- it's possible for people to try and use it
|
||||
//before the records have been generated, so we do this inside the loop.
|
||||
|
||||
/obj/structure/filingcabinet/security/attack_hand()
|
||||
/obj/structure/filingcabinet/security/on_attack_hand()
|
||||
populate()
|
||||
. = ..()
|
||||
|
||||
@@ -170,8 +170,7 @@
|
||||
virgin = 0 //tabbing here is correct- it's possible for people to try and use it
|
||||
//before the records have been generated, so we do this inside the loop.
|
||||
|
||||
//ATTACK HAND IGNORING PARENT RETURN VALUE
|
||||
/obj/structure/filingcabinet/medical/attack_hand()
|
||||
/obj/structure/filingcabinet/medical/on_attack_hand()
|
||||
populate()
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -66,10 +66,7 @@
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/papercutter/attack_hand(mob/user, act_intent = user.a_intent, unarmed_attack_flags)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
/obj/item/papercutter/on_attack_hand(mob/user, act_intent = user.a_intent, unarmed_attack_flags)
|
||||
add_fingerprint(user)
|
||||
if(!storedcutter)
|
||||
to_chat(user, "<span class='notice'>The cutting blade is gone! You can't use [src] now.</span>")
|
||||
|
||||
@@ -62,8 +62,7 @@
|
||||
/obj/item/paper_bin/attack_paw(mob/user)
|
||||
return attack_hand(user)
|
||||
|
||||
//ATTACK HAND IGNORING PARENT RETURN VALUE
|
||||
/obj/item/paper_bin/attack_hand(mob/user, act_intent = user.a_intent, unarmed_attack_flags)
|
||||
/obj/item/paper_bin/on_attack_hand(mob/user, act_intent = user.a_intent, unarmed_attack_flags)
|
||||
if(user.lying)
|
||||
return
|
||||
if(bin_pen)
|
||||
@@ -149,7 +148,7 @@
|
||||
papertype = /obj/item/paper/natural
|
||||
resistance_flags = FLAMMABLE
|
||||
|
||||
/obj/item/paper_bin/bundlenatural/attack_hand(mob/user, act_intent = user.a_intent, unarmed_attack_flags)
|
||||
/obj/item/paper_bin/bundlenatural/on_attack_hand(mob/user, act_intent = user.a_intent, unarmed_attack_flags)
|
||||
..()
|
||||
if(total_paper < 1)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user