Make enum type conversion explicit.
[freeciv.git] / data / stub / governments.ruleset
blob72bdac01f4fc67133cc69faedbe431f9d5fd4a36
1 ; This is minimal governments ruleset. Replace <modpack> with your module name in
2 ; description.
4 [datafile]
5 description="<modpack> governments data for Freeciv"
6 options="+Freeciv-ruleset-Devel-2017.Jan.02"
7 format_version=20
9 [governments]
10 during_revolution = "Anarchy"
12 ; /* <-- avoid gettext warnings
14 ; Below: The individual government types, one per section.
16 ; The actual tag used (the * in [government_*]) does not matter, except
17 ; it must be unique within this file, and it may be used in debug
18 ; output when reading this file.
20 ; For the "official" rulesets, the order of these sections should not
21 ; be changed because that would break backward compatability with
22 ; savegames.  (In particular, if Fundamentalism is added to default
23 ; ruleset, should be added at end.)
25 ; Notes on fields:
27 ; name         = translatable name as seen by user
28 ; rule_name    = (optional) name for savegames, rulesets etc; if not
29 ;                present, 'name' is used. Since the name used in savegames
30 ;                must not change, use this when renaming a government after a
31 ;                ruleset has been released.
32 ; reqs         = requirements for this government (see README.effects)
33 ; graphic      = tag specifing preferred graphic
34 ; graphic_alt  = alternate graphics tag if preferred is not found;
35 ;                should be a standard tag if preferred is not;
36 ;                otherwise may be "-"
37 ; ai_better    = AI will not consider this government for use if the
38 ;                government listed here is available
39 ; ruler_titles = ruler titles by nation, "-" is default, and non-matched
40 ;                nations are ignored
41 ; helptext     = optional help text string; should escape all raw newlines
42 ;                so that xgettext parsing works
44 ; */ <-- avoid gettext warnings
46 ;------------------------------------------------------------------------
47 [government_anarchy]
49 name        = _("Anarchy")
50 ; No reqs
51 graphic     = "gov.anarchy"
52 graphic_alt = "-"
54 ruler_male_title = _("Usurper %s")
55 ruler_female_title = _("?female:Usurper %s")
57 helptext = _("\
58 Anarchy happens between government changes.\
61 ;------------------------------------------------------------------------
62 [government_generic]
64 name        = _("Generic")
65 reqs =
66    { "type", "name", "range"
67 ; No requirements
68    }
69 graphic     = "gov.despotism"
70 graphic_alt = "-"
72 ruler_male_title = _("Leader %s")
73 ruler_female_title = _("Leader %s")
75 helptext = _("\
76   This is the only available form of government.\
79 ; /* <-- avoid gettext warnings
81 ; Multipliers (aka policies)
83 ; name                    = translatable name as seen by user
84 ; rule_name               = (optional) name for savegames, rulesets etc; if not
85 ;                           present, 'name' is used. Since the name used in
86 ;                           savegames must not change, use this when renaming
87 ;                           a multiplier after a ruleset has been released.
88 ; default                 = default value (as presented in UI)
89 ; start                   = minimum value (as presented in UI)
90 ; stop                    = maximum value (as presented in UI)
91 ; step                    = minimum increase/decrease (as presented in UI)
92 ; offset                  = offset/factor control how UI values are turned
93 ; factor                  = into effect values for use in effects.ruleset.
94 ;                           effect_value = (ui_value + offset) * (factor/100)
95 ;                           Optional; by default offset=0, factor=100, so
96 ;                           that UI values are used as-is.
97 ; helptext                = optional help text string; should escape all raw
98 ;                           newlines so that xgettext parsing works
100 ; */ <-- avoid gettext warnings