Skip to content

Commit

Permalink
Merge pull request #4 from CPhantasm/adminimprovements
Browse files Browse the repository at this point in the history
Admin Improvements
  • Loading branch information
russ-money authored Aug 12, 2024
2 parents c2877ef + 6b7a9b8 commit 17237b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
25 changes: 12 additions & 13 deletions code/datums/keybinding/admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
category = CATEGORY_ADMIN
weight = WEIGHT_ADMIN

/*
/datum/keybinding/admin/admin_say
hotkey_keys = list("F3")
name = "admin_say"
Expand All @@ -12,7 +11,7 @@
/datum/keybinding/admin/admin_say/down(client/user)
user.get_admin_say()
return TRUE
/datum/keybinding/admin/admin_ghost
hotkey_keys = list("F5")
name = "admin_ghost"
Expand All @@ -33,16 +32,6 @@
user.holder.player_panel_new()
return TRUE

/datum/keybinding/admin/toggle_buildmode_self
hotkey_keys = list("F7")
name = "toggle_buildmode_self"
full_name = "Toggle Buildmode Self"
description = "Toggles buildmode"
/datum/keybinding/admin/toggle_buildmode_self/down(client/user)
user.togglebuildmodeself()
return TRUE
/datum/keybinding/admin/stealthmode
hotkey_keys = list("CtrlF8")
name = "stealth_mode"
Expand All @@ -52,6 +41,16 @@
/datum/keybinding/admin/stealthmode/down(client/user)
user.stealth()
return TRUE
/*
/datum/keybinding/admin/toggle_buildmode_self
hotkey_keys = list("F7")
name = "toggle_buildmode_self"
full_name = "Toggle Buildmode Self"
description = "Toggles buildmode"
/datum/keybinding/admin/toggle_buildmode_self/down(client/user)
user.togglebuildmodeself()
return TRUE
/datum/keybinding/admin/invisimin
hotkey_keys = list("F8")
Expand All @@ -72,4 +71,4 @@
/datum/keybinding/admin/deadsay/down(client/user)
user.get_dead_say()
return TRUE
*/
*/
2 changes: 1 addition & 1 deletion config/admin_ranks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Exclude =
Edit =

Name = Game Admin
Include = @ STEALTH SOUND DEBUG
Include = @ STEALTH SOUND DEBUG WATCH
Exclude =
Edit =

Expand Down

0 comments on commit 17237b6

Please sign in to comment.