mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
ports TGMCs click hack for non-hotkey players ports classic keybinds from TGMC (#47670)
About The Pull Request Ports tgstation/TerraGov-Marine-Corps#2977, overrides click proc to return focus back to chat bar using winsets also ports tgstation/TerraGov-Marine-Corps#1904 which has two sets of defaults for hotkey and classic mode fixes #47672 fixes #47659 much credit to @Rohesie and the TGMC team for a bunch of these improvements Why It's Good For The Game lets the non-hotkey players walk and talk again Changelog cl add: Custom keybinds will now check what style (classic / hotkey) you prefer when resetting if you use classic mode make sure to reset your keybinds to default! add: multiple keybind support tweak: non-hotkey mode keeps focus on chat fix: pressing 4 as cyborg now properly cycles fix: AI location hotkeys now work again /cl
This commit is contained in:
@@ -1,40 +1,40 @@
|
||||
/datum/keybinding/admin
|
||||
category = CATEGORY_ADMIN
|
||||
weight = WEIGHT_ADMIN
|
||||
category = CATEGORY_ADMIN
|
||||
weight = WEIGHT_ADMIN
|
||||
|
||||
|
||||
/datum/keybinding/admin/admin_say
|
||||
key = "F3"
|
||||
name = "admin_say"
|
||||
full_name = "Admin say"
|
||||
description = "Talk with other admins."
|
||||
hotkey_keys = list("F3")
|
||||
name = "admin_say"
|
||||
full_name = "Admin say"
|
||||
description = "Talk with other admins."
|
||||
|
||||
/datum/keybinding/admin/admin_say/down(client/user)
|
||||
user.get_admin_say()
|
||||
return TRUE
|
||||
user.get_admin_say()
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/admin_ghost
|
||||
key = "F5"
|
||||
name = "admin_ghost"
|
||||
full_name = "Aghost"
|
||||
description = "Go ghost"
|
||||
hotkey_keys = list("F5")
|
||||
name = "admin_ghost"
|
||||
full_name = "Aghost"
|
||||
description = "Go ghost"
|
||||
|
||||
/datum/keybinding/admin/admin_ghost/down(client/user)
|
||||
user.admin_ghost()
|
||||
return TRUE
|
||||
user.admin_ghost()
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/player_panel_new
|
||||
key = "F6"
|
||||
name = "player_panel_new"
|
||||
full_name = "Player Panel New"
|
||||
description = "Opens up the new player panel"
|
||||
hotkey_keys = list("F6")
|
||||
name = "player_panel_new"
|
||||
full_name = "Player Panel New"
|
||||
description = "Opens up the new player panel"
|
||||
|
||||
/datum/keybinding/admin/player_panel_new/down(client/user)
|
||||
user.holder.player_panel_new()
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/toggle_buildmode_self
|
||||
key = "F7"
|
||||
hotkey_keys = list("F7")
|
||||
name = "toggle_buildmode_self"
|
||||
full_name = "Toggle Buildmode Self"
|
||||
description = "Toggles buildmode"
|
||||
@@ -44,7 +44,7 @@
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/stealthmode
|
||||
key = "Ctrl-F8"
|
||||
hotkey_keys = list("CtrlF8")
|
||||
name = "stealth_mode"
|
||||
full_name = "Stealth mode"
|
||||
description = "Enters stealth mode"
|
||||
@@ -54,7 +54,7 @@
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/invisimin
|
||||
key = "F8"
|
||||
hotkey_keys = list("F8")
|
||||
name = "invisimin"
|
||||
full_name = "Admin invisibility"
|
||||
description = "Toggles ghost-like invisibility (Don't abuse this)"
|
||||
@@ -64,7 +64,7 @@
|
||||
return TRUE
|
||||
|
||||
/datum/keybinding/admin/deadsay
|
||||
key = "F10"
|
||||
hotkey_keys = list("F10")
|
||||
name = "dsay"
|
||||
full_name = "deadsay"
|
||||
description = "Allows you to send a message to dead chat"
|
||||
|
||||
Reference in New Issue
Block a user