mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-14 10:23:17 +02:00
155 lines
5.2 KiB
Lua
155 lines
5.2 KiB
Lua
-- config.lua
|
|
-- Configuration Options
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Messages
|
|
--------------------------------------------------------------------------------
|
|
|
|
WELCOME_MSG = "Welcome to Oarc's server! Follow @_Oarc_ for server updates."
|
|
GAME_MODE_MSG = "In the current game mode, a satellite must be launched from the rocket silo to the far east to win!"
|
|
-- GAME_MODE_MSG = "The current game mode is just basic vanilla!"
|
|
MODULES_ENABLED = "Mods Enabled: Separate Spawns, RSO, Gravestone Chests"
|
|
-- MODULES_ENABLED = "Mods Enabled: Gravestone-Chests"
|
|
|
|
|
|
WELCOME_MSG1 = "Rules: Be polite. Ask before changing other players's stuff. Have fun!"
|
|
WELCOME_MSG2 = "This server is running a custom scenario that changes spawn locations."
|
|
WELCOME_MSG3 = "Due to the way this scenario works, it may take some time for the land"
|
|
WELCOME_MSG4 = "around your new spawn area to generate..."
|
|
WELCOME_MSG5 = "Please wait for 10-20 seconds when you select your first spawn."
|
|
WELCOME_MSG6 = "Contact: SteamID:Oarc | Twitter:@_Oarc_ | oarcinae@gmail.com"
|
|
|
|
|
|
SPAWN_MSG1 = "Current Spawn Mode: HARDCORE WILDERNESS (Still in BETA)"
|
|
SPAWN_MSG2 = "In this mode, there is no default spawn. Everyone starts in the wild!"
|
|
SPAWN_MSG3 = "Resources are spread out far apart but are quite rich."
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Module Enables
|
|
-- These enables are not fully tested! For example, disable separate spawns
|
|
-- will probably break the frontier rocket silo mode
|
|
--------------------------------------------------------------------------------
|
|
|
|
-- Separate spawns
|
|
FRONTIER_ROCKET_SILO_MODE = true
|
|
|
|
-- Frontier style rocket silo mode
|
|
ENABLE_SEPARATE_SPAWNS = true
|
|
|
|
-- Enable Scenario version of RSO
|
|
ENABLE_RSO = true
|
|
|
|
-- Enable Gravestone Chests
|
|
ENABLE_GRAVESTONE_CHESTS = true
|
|
|
|
-- Enable Undecorator
|
|
ENABLE_UNDECORATOR = true
|
|
|
|
-- Enable Tags
|
|
ENABLE_TAGS = true
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Spawn Options
|
|
--------------------------------------------------------------------------------
|
|
|
|
---------------------------------------
|
|
-- Distance Options
|
|
---------------------------------------
|
|
-- Near Distance in chunks
|
|
NEAR_MIN_DIST = 25 --50
|
|
NEAR_MAX_DIST = 100 --125
|
|
--
|
|
-- Far Distance in chunks
|
|
FAR_MIN_DIST = 100 --50
|
|
FAR_MAX_DIST = 200 --125
|
|
--
|
|
---------------------------------------
|
|
-- Resource Options
|
|
---------------------------------------
|
|
|
|
-- Start resource amounts
|
|
START_IRON_AMOUNT = 1500
|
|
START_COPPER_AMOUNT = 1500
|
|
START_STONE_AMOUNT = 1500
|
|
START_COAL_AMOUNT = 1500
|
|
START_OIL_AMOUNT = 30000
|
|
|
|
|
|
---------------------------------------
|
|
-- Safe Spawn Area Options
|
|
---------------------------------------
|
|
|
|
-- Safe area has no aliens
|
|
-- +/- this in x and y direction
|
|
SAFE_AREA_TILE_DIST = CHUNK_SIZE*8
|
|
|
|
-- Warning area has reduced aliens
|
|
-- +/- this in x and y direction
|
|
WARNING_AREA_TILE_DIST = CHUNK_SIZE*16
|
|
|
|
-- 1 : X (spawners alive : spawners destroyed) in this area
|
|
WARN_AREA_REDUCTION_RATIO = 15
|
|
|
|
-- Create a circle of land area for the spawn
|
|
ENFORCE_LAND_AREA_TILE_DIST = 40
|
|
|
|
|
|
---------------------------------------
|
|
-- Other Forces/Teams Options
|
|
---------------------------------------
|
|
|
|
-- I am not currently implementing other teams. It gets too complicated.
|
|
-- Enable if people can join their own teams
|
|
-- ENABLE_OTHER_TEAMS = false
|
|
|
|
-- Main force is what default players join
|
|
MAIN_FORCE = "main_force"
|
|
|
|
-- Enable if people can spawn at the main base
|
|
ENABLE_DEFAULT_SPAWN = false
|
|
|
|
|
|
---------------------------------------
|
|
-- Special Action Cooldowns
|
|
---------------------------------------
|
|
RESPAWN_COOLDOWN_TICKS = TICKS_PER_SECOND * 60 * 60
|
|
|
|
-- Require playes to be online for at least 5 minutes
|
|
-- Else their character is removed and their spawn point is freed up for use
|
|
MIN_ONLINE_TIME = TICKS_PER_SECOND * 60 * 5
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Alien Options
|
|
--------------------------------------------------------------------------------
|
|
|
|
-- Enable/Disable enemy expansion
|
|
ENEMY_EXPANSION = false
|
|
|
|
-- Divide the alien factors by this number to reduce it (or multiply if < 1)
|
|
ENEMY_POLLUTION_FACTOR_DIVISOR = 15
|
|
ENEMY_DESTROY_FACTOR_DIVISOR = 5
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Frontier Rocket Silo Options
|
|
--------------------------------------------------------------------------------
|
|
|
|
SILO_CHUNK_DISTANCE_X = 250
|
|
SILO_DISTANCE_X = SILO_CHUNK_DISTANCE_X*CHUNK_SIZE + CHUNK_SIZE/2
|
|
SILO_DISTANCE_Y = 16
|
|
|
|
-- Should be in the middle of a chunk
|
|
SILO_POSITION = {x = SILO_DISTANCE_X, y = SILO_DISTANCE_Y}
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Use rso_config and rso_resourece_config for RSO config settings
|
|
--------------------------------------------------------------------------------
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- DEBUG
|
|
--------------------------------------------------------------------------------
|
|
|
|
-- DEBUG prints for me
|
|
global.oarcDebugEnabled = false |