Summary: have_huts never set => scenario load/save cycles
keep adding more huts
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Fri Dec 13 19:48:56 2013
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.4.1
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 



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

Reply via email to