I created a mod, that adds an entity that is placeable on water and contains:
oil_rig.collision_mask = {'ground-tile', 'object-layer', "player-layer"}
the addition of "player-layer" to the collision mask lead to me receiving multiple bug reports from users, that the entity is not placeable anymore. I tested the mod with the latest stable and experimental versions, and did not run in a similar issue.
Now i am at a complete loss: I can't reproduce the issue and do not know what could be causing it. Does anybody have an idea how 'player-level' could interfere with the entity being placeable?
collision_mask ={player-level, ...} makes entity unplaceabel
-
- Inserter
- Posts: 20
- Joined: Tue May 01, 2018 3:29 pm
- Contact:
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: collision_mask ={player-level, ...} makes entity unplaceabel
All water tiles collide with the player-layer because the player can't swim. Not sure how you manage to not reproduce that from the description. Unless you have mods that enable swimming and thus probably remove the player-layer from water tiles...