Project

General

Profile

Feature #2301 ยป 0073-sandbox-Give-founder-celebration-history-bonus-witho.patch

Marko Lindqvist, 09/28/2026 12:02 AM

View differences:

data/sandbox/README.sandbox
Counters
Counters are used in this ruleset to provide some effects of conquering city
with connection of how long it celebrates and how long it exist:
* City will gets 100% base production penalty after three turn of
disorder
* City will produce 10 culture if after 10 turn of owned and 5 turn
of celebration
* City will produce 5 additional culture after 20 turn of owned
and (at least) 5 turn of celebration
* City will gets 100% base production penalty after 3 turn of
disorder.
* Cities that the owner has founded, and controlled since, get
15 points of history each turn when it has been celebrating
at least 5 turns.
* Conquered cities get 10 points of history after the owner has
hold them for 10 turns, and it has been celebrating
at least 5 turns.
This increases to 15 points if owner has held the city for
20 turns.
data/sandbox/effects.ruleset
"Counter", "Turn_of_Disorder", "City", TRUE
}
[effect_produce_culture1]
type = "History"
value = 10
[effect_produce_history_own]
type = "History"
value = 15
reqs =
{ "type", "name", "range", "present"
"Counter", "Turn_Owned1", "City", TRUE
"Counter", "Turn_of_Celebration", "City", TRUE
{ "type", "name", "range", "present"
"CityStatus", "Transferred", "City", FALSE
"Counter", "Turn_of_Celebration", "City", TRUE
}
[effect_produce_culture2]
type = "History"
value = 5
[effect_produce_history_conquered]
type = "History"
value = 10
reqs =
{ "type", "name", "range", "present"
"Counter", "Turn_Owned2", "City", TRUE
"Counter", "Turn_of_Celebration", "City", TRUE
{ "type", "name", "range"
"CityStatus", "Transferred", "City"
"Counter", "Turn_Owned1", "City"
"Counter", "Turn_of_Celebration", "City"
}
[effect_produce_history2_conquered]
type = "History"
value = 5
reqs =
{ "type", "name", "range"
"CityStatus", "Transferred", "City"
"Counter", "Turn_Owned2", "City"
"Counter", "Turn_of_Celebration", "City"
}
; Note: There are no oceanic border sources, so we don't need to check
    (1-1/1)