Project

General

Profile

Feature #1088 ยป 0078-Granularity-Add-Arhictecture-tech-and-Palace-buildin.patch

Marko Lindqvist, 11/09/2024 08:26 AM

View differences:

data/granularity/buildings.ruleset
graphic_alt = "b.palace"
graphic_alt2 = "-"
obsolete_by =
{ "type", "name", "range"
{ "type", "name", "range"
}
build_cost = 1000
upkeep = 0
......
City with your throne is your capital city.\
")
[building_palace]
name = _("Palace")
genus = "SmallWonder"
reqs =
{ "type", "name", "range"
"Tech", "Architecture", "Player"
"Building", "Throne", "City"
}
graphic = "b.palace"
graphic_alt = "-"
graphic_alt2 = "-"
obsolete_by =
{ "type", "name", "range"
}
build_cost = 3000
upkeep = 0
sabotage = 100
sound = "b_palace"
sound_alt = "b_generic"
sound_alt2 = "-"
helptext = _("\
Palace reduces corruption in the empire and gives +3 history each turn.\
")
[building_quarry]
name = _("Quarry")
data/granularity/effects.ruleset
"Building", "Stone Circle", "City"
}
[effect_palace_culture]
type = "History"
value = 3
reqs =
{ "type", "name", "range"
"Building", "Palace", "City"
}
[effect_center_trade_village]
type = "Output_Add_Tile"
value = 25
......
[effect_throne_capital]
type = "Capital_City"
value = 1
value = 2
reqs =
{ "type", "name", "range"
{ "type", "name", "range"
"Building", "Throne", "City"
}
......
type = "Gov_Center"
value = 1
reqs =
{ "type", "name", "range"
{ "type", "name", "range"
"Building", "Throne", "City"
}
......
type = "Output_Waste_By_Distance"
value = 400
reqs =
{ "type", "name", "range"
{ "type", "name", "range"
"OutputType", "Trade", "Local"
}
[effect_corruption_palace]
type = "Output_Waste_By_Distance"
value = -50
reqs =
{ "type", "name", "range"
"Building", "Palace", "Player"
"OutputType", "Trade", "Local"
}
[effect_courthouse]
type = "Output_Waste_Pct"
value = 30
......
type = "Infra_Points"
value = 200
reqs =
{ "type", "name", "range"
{ "type", "name", "range"
"Building", "Throne", "City"
}
data/granularity/techs.ruleset
graphic_alt = "-"
;helptext =
[advance_architecture]
name = _("Architecture")
req1 = "Construction"
req2 = "Art"
flags = ""
graphic = "a.architecture"
graphic_alt = "-"
;helptext =
[advance_art]
name = _("Art")
req1 = "Pottery"
    (1-1/1)