* 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
16 lines
448 B
Plaintext
16 lines
448 B
Plaintext
/datum/keybinding/emote
|
|
category = CATEGORY_EMOTE
|
|
weight = WEIGHT_EMOTE
|
|
var/emote_key
|
|
|
|
/datum/keybinding/emote/proc/link_to_emote(datum/emote/faketype)
|
|
hotkey_keys = list("Unbound")
|
|
emote_key = initial(faketype.key)
|
|
name = initial(faketype.key)
|
|
full_name = capitalize(initial(faketype.key))
|
|
description = "Do the emote '*[emote_key]'"
|
|
|
|
/datum/keybinding/emote/down(client/user)
|
|
. = ..()
|
|
return user.mob.emote(emote_key, intentional=TRUE)
|