* demodularize interface * keybindings * binds * prefs * loose ends * globals * changes * s * datum ref lists * ok * fixes * fixes * fix * ok * sigh * sigh * indicators * let's play the move code around game * let's play the i didn't comma my lists game * let's play the indent game * let's play hte spelling bee * let's fail the spelling bee * LET'S PLAY THe HOW HARd IS IT TO SPELL A PROC GAME * let's play the bugfix game * bugfixes * improvements * Update bindings_client.dm * pixel shift * A * wups
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
/datum/keybinding/human
|
|
category = CATEGORY_HUMAN
|
|
weight = WEIGHT_MOB
|
|
|
|
/datum/keybinding/human/can_use(client/user)
|
|
return ishuman(user.mob)
|
|
|
|
/datum/keybinding/human/quick_equip
|
|
hotkey_keys = list("E")
|
|
name = "quick_equip"
|
|
full_name = "Quick Equip"
|
|
description = "Quickly puts an item in the best slot available"
|
|
|
|
/datum/keybinding/human/quick_equip/down(client/user)
|
|
var/mob/living/carbon/human/H = user.mob
|
|
H.quick_equip()
|
|
return TRUE
|
|
|
|
/datum/keybinding/human/quick_equipbelt
|
|
hotkey_keys = list("ShiftE")
|
|
name = "quick_equipbelt"
|
|
full_name = "Quick equip belt"
|
|
description = "Put held thing in belt or take out most recent thing from belt"
|
|
|
|
/datum/keybinding/human/quick_equipbelt/down(client/user)
|
|
var/mob/living/carbon/human/H = user.mob
|
|
H.smart_equipbelt()
|
|
return TRUE
|
|
|
|
/datum/keybinding/human/bag_equip
|
|
hotkey_keys = list("ShiftB")
|
|
name = "bag_equip"
|
|
full_name = "Bag equip"
|
|
description = "Put held thing in backpack or take out most recent thing from backpack"
|
|
|
|
/datum/keybinding/human/bag_equip/down(client/user)
|
|
var/mob/living/carbon/human/H = user.mob
|
|
H.smart_equipbag()
|
|
return TRUE
|