Merge pull request #34203 from tortellinitony/asayf

Makes a hotkey for asay
This commit is contained in:
Leo
2018-01-10 20:00:08 -02:00
committed by GitHub
3 changed files with 5 additions and 1 deletions
+1 -1
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)
@@ -1,5 +1,8 @@
/datum/admins/key_down(_key, client/user)
switch(_key)
if("F3")
user.cmd_admin_say()
return
if("F5")
user.admin_ghost()
return
+1
View File
@@ -78,6 +78,7 @@
var/adminhotkeys = {"<font color='purple'>
Admin:
\tF3 = asay
\tF5 = Aghost (admin-ghost)
\tF6 = player-panel
\tF7 = admin-pm