Summary: Extra category
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 07 Sep 2013 01:30:39 AM EEST
                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.6.0



Add categories for extras. The category controls how UI presents the extra to
user. Currently this affects where extra name appears on tile info tooltip -
"Natural" extras appear together with terrain type, "Bonus" extras have their
own line, "Infra" extras are listed separately, "Nuisance" extras after tile
production. Rulesets have been updated so that they produce result identical
to old hardcoded one, except that Ruins are bonus extra, not infrastructure
one. Previously Ruins was considered infrastructure as it's a base.

Also made "hidden_by" to work between any two extras, not just between two
road types. In all rulesets this is used to hide "Irrigation" when "Farmland"
is present. Note that for extras other than roads this affects only tooltip
text, not sprites drawn.


File Attachments:

Date: Sat 07 Sep 2013 01:30:39 AM EEST  Name: ExtraCategory.patch.bz2  Size:
8kB   By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to