Summary: have_huts never set => scenario load/save cycles
keep adding more huts
Submitted by: jtn
Submitted on: Fri Dec 13 19:48:56 2013
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: Any
There's a variable map.server.have_huts that, if set, prevents generating huts
(make_huts()) when starting a game.
Unlike the equivalent have_resources / add_resources(), the function that adds
huts does not set the variable. In fact the only way I can see that it gets
set is if a savegame has "map.have_huts" set or absent (and it's always
Thus, if one creates a scenario by starting a game with settings that generate
huts, and does "Save Scenario" (saving huts on the map), then when the
scenario is loaded to play then more huts will be generated; and if you do
repeated load / scenario-save cycles as part of developing a scenario, you'll
keep getting more huts.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list