diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index 83e6760711..c9dfd7cf40 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -62,6 +62,9 @@ var/automute_on = 0 //enables automuting/spam prevention var/jobs_have_minimal_access = 0 //determines whether jobs use minimal access or expanded access. + var/cult_ghostwriter = 1 //Allows ghosts to write in blood in cult rounds... + var/cult_ghostwriter_req_cultists = 10 //...so long as this many cultists are active. + var/disable_player_mice = 0 var/uneducated_mice = 0 //Set to 1 to prevent newly-spawned mice from understanding human speech @@ -456,7 +459,7 @@ config.python_path = "python" if("allow_cult_ghostwriter") - config.cult_ghostwriter = value + config.cult_ghostwriter = 1 if("req_cult_ghostwriter") config.cult_ghostwriter_req_cultists = value diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 884b0671ee..3a98893b40 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -65,6 +65,7 @@ var/list/admin_verbs_admin = list( /client/proc/cmd_admin_rejuvenate, /client/proc/toggleattacklogs, /client/proc/toggledebuglogs, + /client/proc/toggleghostwriters, /datum/admins/proc/show_skills, /client/proc/check_customitem_activity, /client/proc/man_up, @@ -724,6 +725,21 @@ var/list/admin_verbs_mod = list( usr << "You now won't get attack log messages" +/client/proc/toggleghostwriters() + set name = "Toggle ghost writers" + set category = "Server" + if(!holder) return + if(config) + if(config.log_hrefs) + config.cult_ghostwriter = 0 + src << "Disallowed ghost writers." + message_admins("Admin [key_name_admin(usr)] has disabled ghost writers.", 1) + else + config.cult_ghostwriter = 1 + src << "Enabled ghost writers." + message_admins("Admin [key_name_admin(usr)] has enabled ghost writers.", 1) + + /client/proc/toggledebuglogs() set name = "Toggle Debug Log Messages" set category = "Preferences"