Skip to content

Commit

Permalink
erm
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 3, 2023
1 parent c38aff1 commit e4ca7ee
Showing 1 changed file with 0 additions and 85 deletions.
85 changes: 0 additions & 85 deletions code/datums/keybinding/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,91 +5,6 @@
/datum/keybinding/human/can_use(client/user)
return ishuman(user.mob)

/datum/keybinding/human/quick_equip
hotkey_keys = list("E")
classic_keys = list("E")
name = "quick_equip"
full_name = "Unholster"
description = "Take out an available weapon"
keybind_signal = COMSIG_KB_HUMAN_QUICKEQUIP_DOWN

/datum/keybinding/human/quick_equip/down(client/user)
. = ..()
if(.)
return
var/mob/living/carbon/human/H = user.mob
H.holster_verb(QUICK_EQUIP_PRIMARY)
return TRUE

/datum/keybinding/human/quick_equip_secondary
hotkey_keys = list("Shift+E")
classic_keys = list("Shift+E")
name = "quick_equip_secondary"
full_name = "Unholster secondary"
description = "Take out your secondary weapon"
keybind_signal = COMSIG_KB_HUMAN_SECONDARY_DOWN

/datum/keybinding/human/quick_equip_secondary/down(client/user)
. = ..()
if(.)
return
var/mob/living/carbon/human/H = user.mob
H.holster_verb(QUICK_EQUIP_SECONDARY)
return TRUE

/datum/keybinding/human/quick_equip_tertiary
hotkey_keys = list("Ctrl+E", "Alt+E")
classic_keys = list("Ctrl+E", "Alt+E")
name = "quick_equip_tertiary"
full_name = "Unholster tertiary"
description = "Take out your tertiary item."
keybind_signal = COMSIG_KB_HUMAN_TERTIARY_DOWN

/datum/keybinding/human/quick_equip_tertiary/down(client/user)
. = ..()
if(.)
return
var/mob/living/carbon/human/H = user.mob
H.holster_verb(QUICK_EQUIP_TERTIARY)
return TRUE

/datum/keybinding/human/quick_equip_quaternary
hotkey_keys = list("Unbound")
classic_keys = list("Unbound")
name = "quick_equip_quaternary"
full_name = "Unholster quaternary"
description = "Take out your quaternary item."
keybind_signal = COMSIG_KB_HUMAN_QUATERNARY_DOWN

/datum/keybinding/human/quick_equip_quaternary/down(client/user)
. = ..()
if(.)
return
var/mob/living/carbon/human/H = user.mob
H.holster_verb(QUICK_EQUIP_QUATERNARY)
return TRUE

#undef QUICK_EQUIP_PRIMARY
#undef QUICK_EQUIP_SECONDARY
#undef QUICK_EQUIP_TERTIARY
#undef QUICK_EQUIP_QUATERNARY

/datum/keybinding/human/quick_equip_inventory
hotkey_keys = list("Unbound")
classic_keys = list("Unbound")
name = "quick_equip_inventory"
full_name = "Quick equip inventory"
description = "Quickly puts an item in the best slot available"
keybind_signal = COMSIG_KB_HUMAN_QUICK_EQUIP_DOWN

/datum/keybinding/human/quick_equip_inventory/down(client/user)
. = ..()
if(.)
return
var/mob/living/carbon/human/H = user.mob
H.quick_equip()
return TRUE

/datum/keybinding/human/issue_order
hotkey_keys = list("Unbound")
classic_keys = list("Unbound")
Expand Down

0 comments on commit e4ca7ee

Please sign in to comment.