mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 20:13:45 +01:00
- Only humans can now use the 'pick up' verb
- 'pick up' verb now checks if you hands are actually empty before executing an attack_hand() on the item it's tied to. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3740 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
+8
-2
@@ -311,12 +311,18 @@
|
||||
/obj/item/verb/verb_pickup()
|
||||
set src in oview(1)
|
||||
set category = "Object"
|
||||
set name = "Pickup"
|
||||
set name = "Pick up"
|
||||
|
||||
if(!usr.canmove || usr.stat || usr.restrained())
|
||||
return
|
||||
|
||||
src.attack_hand(usr)
|
||||
if(ishuman(usr))
|
||||
if(usr.get_active_hand() == null)
|
||||
src.attack_hand(usr)
|
||||
else
|
||||
usr << "\red You already have something in your hand."
|
||||
else
|
||||
usr << "\red This mob type can't use this verb."
|
||||
|
||||
/obj/item/device
|
||||
icon = 'device.dmi'
|
||||
|
||||
Reference in New Issue
Block a user