Scripted effect · Roads to Power files
disburse_chariot_race_activity_spectator_rewards
disburse_chariot_race_activity_spectator_rewards = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 5630 (83 lines). No parameters.
disburse_chariot_race_activity_spectator_rewards is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 5630 of its file. It takes no parameters: disburse_chariot_race_activity_spectator_rewards = yes. The game's script calls it in 2 places, among them Chariot Race (activity) and The End of the Games (event chariot_race.0501). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
What it does
- If has “wager type” (a variable the game's script sets) › Depending on wager type:
- When wager type is win: Influence +60
- When wager type is place: Influence +30
- When wager type is show: Influence +10
If
- Any court position holder:
scope:activity.var:first_place ?= this
Then
- Influence +250
If
has_activity_intent = reduce_stress_intent
Then
- Stress and fulfillment impact: -100, and by trait: Athletic -5, Gregarious -5
Else if
- Any court position holder:
scope:activity.var:second_place ?= this
Then
- Influence +150
If
has_activity_intent = reduce_stress_intent
Then
- Stress and fulfillment impact: -60, and by trait: Athletic -5, Gregarious -5
Else if
- Any court position holder:
scope:activity.var:third_place ?= this
Then
- Influence +100
If
has_activity_intent = reduce_stress_intent
Then
- Stress and fulfillment impact: -60, and by trait: Athletic -5, Gregarious -5
Else if
has_activity_intent = reduce_stress_intent
Then
- Stress and fulfillment impact: -5, and by trait: Athletic -40, Gregarious -5
- Any court position holder:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (83 lines of game script)
disburse_chariot_race_activity_spectator_rewards = {
# Some smaller amounts of Influence rewards for having a successful wager
if = {
limit = {
has_character_flag = successful_bet
has_variable = wager_type
}
switch = {
trigger = var:wager_type
flag:win = {
change_influence = medium_influence_gain
}
flag:place = {
change_influence = minor_influence_gain
}
flag:show = {
change_influence = miniscule_influence_gain
}
}
}
# Rewards for employing a charioteer who wins/places/shows
# You get more influence if your charioteer is successful
if = {
limit = {
any_court_position_holder = {
type = charioteer_court_position
scope:activity.var:first_place ?= this
}
}
change_influence = monumental_influence_gain
if = {
limit = { has_activity_intent = reduce_stress_intent }
stress_and_fulfillment_impact = {
base = monumental_stress_loss
athletic = miniscule_stress_loss
gregarious = miniscule_stress_loss
}
}
}
else_if = {
limit = {
any_court_position_holder = {
type = charioteer_court_position
scope:activity.var:second_place ?= this
}
}
change_influence = massive_influence_gain
if = {
limit = { has_activity_intent = reduce_stress_intent }
stress_and_fulfillment_impact = {
base = massive_stress_loss
athletic = miniscule_stress_loss
gregarious = miniscule_stress_loss
}
}
}
else_if = {
limit = {
any_court_position_holder = {
type = charioteer_court_position
scope:activity.var:third_place ?= this
}
}
change_influence = major_influence_gain
if = {
limit = { has_activity_intent = reduce_stress_intent }
stress_and_fulfillment_impact = {
base = massive_stress_loss
athletic = miniscule_stress_loss
gregarious = miniscule_stress_loss
}
}
}
else_if = {
limit = { has_activity_intent = reduce_stress_intent }
stress_and_fulfillment_impact = {
base = miniscule_stress_loss
athletic = major_stress_loss
gregarious = miniscule_stress_loss
}
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls disburse_chariot_race_activity_spectator_rewards.
Activities (1)
Events (1)
- The End of the Games
chariot_race.0501
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.