Project

General

Profile

Feature #229 ยป 0031-Granularity-Limit-city-founding-and-conquest-by-gove.patch

Marko Lindqvist, 02/04/2024 07:39 PM

View differences:

data/granularity/actions.ruleset
"NationGroup", "Barbarian", "Player", FALSE
}
[actionenabler_found_city]
[actionenabler_found_city_tribal]
action = "Found City"
actor_reqs =
{ "type", "name", "range"
"UnitFlag", "Cities", "Local"
"UnitState", "OnLivableTile", "Local"
"MinMoveFrags", "5", "Local"
{ "type", "name", "range", "present"
"UnitFlag", "Cities", "Local", TRUE
"UnitState", "OnLivableTile", "Local", TRUE
"MinMoveFrags", "5", "Local", TRUE
"Gov", "Tribal", "Player", TRUE
"MinCities", "5", "Player", FALSE
}
target_reqs =
{ "type", "name", "range", "present"
"TerrainFlag", "NoCities", "Tile", FALSE
}
[actionenabler_found_city_despotism]
action = "Found City"
actor_reqs =
{ "type", "name", "range", "present"
"UnitFlag", "Cities", "Local", TRUE
"UnitState", "OnLivableTile", "Local", TRUE
"MinMoveFrags", "5", "Local", TRUE
"Gov", "Despotism", "Player", TRUE
}
target_reqs =
{ "type", "name", "range", "present"
"TerrainFlag","NoCities","Tile",FALSE
{ "type", "name", "range", "present"
"TerrainFlag", "NoCities", "Tile", FALSE
}
[actionenabler_cultivate]
......
"Activity", "Fortified", "Local", FALSE
}
[actionenabler_conquer_city]
[actionenabler_conquer_city_tribal]
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", "Tribal", "Player", TRUE
"MinCities", "5", "Player", FALSE
}
target_reqs =
{ "type", "name", "range", "present"
"MaxUnitsOnTile", "0", "Tile", TRUE
}
[actionenabler_conquer_city_despotism]
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
{ "type", "name", "range", "present"
"UnitClassFlag", "CanOccupyCity", "Local", TRUE
"UnitFlag", "NonMil", "Local", FALSE
"DiplRel", "War", "Local", TRUE
"MinMoveFrags", "1", "Local", TRUE
"Gov", "Despotism", "Player", TRUE
}
target_reqs =
{ "type", "name", "range", "present"
"MaxUnitsOnTile", "0", "Tile", TRUE
{ "type", "name", "range", "present"
"MaxUnitsOnTile", "0", "Tile", TRUE
}
[actionenabler_gain_veterancy]
data/granularity/governments.ruleset
ruler_female_title = _("?female:Usurper %s")
helptext = _("\
Anarchy happens between government changes.\
Anarchy happens between government changes. \
No new cities can be aqcuired during anarchy.\
")
;------------------------------------------------------------------------
......
ruler_female_title = _("Warlady %s")
helptext = _("\
This is the only available form of government.\
The initial form of government. \
Under tribalism the maximum nation size is five cities.\
")
;------------------------------------------------------------------------
[government_despotism]
name = _("Despotism")
reqs =
{ "type", "name", "range"
"Tech", "Government", "Player"
}
graphic = "gov.despotism"
graphic_alt = "-"
ruler_male_title = _("Chief %s")
ruler_female_title = _("?female:Chief %s")
helptext = _("\
Compared to tribalism, despotism gives some more power to the leader. \
It's possible to control more than five cities.\
")
; /* <-- avoid gettext warnings
    (1-1/1)