mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
add config option to disable away missions, remove invalid AI name
This commit is contained in:
@@ -159,6 +159,8 @@
|
||||
var/allow_holidays = 0
|
||||
var/player_overflow_cap = 0 //number of players before the server starts rerouting
|
||||
var/list/overflow_whitelist = list() //whitelist for overflow
|
||||
|
||||
var/disable_away_missions = 0 // disable away missions
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = subtypesof(/datum/game_mode)
|
||||
@@ -516,6 +518,9 @@
|
||||
|
||||
if("overflow_server_url")
|
||||
config.overflow_server_url = value
|
||||
|
||||
if("disable_away_missions")
|
||||
config.disable_away_missions = value
|
||||
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
@@ -39,8 +39,9 @@ datum/controller/game_controller/New()
|
||||
datum/controller/game_controller/proc/setup()
|
||||
world.tick_lag = config.Ticklag
|
||||
|
||||
spawn(20)
|
||||
createRandomZlevel()
|
||||
if(!config.disable_away_missions)
|
||||
spawn(20)
|
||||
createRandomZlevel()
|
||||
|
||||
setup_objects()
|
||||
setup_starlight()
|
||||
|
||||
@@ -282,4 +282,7 @@ STARLIGHT 0
|
||||
PLAYER_REROUTE_CAP 0
|
||||
|
||||
## Server to reroute to
|
||||
#OVERFLOW_SERVER_URL byond://example.org:1111
|
||||
#OVERFLOW_SERVER_URL byond://example.org:1111
|
||||
|
||||
## Disable the loading of away missions
|
||||
DISABLE_AWAY_MISSIONS 0
|
||||
@@ -1,5 +1,4 @@
|
||||
1-Rover-1
|
||||
16-20
|
||||
7-Zark-7
|
||||
790
|
||||
AM
|
||||
|
||||
Reference in New Issue
Block a user