This page partially describes the contents of a ruleset collection. It is intended as developer reference and for people wanting to create/compile alternative rulesets for Freeciv.
The anatomy of a governments ruleset file[]
…/data/classic/governments.ruleset
Attribute | Example Content | Explanation | |
---|---|---|---|
name | = | _("Monarchy") | name of this government form as seen by user |
reqs | = | { "type", "name", "range" "tech", "Monarchy", "Player" } |
requirements for this government (see effects.ruleset) |
graphic | = | "gov.monarchy" | tag specifing preferred graphic (see small.spec) |
graphic_alt | = | "-" | alternate graphics tag if preferred is not found |
ai_better | = | "Communism" | AI will not consider this government for use if the government listed here is available |
rule_male_title | = | _("King %s") | Default ruler titles for the government. Note that some nations can have specific ruler titles. %s will be replaced at running time by a player name.
i %s is required only since Freeciv 2.3. Before, player names were always appended to the ruler title. |
rule_female_title | = | _("Queen %s") | |
helptext | = | _("\ Under Monarchy, a king or queen serves as a hereditary figurehead for your government. \n\n Monarchy suffers the same small amount of corruption that the Republic does.") | optional help text string; should escape all raw newlines so that xgettext parsing works |
See also[]
Editing Rulesets |
---|
Editing Buildings • Editing Cities • Editing Effects • Editing Game • Editing Governments Editing Nations • Editing Styles • Editing Techs • Editing Terrain • Editing Units Update from 2.2 to 2.3 • 2.3 to 2.4 • 2.4 to 2.5 • 2.5 to 2.6 • 2.6 to 3.0 • 3.0 to 3.1 •
3.1 to 3.2 • 3.2 to 3.3
|