Central Rails

by adamius

Central set of rails auto-generated as you explore so you can easily build your base along it. It provides rails, signals, power, wiring and concrete automatically. Other than that it is up to you to build crossings and everything else.

5 months ago
0.17 - 0.18
3086

Changelog

Version: 0.18.2
Date: 28. 2. 2020
  Bugfixes:
    - check for missing collision_mask key (new in Factorio 0.18.37) after Wube removed it.
Version: 0.18.1
Date: 28. 2. 2020
  Changes:
    - setting: centre spacing limit increased to 64
    - upon on_chunk_deleted, reapply central rails
    - confirm that EW is default enabled but NS is default disabled.
    - reordered settings for clarity

  Bugfixes:
    - changing the y coord for EW to odd values screws up signal placement but not wiring etc. looks like the y coords need to be divisible by 2 to allow rail grid positioning. Setting now has description. Mod settings applier now rounds up.
    - changing the x coord for NS to odd values screws up signal placement but not wiring etc. looks like the x coords need to be divisible by 2 to allow rail grid positioning. Setting now has description. Mod settings applier now rounds up.

  Defects:
    - landfill if needed doesn't work, yet
    - when the EW lines and NS lines cross, the intersections have messy signalling because the signalling logic doesn't know about the other lines. eg EW doesn't know about NS.
    - if EW line coorinates are too close then their overlaps create "undefined" results, eg signals from one line on rails of another. A warning might help the less observant. (Also impacts NS) This is not the same defect as the NS and EW lines crossing but the results are similar.

  Todo:
    - send event when EW and NS designs completed
    - send other events
Version: 0.18.0
Date: 17. 2. 2020
  Changes:
    - complete engine rewrite for performance and extensibility
    - setting: powerpoles - choice of powerpole. This is to enable future support for detecting modded powerpoles.
    - removed setting: substations
    - thumbnail resized
    - change of license
  Defects:
    - landfill if needed doesn't work, yet
    - line cross-overs have messy signalling
    - not providing a coordinate for EW or NS is currently... less good.
  Todo:
    - emit events before and after chunk generated.
    - emit event after central rails has applied new chunk
    - backport to factorio 0.17.x
Version: 0.0.12
Date: 29. 12. 2019
  Added:
    - setting: enable EW lines
    - setting: EW lines Y coordinates
    - setting: enable NS lines
    - setting: NS lines X coordinates 
  Removed:
    - setting: north/south orientation as well as east/west
    - performance issues, slow code
  Todo:
    - consider crossings and fix up signalling
    - emit event to registered listeners upon after_chunk_cleared. called before rails installed but after decorations, trees cleared.
    - emit event to registered listeners upon after_chunk_modified. called after rails installed.
Version: 0.0.11
Date: 29. 12. 2019
  Added:
    - setting: choice of substation as power pole
    - preliminary support for other power poles
    - setting: north/south orientation as well as east/west
  Bugfixes:
    - minor performance fixes
  Todo:
    - discover other mods at runtime and adjust accordingly. eg dectorio-like mods should be detected automagically.
    - move entire resource patch north or south off the central rails
Version: 0.0.10
Date: 29. 11. 2019
  Added:
    - setting: power pole spacing maximum distance raised to 32. default 30.
    - data: modified big-electric-pole maximum_wire_distance to 32
    - setting: rail signal spacing. allows for configuration of how far apart rail signals are.
Version: 0.0.9
Date: 23. 05. 2019
  Added:
    - setting: land fill generation as option (default:ON)
    - setting: land fill only as needed (default: ON)
    - sample tiles under central rails for the chunk BEFORE asserting more tiles. eg if sand-1 is common then use that instead of grass-1 
    - surface exclusion: factorissimo
    - surface exclusion: space exploration
    - surface exclusion: subterra
  Bugfixes:
    - creating tiles at edges now works better for grass-1 and friends
Version: 0.0.8
Date: 17. 05. 2019
  Added:
    - support for Beautiful Bridge Railway
    - support for Junk Train
    - support for Color Coding
    - setting: center spacing (default: 4)
Version: 0.0.7
Date: 11. 05. 2019
  Added:
    - support for Dectorio
    - support for Concreted Rails
Version: 0.0.6
Date: 09. 05. 2019
  Bugfixes:
    - fixed issue with power poles and odd numbered spacing
Version: 0.0.5
Date: 05. 05. 2019
  Added:
    - setting: configurable power pole spacing
  Bugfixes:
    - fixed northern floor (concrete and landfill under signals)
    - expanded clear zone north and south
    - put central_rail runtime settings into the global to support load/save of worlds *cough*
Version: 0.0.4
Date: 04. 05. 2019
  Added:
    - landfill under rails and signals
    - setting: choice of floor type including none, stone-path, concrete, refined concrete, hazard concrete, refined hazard concrete
    - setting: red/green wiring for long distance circuit signal networks
    - setting: configurable number of rails
    - setting: configurable RHD or LHD
    - setting: nauvis only (this is to vaguely support mods like Space Exploration)
Version: 0.0.3
Date: 25. 04. 2019
  Bugfixes:
    - bug fixes
Version: 0.0.2
Date: 25. 04. 2019
  Added:
    - removed rocks
    - power poles
    - signalling
Version: 0.0.1
Date: 25. 04. 2019
  Added:
    - concrete
    - remove enemies
    - remove trees
    - destructible rails