URL:
  <http://gna.org/patch/?3130>

                 Summary: Random disasters module
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 15 Feb 2012 09:13:21 PM EET
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0

    _______________________________________________________

Details:

This patch adds initial version of random disasters module. Disasters are
hardcoded, but data structures are set up in a way that loading them from
ruleset is easy to add in later patch.

- Frequency of disasters is controlled by new server setting "disasters" Once
disasters feature matures a bit, we may enable them by default and explicitly
disable from multiplayer ruleset, but for time being default value of
"disasters" is 0.
- New event type is added for disaster related messages
- There's three hardcoded disasters in this version. Earthquake and Fire
destroy random building from city, Plague reduces population by one
- Each city and each disaster is checked independently. In theory it's
possible that multiple disasters hit same city in same turn




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 15 Feb 2012 09:13:22 PM EET  Name: Disasters.diff  Size: 19kB   By:
cazfi

<http://gna.org/patch/download.php?file_id=15063>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3130>

_______________________________________________
  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