Oarcinae / FactorioScenarioMultiplayerSpawn

A custom scenario for Factorio which provides each player a unique starting spawn point in a multiplayer game.
MIT License
49 stars 30 forks source link

Is there an easy way to override bridge=true on moat creation? #117

Closed bplein closed 4 years ago

bplein commented 4 years ago

I upgraded to the new 0.18 version and was surprised by the moat bridge creation. Is there an easy way to override this from config.lua vs. hand-editing separate_spans.lua?

Oarcinae commented 4 years ago

Hah yeah... sorry about that. There should be a config for that but at this point there are so many config options I just didn't bother exposing it.

The quick fix is go into separate_spawns.lua and edit this one line: CreateMoat(surface, spawn.pos, chunkArea, global.ocfg.spawn_config.gen_settings.land_area_tiles, "water", true) change it to false

CreateMoat(surface, spawn.pos, chunkArea, global.ocfg.spawn_config.gen_settings.land_area_tiles, "water", false)

This is in the SetupAndClearSpawnAreas function.

bplein commented 4 years ago

Thanks. That's where I found it earlier, and I've done that for now.

I appreciate your quick response.