diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index 1dff0ee6ceb..8a12fd17630 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -92,6 +92,7 @@ var/humans_need_surnames = 0 var/allow_random_events = 0 // enables random events mid-round when set to 1 var/allow_ai = 0 // allow ai job + var/forbid_secborg = 0 // disallow secborg module to be chosen. var/panic_bunker = 0 // prevents new people it hasn't seen before from connecting var/notify_new_player_age = 0 // how long do we notify admins of a new player var/irc_first_connection_alert = 0 // do we notify the irc channel when somebody is connecting for the first time? @@ -517,6 +518,8 @@ config.force_random_names = 1 if("allow_ai") config.allow_ai = 1 + if("disable_secborg") + config.forbid_secborg = 1 if("silent_ai") config.silent_ai = 1 if("silent_borg") diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index 6f3e49d6703..b65a63b1869 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -166,7 +166,11 @@ if(module) return - designation = input("Please, select a module!", "Robot", null, null) in list("Standard", "Engineering", "Medical", "Miner", "Janitor","Service", "Security") + var/list/modulelist = list("Standard", "Engineering", "Medical", "Miner", "Janitor","Service") + if(!config.forbid_secborg) + modulelist += "Security" + + designation = input("Please, select a module!", "Robot", null, null) in modulelist var/animation_length = 0 if(module) diff --git a/config/game_options.txt b/config/game_options.txt index a9340c2ff37..1448674dcd1 100644 --- a/config/game_options.txt +++ b/config/game_options.txt @@ -189,6 +189,11 @@ ALLOW_RANDOM_EVENTS ## Allow the AI job to be picked. ALLOW_AI +### Secborg ### +## Uncomment to prevent the secborg module from being chosen +#DISABLE_SECBORG + + ### AWAY MISSIONS ### ## How long the delay is before the Away Mission gate opens. Default is half an hour.