Project

General

Profile

Feature #395 » 0056-Granularity-Add-Monarchy.patch

main - Marko Lindqvist, 04/02/2024 07:53 PM

View differences:

data/granularity/actions.ruleset
"UnitState", "OnLivableTile", "Local", TRUE
"MinMoveFrags", "5", "Local", TRUE
"Gov", "Despotism", "Player", TRUE
"MinCities", "10", "Player", FALSE
}
target_reqs =
{ "type", "name", "range", "present"
"TerrainFlag", "NoCities", "Tile", FALSE
}
[actionenabler_found_city_monarchy]
action = "Found City"
actor_reqs =
{ "type", "name", "range", "present"
"UnitFlag", "Cities", "Local", TRUE
"UnitState", "OnLivableTile", "Local", TRUE
"MinMoveFrags", "5", "Local", TRUE
"Gov", "Monarchy", "Player", TRUE
}
target_reqs =
{ "type", "name", "range", "present"
......
"DiplRel", "War", "Local", TRUE
"MinMoveFrags", "1", "Local", TRUE
"Gov", "Despotism", "Player", TRUE
"MinCities", "10", "Player", FALSE
}
target_reqs =
{ "type", "name", "range", "present"
"MaxUnitsOnTile", "0", "Tile", TRUE
}
[actionenabler_conquer_city_monarchy]
action = "Conquer City"
actor_reqs =
{ "type", "name", "range", "present"
"UnitClassFlag", "CanOccupyCity", "Local", TRUE
"UnitFlag", "NonMil", "Local", FALSE
"DiplRel", "War", "Local", TRUE
"MinMoveFrags", "1", "Local", TRUE
"Gov", "Monarchy", "Player", TRUE
}
target_reqs =
{ "type", "name", "range", "present"
data/granularity/governments.ruleset
helptext = _("\
Anarchy happens between government changes. \
No new cities can be aqcuired during anarchy.\
No new cities can be acquired during anarchy.\
")
;------------------------------------------------------------------------
......
name = _("Despotism")
reqs =
{ "type", "name", "range"
{ "type", "name", "range"
"Tech", "Government", "Player"
}
graphic = "gov.despotism"
......
helptext = _("\
Compared to tribalism, despotism gives some more power to the leader. \
It's possible to control more than five cities.\
It's possible acquire up to ten cities.\
")
;------------------------------------------------------------------------
[government_monarchy]
name = _("Monarchy")
reqs =
{ "type", "name", "range"
"Tech", "Monarchy", "Player"
}
graphic = "gov.monarchy"
graphic_alt = "-"
ruler_male_title = _("King %s")
ruler_female_title = _("?female:Queen %s")
helptext = _("\
It's possible to acquire more than ten cities.\
")
; /* <-- avoid gettext warnings
data/granularity/techs.ruleset
graphic_alt = "-"
;helptext =
[advance_monarchy]
name = _("Monarchy")
req1 = "Diplomacy"
req2 = "Currency"
flags = ""
graphic = "a.monarchy"
graphic_alt = "-"
;helptext =
[advance_plow]
name = _("Plow")
req1 = "Agriculture"
(1-1/2)