-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
67 lines (47 loc) · 4.09 KB
/
config.lua
File metadata and controls
67 lines (47 loc) · 4.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
require 'defines'
debug_enabled = false
debug_items_enabled = false
region_size = 7 -- alternative mean to control how further away resources would be, default - 256 tiles or 8 chunks
-- each region is region_size*region_size chunks
-- each chunk is 32*32 tiles
starting_area_forces={"red","blue","green","yellow"} --default, regular player force gets a starting area
starting_area_separation=5 --in multiples of starting_area_size
override_normal_spawn = true -- if false then the standard spawner can also spawn full grown resources/entities,
-- set resources you want to control through this config to "None" in worldgen "Size" settings when starting a new game
-- changing of this setting requires game restart, i.e. close game and start it again, not actally a new game
override_type = 'full' -- 'full' - no spawns by game are allowed, 'partially' - very small patches are spawned by world gen
-- changing of this setting requires game restart
use_donut_shapes = false -- setting this to false will remove donuts from possible resource layouts
starting_area_size = 1 -- starting area in regions, safe from random nonsense
absolute_resource_chance = 0.60 -- chance to spawn an resource in a region
starting_richness_mult = 0.75 -- multiply starting area richness for resources
global_richness_mult = 1 -- multiply richness for all resources except starting area
global_size_mult = 1 -- multiply size for all ores, doesn't affect starting area
absolute_enemy_chance = 0.25 -- chance to spawn enemies per sector (can be more then one base if spawned)
enemy_base_size_multiplier = 1 -- all base sizes will be multiplied by this - larger number means bigger bases
multi_resource_richness_factor=0.60 -- any additional resource is multiplied by this value times resources-1
multi_resource_size_factor=0.90
multi_resource_chance_diminish=0.6 -- diminishing effect factor on multi_resource_chance
min_amount=250 -- default value for minimum amount of resource in single pile
richness_distance_factor=0.5 -- exponent for richness distance factor calculation
size_distance_factor=0.1 -- exponent for size distance factor calculation
deterministic = true -- set to false to use system for all decisions math.random
-- mode is no longer used by generation process - it autodetects endless resources
-- endless_resource_mode = false -- if true, the size of each resource is modified by the following modifier. Use with the endless resources mod.
endless_resource_mode_sizeModifier = 0.80
disableEnemyExpansion = false -- allows for disabling of in-game biter base building
disable_RSO_biter_spawning = false -- if true, no biters will be spawned by RSO. Do not use with override_normal_spawn = true, because then no biters will be spawned at all.
biter_ratio_segment=3 --the ratio components determining how many biters to spitters will be spawned
spitter_ratio_segment=1 --eg. 1 and 1 -> equal number of biters and spitters, 10 and 1 -> 10 times as many biters to spitters
useEnemiesInPeaceMod = false -- additional override for peace mod detection - when set to true it will spawn enemies normally, needs to have enemies enabled in peace mod
useStraightWorldMod = false -- enables Straight World mod - actual mod code copied into RSO to make it compatible
ignoreMapGenSettings = false -- stops the default behaviour of reading map gen settings
fluidResourcesFactor = 20 -- temporary factor for calculation of resource %-ages for fluids
--*******************IGNORE RESOURCES**********************************+
-- When RSO finds a resource which is not configured, it prints a message to the user
-- Some mods use resources which are not autoplaced, and thus shouldn't be placed by RSO either.
-- To prevent the warning message, you can add the resource names to this table.
ignoreConfig = {}
ignoreConfig["clover-patch"] = true -- agrimod
ignoreConfig["holes"] = true -- F-MOD
ignoreConfig["greenleaf-ore"] = true -- mofarming