Stop the animals!

This commit is contained in:
Dovixx
2019-01-23 22:34:51 +02:00
parent 514e1ef75c
commit 6741238ef1
4 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -273,7 +273,9 @@
if(!istype(user) || user.incapacitated())
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
return
if(!in_range(src, user) || issilicon(usr))
if(!in_range(src, user))
return
if(!ishuman(usr))
return
if(amount < 1)
return
@@ -59,6 +59,8 @@
if(usr.incapacitated())
to_chat(usr, "<span class='warning'>You can't do that right now!</span>")
return
if(!ishuman(usr))
return
usr.visible_message("<span class='notice'>[usr] grabs \the [src.name].</span>", "<span class='notice'>You grab \the [src.name].</span>")
var/C = new item_chair(loc)
usr.put_in_hands(C)