KeinNiemand/Factorio-GhostOnWater

Automatically place watertiles under offshore pumps

Closed this issue · 0 comments

Would be usefull feature, but probably not easy to implement
Things that would need to be done:

  1. Detect whter or not any type of water has an item that places it, to enable/disable this feature
  2. If enabled change waterGhost offshore pumps so that they can be placed on land and water, this is non trival due to offshore pump having 3 collision mask and 3 Collison tests (collision tests must be fulfilled while masks collide)
  3. Detect what part of the offshore pump needs to be on water based on collision masks/tests and place ghost water tiles there
    The big problem with this feature is that offshore pumps have so many different masks, the part that should be in water could be defined as either colliding with land or colliding as a collision test that it must be on water.