/datum/keybinding/mob category = CATEGORY_HUMAN weight = WEIGHT_MOB /datum/keybinding/mob/stop_pulling hotkey_keys = list("H", "Delete") name = "stop_pulling" full_name = "Stop pulling" description = "" /datum/keybinding/mob/stop_pulling/down(client/user) var/mob/M = user.mob if(!M.pulling) to_chat(user, "You are not pulling anything.") else M.stop_pulling() return TRUE /datum/keybinding/mob/cycle_intent_right hotkey_keys = list("Unbound") name = "cycle_intent_right" full_name = "Cycle Action Intent Right" description = "" /datum/keybinding/mob/cycle_intent_right/down(client/user) var/mob/M = user.mob M.a_intent_change(INTENT_HOTKEY_RIGHT) return TRUE /datum/keybinding/mob/cycle_intent_left hotkey_keys = list("Unbound") name = "cycle_intent_left" full_name = "Cycle Action Intent Left" description = "" /datum/keybinding/mob/cycle_intent_left/down(client/user) var/mob/M = user.mob M.a_intent_change(INTENT_HOTKEY_LEFT) return TRUE /datum/keybinding/mob/swap_hands hotkey_keys = list("X", "Northeast") // PAGEUP name = "swap_hands" full_name = "Swap hands" description = "" /datum/keybinding/mob/swap_hands/down(client/user) var/mob/M = user.mob M.swap_hand() return TRUE /datum/keybinding/mob/activate_inhand hotkey_keys = list("Z", "Southeast") // PAGEDOWN name = "activate_inhand" full_name = "Activate in-hand" description = "Uses whatever item you have inhand" /datum/keybinding/mob/activate_inhand/down(client/user) var/mob/M = user.mob M.mode() return TRUE /datum/keybinding/mob/drop_item hotkey_keys = list("Q") name = "drop_item" full_name = "Drop Item" description = "" /datum/keybinding/mob/drop_item/down(client/user) if(iscyborg(user.mob)) //cyborgs can't drop items return FALSE var/mob/M = user.mob var/obj/item/I = M.get_active_held_item() if(!I) to_chat(user, "You have nothing to drop in your hand!") else user.mob.dropItemToGround(I) return TRUE