Project

General

Profile

Feature #167 ยป 0049-Granularity-Add-extending-of-city-radius.patch

Marko Lindqvist, 01/10/2024 08:05 PM

View differences:

data/granularity/README.granularity
* In cities units heal 10% of their maximum hitpoints each turn,
outside cities none. Techs and buildings improve this.
* Fortifying is not possible before Trenches technology is known.
* Base city radius, both for workable area and vision,
extends one tile away from the center.
data/granularity/effects.ruleset
; Base vision range - radius of vision is sqrt(5) = 2.24
[effect_city_vision]
type = "City_Vision_Radius_Sq"
value = 5
value = 2
[effect_wheel_vision]
type = "City_Vision_Radius_Sq"
value = 3
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
[effect_wheel_city_radius]
type = "City_Radius_Sq"
value = 3
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
[effect_base_unit_upkeep]
type = "Upkeep_Factor"
data/granularity/techs.ruleset
flags = ""
graphic = "a.spirits"
graphic_alt = "a.alphabet"
helptext = _("Belief in natural spirits is the first step in Religious\
tech tree branch.")
helptext = _("\
Belief in natural spirits is the first step in Religious \
tech tree branch.")
[advance_the_wheel]
name = _("The Wheel")
req1 = "Masonry"
req2 = "Pottery"
flags = ""
graphic = "a.the_wheel"
graphic_alt = "-"
helptext = _("\
With carts it's possible to bring produce and resources longer \
distance away. Increases city radius.\
")
[advance_tools]
name = _("Tools")
......
flags = ""
graphic = "a.tools"
graphic_alt = "-"
helptext = _("Anything can be done with right tools.\
Allows more efficient use of production resources.")
helptext = _("\
Anything can be done with right tools. \
Allows more efficient use of production resources.\
")
[advance_trenches]
name = _("Trenches")
    (1-1/1)