Not sure if this has been reported already since I can't seem to search this forum, but anyways:
The Zorastrian/Khurmazta specific decision to celebrate Jashn-e Sadah is only available once per character, despite probably being supposed to be on a 5 year cooldown.
The 'decisions/religious_decisions.txt' script for the decision checks for the character flag 'planning_sadah_feast', and then sets it if the decision is taken.
However, the resulting event chain instead clears another character flag, 'holding_sadah', that is neither ever set nor does the decision check for. Incidently, the decision checks for a 'holding_sadah_feast' character flag that is never referenced anywhere else.
Additionaly, while the decision checks for the 'held_sadah_feast_timer', the event chain actually sets 'jd_held_sadah_timer' instead.
DLC: I am using every major DLC, and every minor one minus a couple of music packs.
Mods: No mods, for what it's worth.
Reproduction steps:
1. Start the game as a Zoroastrian.
2. Use the 'Celebrate Jashn-e Sadah' decision.
3. Complete the event chain, timed character modifier giving a +5 vassal opinion bonus gets set.
4. Five years later modifier is removed but decision does not become available again.
For reference:
The Zorastrian/Khurmazta specific decision to celebrate Jashn-e Sadah is only available once per character, despite probably being supposed to be on a 5 year cooldown.
The 'decisions/religious_decisions.txt' script for the decision checks for the character flag 'planning_sadah_feast', and then sets it if the decision is taken.
However, the resulting event chain instead clears another character flag, 'holding_sadah', that is neither ever set nor does the decision check for. Incidently, the decision checks for a 'holding_sadah_feast' character flag that is never referenced anywhere else.
Additionaly, while the decision checks for the 'held_sadah_feast_timer', the event chain actually sets 'jd_held_sadah_timer' instead.
DLC: I am using every major DLC, and every minor one minus a couple of music packs.
Mods: No mods, for what it's worth.
Reproduction steps:
1. Start the game as a Zoroastrian.
2. Use the 'Celebrate Jashn-e Sadah' decision.
3. Complete the event chain, timed character modifier giving a +5 vassal opinion bonus gets set.
4. Five years later modifier is removed but decision does not become available again.
For reference:
Code:
celebrate_jashan_e_sadah = {
only_playable = yes
ai_check_interval = 2
potential = {
OR = {
religion = zoroastrian
religion = khurmazta
}
NOR = {
has_character_modifier = held_sadah_feast_timer
liege = { has_character_flag = holding_sadah_feast }
has_character_flag = holding_sadah_feast
has_character_flag = planning_sadah_feast
}
}
allow = {
war = no
custom_tooltip = {
text = UNOCCUPIED_DEMESNE_TITLE
hidden_tooltip = {
any_demesne_title = {
NOT = { higher_tier_than = count }
is_occupied = no
}
}
}
prisoner = no
NOT = { is_inaccessible_trigger = yes }
wealth = 50
prestige = 100
has_regent = no
month = 8
not = { month = 10 }
}
effect = {
wealth = -50
set_character_flag = planning_sadah_feast
custom_tooltip = {
text = prepare_sadah_feast
hidden_tooltip = {
character_event = { id = 39820 }
}
}
}
ai_will_do = {
factor = 1
modifier = {
factor = 0
NOT = {
wealth = 300
}
}
modifier = {
factor = 0
trait = shy
}
modifier = {
factor = 0
NOT = { diplomacy = 10 }
}
}
}
Code:
# Feast Ends (Liege)
character_event = {
id = 39827
desc = EVTDESC39827
picture = GFX_evt_powerful_ruler
border = GFX_event_normal_frame_religion
is_triggered_only = yes
hide_from = yes
option = {
name = EVTOPTA39827
any_vassal = {
limit = { has_character_flag = attending_sadah }
opinion = {
modifier = opinion_held_sadah
who = ROOT
}
}
hidden_tooltip = {
any_vassal = {
limit = { has_character_flag = attending_sadah }
character_event = { id = 39828 }
}
}
add_character_modifier = {
name = jd_held_sadah_timer
duration = 1825
}
prestige = 200
piety = 100
clr_character_flag = holding_sadah
clr_character_flag = feast_drunkard
clr_character_flag = feast_gluttonous
clr_character_flag = feast_lunatic
clr_character_flag = feast_lustful
clr_character_flag = feast_homosexual
clr_character_flag = do_not_disturb
}
}
Last edited:
Upvote
0