URL: <http://gna.org/bugs/?20038>
Summary: Transform to water Project: Freeciv Submitted by: jtn Submitted on: Wed Aug 8 22:44:09 2012 Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: 2.5.0 _______________________________________________________ Details: 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 ocean. 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 in modpacks)? ** 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: <http://gna.org/bugs/?20038> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev