Project

General

Profile

Feature #136 ยป 0023-Granularity-Add-Granary-building.patch

Marko Lindqvist, 01/07/2024 10:38 AM

View differences:

data/granularity/buildings.ruleset
strength of units within the city against land units.\
")
[building_granary]
name = _("Granary")
genus = "Improvement"
reqs =
{ "type", "name", "range"
"Tech", "Food Preservation", "Player"
}
graphic = "b.granary"
graphic_alt = "-"
graphic_alt2 = "-"
obsolete_by =
{ "type", "name", "range"
}
build_cost = 1200
upkeep = 0
sabotage = 50
sound = "b_granary"
sound_alt = "b_generic"
sound_alt2 = "-"
helptext = _("\
Granary reduces famine speed by making city food storage half full \
after city shrinks, and speeds up city growth by making the food storage \
10% full after city grows.\
")
[building_sacred_grove]
name = _("Sacred Grove")
genus = "Improvement"
data/granularity/effects.ruleset
"Building", "Sacred Grove", "City"
}
[effect_granary_famine]
type = "Shrink_Food"
value = 50
reqs =
{ "type", "name", "range"
"Building", "Granary", "City"
}
[effect_granary_growth]
type = "Growth_Food"
value = 10
reqs =
{ "type", "name", "range"
"Building", "Granary", "City"
}
[effect_fortified]
type = "Fortify_Defense_Bonus"
value = 50
data/granularity/techs.ruleset
graphic_alt = "-"
helptext = _("First flying machines.")
[advance_food_preservartion]
name = _("Food Preservation")
req1 = "Pottery"
req2 = "Agriculture"
flags = ""
graphic = "a.food_preservation"
graphic_alt = "-"
;helptext =
[advance_government]
name = _("Government")
req1 = "Alphabet"
    (1-1/1)