mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Merge pull request #15812 from Shadowlight213/secborgremoval
Adds a config option to disable the security cyborg module.
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user