URL:
  <http://gna.org/bugs/?21345>

                 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: 

    _______________________________________________________

Details:

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
saved).

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:

  <http://gna.org/bugs/?21345>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to