Summary: Transform to water
Submitted by: jtn
Submitted on: Wed Aug 8 22:44:09 2012
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: None
Planned Release: 2.5.0
Currently for land-to-water transformations, as with others, you have to
specify a specific transform_result terrain. This means you can't arrange that
expanding a lake gets you more lake whereas receding a coastline gets you more
Prior to patch #3478 this simply led to discontinuities in water type. Now it
means that any attempt to expand a lake turns the whole thing to Ocean, via
flooding, even if it's still inland.
What you really want is some way of expressing in the ruleset that you want to
transform to an appropriate kind of water, with the exact transformation
depending on the surroundings.
Details to work out:
* How to express this in ruleset?
** transform_result="Water" (potentially clashing with existing terrain name
** just trigger the selection behaviour on any land-to-water transformation,
ignoring the precise transform_to terrain? (Other special behaviour is already
triggered, such as checking for sufficient surrounding water tiles.)
* What to do if multiple "water" types surround tile?
** Obviously in cases where flooding happens, then the flooding type wins.
** Use most_shallow_ocean()?
** Perhaps we want to define a partial order on ocean terrains showing which
wins over and/or floods which, replacing the current fixed one of
!TER_FRESHWATER > TER_FRESHWATER.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list