Daedeross / Subterra

Factorio mod that adds an underground along with specialized structures.
MIT License
9 stars 1 forks source link

Investigate HUD to show possible conflicts when holding a cross-layer item #20

Closed Daedeross closed 5 years ago

Daedeross commented 5 years ago

When a player has in their hand and item that build on two layers (subterra-belt-elevator-*, subterra-telepad-*, or subterra-power-*) show within a moderate radius (~20 tiles?) where there are conflicting entities on the bellow of above layer. If the player is holding a 'down' item, it will show entities on the layer below, if holding an up entity it will show conflicts on the layer above.

Daedeross commented 5 years ago

Seems plausible, needs some more testing for performance. This is what my first whack at it looks like:

427520_screenshots_20190518201519_1

Daedeross commented 5 years ago

This seems to be working well, however with the change to power-transfer, this will need a bit more work for that.