Skip to content

Commit

Permalink
Добавлен Build Mod на F8
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalFaceLesS committed Apr 13, 2024
1 parent a56a3c9 commit bfa3d7d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
18 changes: 9 additions & 9 deletions code/modules/keybindings/admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
user.holder?.player_panel_new()
return TRUE

/datum/keybinding/admin/admin_pm
hotkey_keys = list("F8")
name = "admin_pm"
full_name = "Admin PM"
description = "Sends Admin PM message"

/datum/keybinding/admin/admin_pm/down(client/user)
user.cmd_admin_pm_panel()
return TRUE
// /datum/keybinding/admin/admin_pm # Celadon Changes => mod_celadon\_components\code\keybinds.dm
// hotkey_keys = list("F8")
// name = "admin_pm"
// full_name = "Admin PM"
// description = "Sends Admin PM message"

// /datum/keybinding/admin/admin_pm/down(client/user)
// user.togglebuildmodeself()
// return TRUE

/datum/keybinding/admin/invisimin
hotkey_keys = list("F9")
Expand Down
10 changes: 10 additions & 0 deletions mod_celadon/_components/code/keybinds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@

set_macros()
to_chat(src, SPAN_WARNING("Перерегистрация макросов выполнена. Если не сработало, убедитесь что раскладка переключена на английский язык."))

/datum/keybinding/admin/admin_pm
hotkey_keys = list("F8")
name = "build_mod"
full_name = "Build Mod"
description = "Change Build Mod"

/datum/keybinding/admin/admin_pm/down(client/user)
user.togglebuildmodeself()
return TRUE

0 comments on commit bfa3d7d

Please sign in to comment.