Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #872584 ยป 0039-Granularity-Add-Irrigation-extra.patch

Marko Lindqvist, 2020-05-10 07:41 AM

View differences:

data/granularity/effects.ruleset
"Tech", "Tools", "Player", FALSE
"OutputType", "Shield", "Local", TRUE
}
[effect_irrigation]
type = "Irrigation_Pct"
value = 100
reqs =
{ "type", "name", "range"
"Extra", "Irrigation", "Local"
}
data/granularity/techs.ruleset
;
; */ <-- avoid gettext warnings
[advance_agriculture]
name = _("Agriculture");
req1 = "Tools"
req2 = "None"
flags = ""
graphic = "a.agriculture"
graphic_alt = "-"
helptext = _("Agriculture allows placing irrigation.")
[advance_carving]
name = _("Carving");
req1 = "Tools"
data/granularity/terrain.ruleset
base_time = 1
road_time = 1
irrigation_result = "no"
irrigation_food_incr = 1
irrigation_time = 5
irrigation_food_incr = 0
irrigation_time = 0
mining_result = "no"
mining_shield_incr = 0
mining_time = 10
......
;
; */ <-- avoid gettext warnings
;[extra_generic]
;name = _("Generic")
;category = "Infra"
[extra_irrigation]
name = _("Irrigation")
category = "Infra"
;causes = ""
;rmcauses = ""
;graphic = "tx.generic"
;graphic_alt = "-"
;activity_gfx = "unit.generic"
;act_gfx_alt = "-"
;act_gfx_alt2 = "-"
;rmact_gfx = "None"
;rmact_gfx_alt = "-"
;build_time = 0
;removal_time = 0
;helptext = _("")
infracost = 25
graphic = "tx.irrigation"
graphic_alt = "-"
activity_gfx = "unit.irrigation"
act_gfx_alt = "-"
act_gfx_alt2 = "-"
rmact_gfx = "None"
rmact_gfx_alt = "-"
buildable = TRUE
reqs =
{ "type", "name", "range"
"Tech", "Agriculture", "Player"
}
build_time = 3
removal_time = 0
helptext = _("Irrigation increases tile food production.")
;[extra_gbase]
;name = _("Generic Base")
    (1-1/1)