Building on lava tiles
Building on lava tiles
How to allow an entity (with an area larger than one tile) to be built on lava and ground simultaneously, but forbid construction on all other tiles that collide with the water_tile layer?
Re: Building on lava tiles
Take a look at the tile_buildability_rules for the offshore-pump to get started; you need to define multiple rules for the different areas of your entity. It looks like you just need to set lava_tile=true instead of water_tile=true?
Good Luck!
Good Luck!
Re: Building on lava tiles
Thanks for the reply! The main issue is that the lava tile haseugenekay wrote: Tue Jul 07, 2026 12:17 pm Take a look at the tile_buildability_rules for the offshore-pump to get started; you need to define multiple rules for the different areas of your entity. It looks like you just need to set lava_tile=true instead of water_tile=true?
Good Luck!
Code: Select all
water_tileCode: Select all
itemIn short, I want the entity to be placeable on both
Code: Select all
ground_tileCode: Select all
water_tileCode: Select all
lava_tileCode: Select all
itemTo put it roughly in pseudocode:
- ALLOW placement if: (lava OR ground)
- FORBID placement if: (ground AND item)
Code: Select all
tile_buildability_rules
