Project

General

Profile

Feature #148 ยป 0037-Granularity-Add-regeneration-rules.patch

Marko Lindqvist, 01/08/2024 08:52 PM

View differences:

data/granularity/README.granularity
its granary is set to 10% full, not empty
* Initially there's a 50% penalty to collecting taxes. This is
removed by the Counting tech.
* In cities units heal 10% of their maximum hitpoints each turn,
outside cities none. Techs and buildings improve this.
data/granularity/buildings.ruleset
sound_alt2 = "b_generic"
helptext = _("\
With a Barracks, each new land unit built in a city will \
automatically have Veteran status.\
automatically have Veteran status. \
Units in a city with Barracks heal additional 20% of their \
maximum hitpoints each turn.\
")
[building_city_walls]
data/granularity/effects.ruleset
"OutputType", "Gold", "Local", TRUE
}
[effect_city_regen]
type = "HP_Regen_2"
value = 10
reqs =
{ "type", "name", "range"
"CityTile", "Center", "Tile"
}
[effect_barracks_regen]
type = "HP_Regen_2"
value = 20
reqs =
{ "type", "name", "range"
"Building", "Barracks", "City"
}
[effect_herbs_regen]
type = "HP_Regen_2"
value = 10
reqs =
{ "type", "name", "range"
"Tech", "Herbs", "Player"
}
[effect_irrigation]
type = "Irrigation_Pct"
value = 100
data/granularity/techs.ruleset
graphic_alt = "-"
;helptext =
[advance_herbs]
name = _("Herbs")
req1 = "Rituals"
req2 = "None"
flags = ""
graphic = "a.herbs"
graphic_alt = "-"
helptext = _("\
Makes units that do not move during the turn to heal additional 10% of their maximum hitpoints. \
Outside cities that might be the only healing they do.\
")
[advance_government]
name = _("Government")
req1 = "Alphabet"
    (1-1/1)