mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-10 14:46:11 +00:00
25 lines
518 B
Plaintext
25 lines
518 B
Plaintext
/datum/keybinding
|
|
var/list/hotkey_keys
|
|
var/list/classic_keys
|
|
var/name
|
|
var/full_name
|
|
var/description = ""
|
|
var/category = CATEGORY_MISC
|
|
var/weight = WEIGHT_LOWEST
|
|
var/keybind_signal
|
|
|
|
/datum/keybinding/New()
|
|
|
|
// Default keys to the master "hotkey_keys"
|
|
if(LAZYLEN(hotkey_keys) && !LAZYLEN(classic_keys))
|
|
classic_keys = hotkey_keys.Copy()
|
|
|
|
/datum/keybinding/proc/down(client/user)
|
|
return FALSE
|
|
|
|
/datum/keybinding/proc/up(client/user)
|
|
return FALSE
|
|
|
|
/datum/keybinding/proc/can_use(client/user)
|
|
return TRUE
|