mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
yeah
name's cringe but that's literally what it is lol
This commit is contained in:
@@ -141,6 +141,7 @@ GLOBAL_PROTECT(admin_verbs_server)
|
||||
/client/proc/forcerandomrotate,
|
||||
/client/proc/adminchangemap,
|
||||
/client/proc/panicbunker,
|
||||
/client/proc/discordbunker, // SPLURT
|
||||
// /client/proc/toggle_interviews,
|
||||
/client/proc/toggle_hub,
|
||||
/client/proc/toggle_cdn
|
||||
@@ -270,6 +271,7 @@ GLOBAL_LIST_INIT(admin_verbs_hideable, list(
|
||||
/proc/release,
|
||||
/client/proc/reload_admins,
|
||||
/client/proc/panicbunker,
|
||||
/client/proc/discordbunker, // SPLURT
|
||||
/client/proc/addbunkerbypass, //CIT
|
||||
/client/proc/revokebunkerbypass, //CIT
|
||||
// /client/proc/toggle_interviews,
|
||||
|
||||
14
modular_splurt/code/modules/admin/verbs/discordbunker.dm
Normal file
14
modular_splurt/code/modules/admin/verbs/discordbunker.dm
Normal file
@@ -0,0 +1,14 @@
|
||||
/client/proc/discordbunker() //TODO: add bunker bypass stuffs
|
||||
set category = "Server"
|
||||
set name = "Toggle Discord Bunker"
|
||||
if(!SSdbcore.IsConnected())
|
||||
to_chat(usr, "<span class='adminnotice'>The Database is not connected/enabled!</span>")
|
||||
return
|
||||
|
||||
var/new_dbun = !CONFIG_GET(flag/need_discord_to_join)
|
||||
CONFIG_SET(flag/need_discord_to_join, new_dbun)
|
||||
|
||||
log_admin("[key_name(usr)] has toggled the Discord Bunker, it is now [new_dbun ? "on" : "off"]")
|
||||
message_admins("[key_name_admin(usr)] has toggled the Discord Bunker, it is now [new_dbun ? "enabled" : "disabled"].")
|
||||
SSblackbox.record_feedback("nested tally", "discord_toggle", 1, list("Toggle Panic Bunker", "[new_dbun ? "Enabled" : "Disabled"]"))
|
||||
send2adminchat("Discord Bunker", "[key_name(usr)] has toggled the Panic Bunker, it is now [new_dbun ? "enabled" : "disabled"].")
|
||||
@@ -4211,6 +4211,7 @@
|
||||
#include "modular_splurt\code\game\object\structures\crates_lockers\crates\wooden.dm"
|
||||
#include "modular_splurt\code\game\turfs\simulated\floor\fancy_floor.dm"
|
||||
#include "modular_splurt\code\game\turfs\simulated\wall\mineral_walls.dm"
|
||||
#include "modular_splurt\code\modules\admin\verbs\discordbunker.dm"
|
||||
#include "modular_splurt\code\modules\admin\verbs\one_click_antag.dm"
|
||||
#include "modular_splurt\code\modules\admin\verbs\randomverbs.dm"
|
||||
#include "modular_splurt\code\modules\antagonists\ashwalker.dm"
|
||||
|
||||
Reference in New Issue
Block a user