Added catching. Toggle throw intent with an open hand to catch things that are thrown at you. TK users can't catch anything, but that's okay!

This commit is contained in:
Pete Goodfellow
2013-05-27 22:08:38 +01:00
parent 7d0c5f1054
commit 2af188524b
8 changed files with 34 additions and 20 deletions

View File

@@ -175,7 +175,7 @@ var/datum/global_hud/global_hud = new()
var/list/other
var/list/obj/screen/hotkeybuttons
var/list/obj/screen/item_action/item_action_list //Used for the item action ui buttons.
var/list/obj/screen/item_action/item_action_list //Used for the item action ui buttons.
datum/hud/New(mob/owner)
@@ -191,7 +191,7 @@ datum/hud/New(mob/owner)
if(ishuman(mymob))
var/mob/living/carbon/human/H = mymob
if(H.handcuffed)
H.handcuffed.screen_loc = null //no handcuffs in my UI!
H.handcuffed.screen_loc = null //no handcuffs in my UI!
if(inventory_shown && hud_shown)
if(H.shoes) H.shoes.screen_loc = ui_shoes
if(H.gloves) H.gloves.screen_loc = ui_gloves