mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-17 21:08:08 +02:00
Load apocalypse
This commit is contained in:
parent
7c29683b2e
commit
0155498a20
10
config.lua
10
config.lua
@ -41,7 +41,7 @@ global.config = {
|
||||
},
|
||||
-- time before a player gets the auto-trusted rank, allowing them access to the deconstructions planner, nukes, etc.
|
||||
rank_system = {
|
||||
time_for_trust = 3*60*60*60, -- 3 hours
|
||||
time_for_trust = 3 * 60 * 60 * 60, -- 3 hours
|
||||
everyone_is_regular = false
|
||||
},
|
||||
-- saves players' lives if they have a small-plane in their inventory, also adds the small-plane to the market and must therefor be loaded first
|
||||
@ -93,7 +93,6 @@ global.config = {
|
||||
-- the coordinates at which the standard market will be created
|
||||
standard_market_location = {x = 0, y = -5},
|
||||
currency = currency,
|
||||
|
||||
-- defines the chance that killing an entity will drop coins and the min and max it can drop upon death
|
||||
entity_drop_amount = {
|
||||
['biter-spawner'] = {low = 5, high = 15, chance = 1},
|
||||
@ -101,7 +100,6 @@ global.config = {
|
||||
['small-worm-turret'] = {low = 2, high = 8, chance = 1},
|
||||
['medium-worm-turret'] = {low = 5, high = 15, chance = 1},
|
||||
['big-worm-turret'] = {low = 10, high = 20, chance = 1},
|
||||
|
||||
-- default is 0, no chance of coins dropping from biters/spitters
|
||||
['small-biter'] = {low = 1, high = 5, chance = 0},
|
||||
['small-spitter'] = {low = 1, high = 2, chance = 0},
|
||||
@ -274,7 +272,7 @@ global.config = {
|
||||
enabled = true
|
||||
},
|
||||
-- sets the day/night cycle or a fixed light level. use_day_night_cycle and use_fixed_brightness are mutually exclusive
|
||||
day_night ={
|
||||
day_night = {
|
||||
-- enables/disables the module
|
||||
enabled = false,
|
||||
-- for info on day/night cycles see https://github.com/Refactorio/RedMew/wiki/Day-Night-cycle
|
||||
@ -289,6 +287,10 @@ global.config = {
|
||||
-- brightness is a number between 0.15 and 1
|
||||
use_fixed_brightness = false,
|
||||
fixed_brightness = 0.5
|
||||
},
|
||||
-- enables a command which allows for an end-game event
|
||||
apocalypse = {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -82,6 +82,9 @@ end
|
||||
if config.day_night.enabled then
|
||||
require 'map_gen.shared.day_night'
|
||||
end
|
||||
if config.apocalypse.enabled then
|
||||
require 'features.apocalypse'
|
||||
end
|
||||
|
||||
-- GUIs
|
||||
-- The order determines the order they appear from left to right.
|
||||
|
Loading…
x
Reference in New Issue
Block a user