Everything else through the door (#19358)

This commit is contained in:
Vi3trice
2022-10-13 15:56:58 -04:00
committed by GitHub
parent 2410930b2b
commit 59dfdba201
134 changed files with 200 additions and 200 deletions
+2 -2
View File
@@ -375,7 +375,7 @@
else if(P.name != "paper" && P.name != "photo")
B.name = P.name
user.unEquip(P)
if(istype(user, /mob/living/carbon/human))
if(ishuman(user))
var/mob/living/carbon/human/h_user = user
if(h_user.r_hand == src)
h_user.unEquip(src)
@@ -742,7 +742,7 @@
to_chat(target,"<span class='userdanger'>Life seems funnier, somehow.</span>")
organ.insert(target)
else if(myeffect == "Cluwne")
if(istype(target, /mob/living/carbon/human))
if(ishuman(target))
var/mob/living/carbon/human/H = target
to_chat(H, "<span class='userdanger'>You feel surrounded by sadness. Sadness... and HONKS!</span>")
H.makeCluwne()
+1 -1
View File
@@ -41,7 +41,7 @@
to_chat(user, "<span class='notice'>You add [(P.name == "paper") ? "the paper" : P.name] to [(src.name == "paper bundle") ? "the paper bundle" : src.name].</span>")
user.unEquip(P)
P.loc = src
if(istype(user,/mob/living/carbon/human))
if(ishuman(user))
var/mob/living/carbon/human/H = user
H.update_inv_l_hand()
H.update_inv_r_hand()
+1 -1
View File
@@ -127,7 +127,7 @@
/obj/item/storage/photo_album/MouseDrop(obj/over_object as obj)
if((istype(usr, /mob/living/carbon/human)))
if(ishuman(usr))
var/mob/M = usr
if(!( istype(over_object, /obj/screen) ))
return ..()