Feature #278 ยป 0042-Granularity-Add-corruption-rules.patch
| data/granularity/buildings.ruleset | ||
|---|---|---|
|
strength of units within the city against land units.\
|
||
|
")
|
||
|
[building_courthouse]
|
||
|
name = _("Courthouse")
|
||
|
genus = "Improvement"
|
||
|
reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"Tech", "Code of Laws", "Player"
|
||
|
}
|
||
|
graphic = "b.courthouse"
|
||
|
graphic_alt = "-"
|
||
|
graphic_alt2 = "-"
|
||
|
obsolete_by =
|
||
|
{ "type", "name", "range"
|
||
|
}
|
||
|
build_cost = 1700
|
||
|
upkeep = 50
|
||
|
sabotage = 50
|
||
|
sound = "b_courthouse"
|
||
|
sound_alt = "b_generic"
|
||
|
sound_alt2 = "-"
|
||
|
helptext = _("\
|
||
|
Reduces corruption by 30% - \
|
||
|
from the computational total, that might be over 100% of all trade.\
|
||
|
")
|
||
|
[building_granary]
|
||
|
name = _("Granary")
|
||
|
genus = "Improvement"
|
||
| data/granularity/effects.ruleset | ||
|---|---|---|
|
"Building", "Throne", "City"
|
||
|
}
|
||
|
[effect_corruption_base]
|
||
|
type = "Output_Waste_By_Distance"
|
||
|
value = 400
|
||
|
reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"OutputType", "Trade", "Local"
|
||
|
}
|
||
|
[effect_courthouse]
|
||
|
type = "Output_Waste_Pct"
|
||
|
value = 30
|
||
|
reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"Building", "Courthouse", "City", TRUE
|
||
|
"OutputType", "Trade", "Local", TRUE
|
||
|
}
|
||
|
[effect_throne_infra]
|
||
|
type = "Infra_Points"
|
||
|
value = 2
|
||
| data/granularity/techs.ruleset | ||
|---|---|---|
|
graphic_alt = "-"
|
||
|
helptext = _("Cave Paintings record hunting and fights.")
|
||
|
[advance_code_of_laws]
|
||
|
name = _("Code of Laws")
|
||
|
req1 = "Government"
|
||
|
req2 = "None"
|
||
|
flags = ""
|
||
|
graphic = "a.code_of_laws"
|
||
|
graphic_alt = "-"
|
||
|
;helptext =
|
||
|
[advance_combat_practice]
|
||
|
name = _("Combat Practice")
|
||
|
req1 = "Government"
|
||