Squish Squash

This commit is contained in:
ZomgPonies
2015-04-04 14:27:53 -04:00
parent c3a2916d85
commit 91e8b909c0
149 changed files with 3449 additions and 2543 deletions
+9 -8
View File
@@ -29,10 +29,10 @@
var/mob/M = usr
if(M.restrained() || M.stat || !Adjacent(M))
return
if(over_object == M)
M.put_in_hands(src)
else if(istype(over_object, /obj/screen))
switch(over_object.name)
if("r_hand")
@@ -43,7 +43,7 @@
if(!M.unEquip(src))
return
M.put_in_l_hand(src)
add_fingerprint(M)
@@ -52,12 +52,13 @@
/obj/item/weapon/paper_bin/attack_hand(mob/user as mob)
if (hasorgans(user))
var/datum/organ/external/temp = user:organs_by_name["r_hand"]
if (user.hand)
temp = user:organs_by_name["l_hand"]
if (ishuman(user))
var/mob/living/carbon/human/H = user
var/obj/item/organ/external/temp = H.organs_by_name["r_hand"]
if (H.hand)
temp = H.organs_by_name["l_hand"]
if(temp && !temp.is_usable())
user << "<span class='notice'>You try to move your [temp.display_name], but cannot!"
H << "<span class='notice'>You try to move your [temp.name], but cannot!"
return
if(amount >= 1)
amount--