[0.17.30] "not-colliding-with-itself" acts as global non colliding whitelist
Posted: Sat Apr 13, 2019 10:40 pm
In 0.17.30 the collision mask option "not-colliding-with-itself" has the behaviour of acting as a global whitelist of prototypes that don't collide with any other prototype with the flag. However the name implies that the prototype should only not collide with itself when it has this flag. Tested same behaviour in 16.51.
This has been questioned so raising for an official ruling
To test
This has been questioned so raising for an official ruling

To test
- Modify the file: data\base\prototypes\entity\demo-entities.lua
- Set the collision mask for both the player.player and assembling-machine.assembling-machine-1 to:
Code: Select all
collision_mask = {"object-layer", "player-layer", "train-layer", "consider-tile-transitions", "not-colliding-with-itself"},
- Load a new game and via editor place an Assembly Machine 1 and 2 on the map
- return to play mode and your character can run through the Assembly Machine 1, but not the mk2 version.