Need for a new "is" value for shallow water
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Wishlist
|
GunChleoc |
Bug Description
While working on water-like terrains which are impassable for ships (bug 951554) but should be passable for the widelands residents (see https:/
The new value, f.e. "shallow", should have following properties:
1. impassable for ships
2. impassable for onshore critters
3. passable for widelands residents (see below)
4. not arable
5. valid resources: fish
For the third property we also should implement a new type of road: footbridge. Otherwise we will have muddy roads over shallow water... i worked already on such a road image, but its not completed yet.
See also: bug 951554 (impassable water)
Related branches
Changed in widelands: | |
importance: | Undecided → Wishlist |
Changed in widelands: | |
status: | New → Confirmed |
Changed in widelands: | |
assignee: | nobody → GunChleoc (gunchleoc) |
milestone: | none → build20-rc1 |
description: | updated |
Changed in widelands: | |
milestone: | build20-rc1 → build21-rc1 |
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.