Project

General

Profile

Feature #146 ยป 0036-Granularity-Add-Rituals-morale-boost.patch

Marko Lindqvist, 01/08/2024 07:59 PM

View differences:

data/granularity/README.granularity
* Cities are protected a bit from rapid shrinking due to
continuous famine by the fact that when city shrinks,
its granary is set to 10% full, not empty
* Initially there's a 50% penalty to collecting taxes. This is
removed by the Counting tech.
data/granularity/effects.ruleset
"UnitClass", "Land", "Local"
}
[effect_morale_boost_attack]
type = "Attack_Bonus"
value = 20
reqs =
{ "type", "name", "range"
"Tech", "Rituals", "Player"
}
[effect_morale_boost_defense]
type = "Defend_Bonus"
value = 20
reqs =
{ "type", "name", "range"
"Tech", "Rituals", "Player"
}
[effect_action_success_move_cost_from_non_native]
type = "Action_Success_Actor_Move_Cost"
value = 65535
......
"OutputType", "Shield", "Local", TRUE
}
[effect_no_counting]
type = "Output_Bonus"
value = -50
reqs =
{ "type", "name", "range", "present"
"Tech", "Counting", "Player", FALSE
"OutputType", "Gold", "Local", TRUE
}
[effect_irrigation]
type = "Irrigation_Pct"
value = 100
data/granularity/techs.ruleset
[advance_alphabet]
name = _("Alphabet")
req1 = "Cave Painting"
req2 = "Spirits"
req2 = "Counting"
flags = ""
graphic = "a.alphabet"
graphic_alt = "-"
......
[advance_calendar]
name = _("Calendar")
req1 = "Agriculture"
req2 = "None"
req2 = "Counting"
flags = ""
graphic = "a.calendar"
graphic_alt = "-"
......
graphic_alt = "-"
helptext = _("Cave Paintings record hunting and fights.")
[advance_counting]
name = _("Counting")
req1 = "None"
req2 = "None"
flags = ""
graphic = "a.counting"
graphic_alt = "-"
helptext = _("\
Allows collecting taxes without miscalculation penalties.\
")
[advance_diplomacy]
name = _("Diplomacy")
req1 = "Government"
......
graphic_alt = "-"
helptext = _("Allows build actual roads.")
[advance_rituals]
name = _("Rituals")
req1 = "Cave Painting"
req2 = "Spirits"
flags = ""
graphic = "a.rituals"
graphic_alt = "-"
helptext = _("\
Provides a morale boost increasing both attack and defense values of units buy 20%.\
")
[advance_spirits]
name = _("Spirits")
req1 = "None"
    (1-1/1)