Project

General

Profile

Feature #243 ยป 0043-Granularity-Add-Central-Rock-Pile.patch

Marko Lindqvist, 02/08/2024 05:14 AM

View differences:

data/granularity/buildings.ruleset
Does not affect citizens made unhappy by military activity.\
")
[building_rock_pile]
name = _("Central Rock Pile")
genus = "SmallWonder"
reqs =
{ "type", "name", "range"
; No requirements
}
graphic = "b.rock_pile"
graphic_alt = "b.palace"
graphic_alt2 = "-"
obsolete_by =
{ "type", "name", "range"
}
build_cost = 500
upkeep = 0
sabotage = 100
sound = "b_rock_pile"
sound_alt = "b_generic"
sound_alt2 = "-"
helptext = _("\
This Rock Pile marks the spot where your people first settled, and found a city. \
It marks your capital city until you have more fitting building to do so.\
")
[building_throne]
name = _("Throne")
genus = "SmallWonder"
data/granularity/effects.ruleset
"OutputType", "Trade", "Local"
}
[effect_capital]
[effect_rock_pile_capital]
type = "Capital_City"
value = 1
reqs =
{ "type", "name", "range", "present"
"Building", "Throne", "Player", FALSE
"Building", "Central Rock Pile", "City", TRUE
}
[effect_rock_pile_gov_center]
type = "Gov_Center"
value = 1
reqs =
{ "type", "name", "range", "present"
"Building", "Throne", "Player", FALSE
"Building", "Central Rock Pile", "City", TRUE
}
[effect_throne_capital]
type = "Capital_City"
value = 1
reqs =
{ "type", "name", "range"
"Building", "Throne", "City"
}
[effect_throne_gov_center]
type = "Gov_Center"
value = 1
reqs =
{ "type", "name", "range"
"Building", "Throne", "City"
data/granularity/game.ruleset
[options]
global_init_techs = ""
global_init_buildings = ""
global_init_buildings = "Central Rock Pile"
[tileset]
; If preferred tileset is set, clients that support the feature will suggest
    (1-1/1)