Page 1 of 1

Water tiles: add a flag that tile can or cannot be landfilled

Posted: Tue Jul 23, 2019 11:18 am
by psihius
Came out of this: viewtopic.php?f=23&t=73570

Since it is not a bug, but intentional, I propose to actually make it a thing so in the editor when crafting maps we are able to make any water tile fillable or non-fillable.
Since shallow water tiles already have a non-fillable setting of some kind and other water tiles clearly can be filled in - maybe it is not too hard to merge that functionality into the actual flag and give players ability to come up with some creative maps :)

Re: Water tiles: add a flag that tile can or cannot be landfilled

Posted: Tue Jul 23, 2019 12:00 pm
by Klonan
I am pretty sure this can already be done with the tile collision masks and the landfill item `condition`

Furthermore, there is nothing inherently special about landfill, compared to other tiles, just the condition and the collision mask of the tiles it interacts with

Adding some special flag to specific tiles just isn't going to happen, tiles are as small as possible for a reason.

Re: Water tiles: add a flag that tile can or cannot be landfilled

Posted: Tue Jul 23, 2019 12:08 pm
by psihius
I did not find how to do it then or I'm confused by the editor. Help? :)

Re: Water tiles: add a flag that tile can or cannot be landfilled

Posted: Tue Jul 23, 2019 12:35 pm
by Klonan
psihius wrote:
Tue Jul 23, 2019 12:08 pm
I did not find how to do it then or I'm confused by the editor. Help? :)
It would need to be with a mod, make a copy of the water tile that cannot be landfilled over.

Re: Water tiles: add a flag that tile can or cannot be landfilled

Posted: Tue Jul 23, 2019 1:09 pm
by psihius
Ah, nodding required. Okay, I though it can be done from.editor vanila style.

Re: Water tiles: add a flag that tile can or cannot be landfilled

Posted: Tue Jul 23, 2019 10:14 pm
by darkfrei
By the mod you can change the collision mask by deep water so, that you cannot fill the deep water with the landfill.