Project

General

Profile

Feature #360 » 0040-Granularity-Add-Science.patch

Marko Lindqvist, 03/26/2024 03:37 AM

View differences:

data/granularity/buildings.ruleset
sound_alt = "b_generic"
sound_alt2 = "-"
helptext = _("\
Increases science output by 50%. \
Increases science output by 50%, 75% if Science known. \
Produces two points of history each turn, three points \
if Literature known.\
")
data/granularity/cities.ruleset
; No requirements
}
[specialist_philosopher]
name = _("Philosopher")
short_name = _("?specialist:P")
graphic = "specialist.philosopher"
graphic_alt = "specialist.scientist"
reqs =
{ "type", "name", "range"
"Tech", "Science", "Player"
}
[parameters]
add_to_size_limit = 8 ; cities >= this cannot be added to.
angry_citizens = TRUE ; set to FALSE to disable angry citizens
data/granularity/effects.ruleset
;
; */ <-- avoid gettext warnings
; Cheating AI effects are in separate file
;*include "default/ai_effects.ruleset"
; Specialists
[effect_philosopher]
type = "Specialist_Output"
value = 3
reqs =
{ "type", "name", "range"
"Specialist", "Philosopher", "Local"
"OutputType", "Science", "Local"
}
; Base vision range - radius of vision is sqrt(5) = 2.24
[effect_city_vision]
......
"OutputType", "Science", "Local"
}
[effect_science_library]
type = "Output_Bonus"
value = 25
reqs =
{ "type", "name", "range"
"Building", "Library", "City"
"Tech", "Science", "Player"
"OutputType", "Science", "Local"
}
[effect_library_culture]
type = "History"
value = 2
data/granularity/techs.ruleset
Increases speed of sea-going vessels by 1.\
")
[advance_science]
name = _("Science")
req1 = "Astronomy"
req2 = "Medicine"
flags = ""
graphic = "a.science"
graphic_alt = "-"
helptext = _("\
Enables philosophers specialist type. \
Libraries provide more science.\
")
[advance_seafaring]
name = _("Seafaring")
req1 = "Carving"
(2-2/2)