Summary: Bases & Terrain(class) changes
Submitted by: cazfi
Submitted on: Tue 16 Aug 2011 11:40:00 PM EEST
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: None
I don't yet know what the exact bug is, but I'm opening this ticket for so we
don't forgot to investigate potential problems that just occurred to me.
I were trying to figure out way to make gen-road terrain requirements and it
turns out to be quite hard. Then it occurred to me that same problems apply to
bases, and I don't remember solving them. Ergo, bases are likely buggy.
Any terrain(class) requirement base has are part of its requirement list that
is checked when base is being built. But what happens if terrain under base is
later changed? If terrain(class) requirement is no longer fulfilled, base
should be removed. But checking that is not easy. We cannot check full
requirement list, as it can contain also things related to unit building the
base and that unit is no longer available for inspection when terrain changes.
I assume there to be some hardcoded behavior in terrain class (land to oceanic
or oceanic to land) changes, which sometimes does right thing, sometimes
completely wrong thing.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list