1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/map_gen/maps/quadrants/settings.lua
Simon 5a45ff1729
Quadrants balance update (#863)
* Fix for hydra worms destroying base

Also include a force disable of research for all quadrants to prevent a save mitigation bug from a factorio version to another.

* Fixed wrong worm tier

* Mapgen settings and market locale

Added mapgen settings based on feedback

Added [retailer] market_name to use in rendering the market name over the market. Key has been added in en, de and da with translations.

Indentation fix

* Fixed floating 'a'

* Fixed global variable

* Updated item to chest

Made it more clear what happens when you cross the border in a train

Also added a GPS coordinate for the spawned chest

* Bug fixes for chests spawn

* Gave buttons uid_name()

* Removed debug statements

* Fixed Item to chest

People think the previous behavior was a glitch so I've changed it to align with their expectations.

Also increased evolution factor from pollution a bit

* fixed game.player

* Added crafting_queue_size check

* Updated enemy settings

* Merged map_settings and mapgen_settings, added wall

* Merged map_settings and mapgen_settings

* Added three toggles to settings, disabled item to chest when traveling in trains

* Game.get_player_by_index converted to game.get_player

* Added charting and removed unused variable 'Game'

* Fixed for 0.17.35
https://forums.factorio.com/70188

* Fix for 0.17.35

* Added comments to force new CI build

* fixed missing player_inventory -> character_inventory
2019-05-03 00:40:45 +02:00

86 lines
2.3 KiB
Lua

local settings = {
features = {
-- handles item to chests for players when the cross rails
train_crossings = {
enabled = false
},
-- places rails across the gaps
train_rails = {
enabled = true
},
-- creates a perimeter of walls around the four quadrants
walls = {
enabled = true
}
},
map = {
enemy_debuff = {
enemy_evolution = {
enabled = true,
time_factor = 0.000002,
destroy_factor = 0.001,
pollution_factor = 0.0000006
},
enemy_expansion = {
enabled = true,
max_expansion_distance = 5,
settler_group_min_size = 5,
settler_group_max_size = 20,
min_expansion_cooldown = 10 * 3600,
max_expansion_cooldown = 90 * 3600
}
}
},
mapgen = {
ores = {
autoplace_controls = {
coal = {
frequency = 2,
richness = 0.25,
size = 0.66
},
['copper-ore'] = {
frequency = 4,
richness = 0.25,
size = 0.5
},
['crude-oil'] = {
frequency = 0.5,
richness = 0.75,
size = 0.66
},
['iron-ore'] = {
frequency = 4,
richness = 0.25,
size = 0.5
},
stone = {
frequency = 1,
richness = 0.25,
size = 0.5
},
['uranium-ore'] = {
frequency = 0.5,
richness = 0.25,
size = 0.5
}
}
},
water = {
terrain_segmentation = 0.5,
water = 0.5
},
enemy = {
autoplace_controls = {
['enemy-base'] = {
frequency = 2,
richness = 1.2,
size = 1.2
}
}
}
}
}
return settings