Makes a hotkey for asay

This commit is contained in:
tortellinitony
2018-01-08 17:55:18 -05:00
parent f741bc868a
commit 2fcdcafced
3 changed files with 5 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ SUBSYSTEM_DEF(input)
"North", "East", "South", "West",
"Northeast", "Southeast", "Northwest", "Southwest",
"Insert", "Delete", "Ctrl", "Alt",
"F1", "F2", "F5", "F6", "F7", "F8", "F12",
"F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12",
)
for(var/i in 1 to oldmode_keys.len)

View File

@@ -1,5 +1,8 @@
/datum/admins/key_down(_key, client/user)
switch(_key)
if("F3")
user.asay()
return
if("F5")
user.admin_ghost()
return

View File

@@ -78,6 +78,7 @@
var/adminhotkeys = {"<font color='purple'>
Admin:
\tF3 = asay
\tF5 = Aghost (admin-ghost)
\tF6 = player-panel
\tF7 = admin-pm