Comment 1 for bug 1505345

Revision history for this message
kaputtnik (franku) wrote :

In the world/terrains/init.lua all terrains types are defined. Here we have the values "valid_resources" and "is". Some (or all?) valid resources are related to the is value. F.e.

"valid_resource" = "fish" AND "is" = "impassable"

could be defined, but the value for "valid_resource" take no effect.

Maybe it would be a good thing to make the "valid_resources" values independent form the "is" value. So the "is" value has only effects on buildability and walkability (which are really related to each other, f.e. a arable terrain has to be walkable, and water couldn't be walkable but navigable).

If this a good idea, may the "is" value should be renamed to "accessibility" or something more descriptive.