Rail fix

by Pi-C

Factorio 0.17.75 broke many mods that introduce new types of rail tracks. This mod makes sure they have set the required collision mask in order to prevent game crashes. It is meant as a temporary universal fix until the other mods have been updated.

8 months ago
0.17
665
Owner:
Pi-C
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
8 months ago
Latest Version:
0.17.3 (8 months ago)
Factorio version:
0.17
Downloaded:
665 times

Factorio 0.17.75 broke many mods that create new rails, resulting in crashes. This mod makes sure that all rails have a valid collision_mask.

How does it work?

This mod checks all entities of the types "curved-rail" and "straight-rail". It makes sure
- that the entity's collision mask contains "object-layer", and
- that the collision mask does not contain "not-colliding-with-itself".

You don't have to do anything but loading this mod.

Tested with these mods:

  • Bio Industries (fixed there in version 0.17.34)
  • Cargo Ships (fixed there in version 0.0.48)
  • Rail Types
  • Space Exploration
  • Tiny Trains