By a lot of tiles you can find collision_mask, for example by water tile is:
Code: Select all
collision_mask =
{
"water-tile",
"item-layer",
"resource-layer",
"player-layer",
"doodad-layer"
}
Code: Select all
collision_mask = {"ground-tile"}
Code: Select all
place_as_tile =
{
result = "concrete",
condition_size = 1,
condition = { "water-tile" }
}
How to make that so, that you can't replace one tile with another?