Project

General

Profile

Feature #258 ยป 0043-Granularity-Add-Library.patch

Marko Lindqvist, 02/11/2024 10:35 PM

View differences:

data/granularity/buildings.ruleset
{ "type", "name", "range"
}
build_cost = 1200
upkeep = 0
upkeep = 50
sabotage = 50
sound = "b_granary"
sound_alt = "b_generic"
......
10% full after city grows.\
")
[building_library]
name = _("Library")
genus = "Improvement"
reqs =
{ "type", "name", "range"
"Tech", "Writing", "Player"
}
graphic = "b.library"
graphic_alt = "-"
graphic_alt2 = "-"
obsolete_by =
{ "type", "name", "range"
}
build_cost = 2000
upkeep = 100
sabotage = 50
sound = "b_granary"
sound_alt = "b_generic"
sound_alt2 = "-"
helptext = _("\
Increases science output by 50%.\
")
[building_sacred_grove]
name = _("Sacred Grove")
genus = "Improvement"
data/granularity/effects.ruleset
"Tech", "Pottery", "Player"
}
[effect_library]
type = "Output_Bonus"
value = 50
reqs =
{ "type", "name", "range"
"Building", "Library", "City"
"OutputType", "Science", "Local"
}
[effect_library_culture]
type = "History"
value = 2
reqs =
{ "type", "name", "range"
"Building", "Library", "City"
}
[effect_center_trade_village]
type = "Output_Add_Tile"
value = 25
......
"Building", "Sacred Grove", "City"
}
[effect_sacred_grove_culture]
type = "History"
value = 1
reqs =
{ "type", "name", "range"
"Building", "Sacred Grove", "City"
}
[effect_granary_famine]
type = "Shrink_Food"
value = 50
data/granularity/techs.ruleset
[advance_art]
name = _("Art")
req1 = "Pottery"
req2 = "Alphabet"
req2 = "Rituals"
flags = ""
graphic = "a.art"
graphic_alt = "-"
......
flags = ""
graphic = "a.mining"
graphic_alt = "-"
;helptext
;helptext =
[advance_pottery]
name = _("Pottery")
......
helptext = _("\
Allows units to fortify.\
")
[advance_writing]
name = _("Writing")
req1 = "Alphabet"
req2 = "None"
flags = ""
graphic = "a.writing"
graphic_alt = "-"
;helptext =
    (1-1/1)