Fixing things

This commit is contained in:
Heidesommer 2026-05-28 09:09:00 -04:00
parent e2a877d018
commit cf10d05052
45 changed files with 8242 additions and 2221 deletions

View file

@ -2443,126 +2443,127 @@ stress_loss_athletic_decision = { #by Linnéa Thimrén
}
}
### Write Muwashshah Poem ###
write_muwashshah_poem_decision = {
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 37
kingdom = 0
empire = 0
hegemony = 0
}
picture = {
reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
}
sort_order = 10
decision_group_type = adventurer_minor
cooldown = { years = 3 }
is_shown = {
has_trait = violet_poet
}
is_valid_showing_failures_only = {
is_imprisoned = no
}
widget = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_POEM_DECISION_NEXT_STEP_BUTTON"
item = { # To sell
value = sell_poem_decision
is_shown = {
has_trait = violet_poet
}
is_valid = {
has_trait = violet_poet
}
current_description = sell_poem_decision
localization = sell_poem_decision
icon = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
ai_chance = { #Keep the poet afloat
value = 10
if = {
limit = {
gold < 25
}
add = 50
}
}
}
item = { #To keep
value = keep_poem_decision
is_shown = {
has_trait = violet_poet
any_character_artifact = {
has_artifact_modifier = double_moon_modifier
}
}
is_valid = {
has_trait = violet_poet
any_character_artifact = {
has_artifact_modifier = double_moon_modifier
}
}
current_description = keep_poem_decision
localization = keep_poem_decision
icon = "gfx/interface/icons/court_position_types/court_poet_court_position.dds"
ai_chance = { value = 10 }
}
item = { #To distribute
value = distribute_poem_decision
is_shown = {
has_trait = violet_poet
}
is_valid = {
has_trait = violet_poet
}
current_description = distribute_poem_decision
localization = distribute_poem_decision
icon = "gfx/interface/icons/court_position_types/chief_qadi_court_position.dds"
ai_chance = { value = 10 }
}
}
effect = {
add_trait_xp = {
trait = violet_poet
value = 5
}
custom_tooltip = write_muwashshah_poem_decision_tooltip
hidden_effect = {
if = { # Sell Poem
limit = { scope:sell_poem_decision = yes }
trigger_event = {
id = ep3_story_cycle_violet_poet.0010
days = { 15 30 }
}
}
else_if = { # Keep Poem
limit = { scope:keep_poem_decision = yes }
trigger_event = {
id = ep3_story_cycle_violet_poet.0011
days = { 15 30 }
}
}
else = { # Distribute Poem
trigger_event = {
id = ep3_story_cycle_violet_poet.0012
days = { 15 30 }
}
}
}
}
ai_potential = {
is_playable_character = yes
gold < 50
}
}
#### Write Muwashshah Poem ###
#write_muwashshah_poem_decision = {
# ai_check_interval_by_tier = {
# barony = 0
# county = 0
# duchy = 37
# kingdom = 0
# empire = 0
# hegemony = 0
# }
# picture = {
# reference = "gfx/interface/illustrations/decisions/decision_misc.dds"
# }
# sort_order = 10
# decision_group_type = adventurer_minor
#
# cooldown = { years = 3 }
#
# is_shown = {
# has_trait = violet_poet
# }
#
# is_valid_showing_failures_only = {
# is_imprisoned = no
# }
#
# widget = {
# gui = "decision_view_widget_option_list_generic"
# controller = decision_option_list_controller
# decision_to_second_step_button = "CHOOSE_POEM_DECISION_NEXT_STEP_BUTTON"
#
#
# item = { # To sell
# value = sell_poem_decision
# is_shown = {
# has_trait = violet_poet
# }
# is_valid = {
# has_trait = violet_poet
# }
# current_description = sell_poem_decision
# localization = sell_poem_decision
# icon = "gfx/interface/icons/court_position_types/bookmaker_court_position.dds"
# ai_chance = { #Keep the poet afloat
# value = 10
# if = {
# limit = {
# gold < 25
# }
# add = 50
# }
# }
# }
# item = { #To keep
# value = keep_poem_decision
# is_shown = {
# has_trait = violet_poet
# any_character_artifact = {
# has_artifact_modifier = double_moon_modifier
# }
# }
# is_valid = {
# has_trait = violet_poet
# any_character_artifact = {
# has_artifact_modifier = double_moon_modifier
# }
# }
# current_description = keep_poem_decision
# localization = keep_poem_decision
# icon = "gfx/interface/icons/court_position_types/court_poet_court_position.dds"
# ai_chance = { value = 10 }
# }
# item = { #To distribute
# value = distribute_poem_decision
# is_shown = {
# has_trait = violet_poet
# }
# is_valid = {
# has_trait = violet_poet
# }
# current_description = distribute_poem_decision
# localization = distribute_poem_decision
# icon = "gfx/interface/icons/court_position_types/chief_qadi_court_position.dds"
# ai_chance = { value = 10 }
# }
# }
#
# effect = {
# add_trait_xp = {
# trait = violet_poet
# value = 5
# }
# custom_tooltip = write_muwashshah_poem_decision_tooltip
# hidden_effect = {
#
# if = { # Sell Poem
# limit = { scope:sell_poem_decision = yes }
# trigger_event = {
# id = ep3_story_cycle_violet_poet.0010
# days = { 15 30 }
# }
# }
# else_if = { # Keep Poem
# limit = { scope:keep_poem_decision = yes }
# trigger_event = {
# id = ep3_story_cycle_violet_poet.0011
# days = { 15 30 }
# }
# }
# else = { # Distribute Poem
# trigger_event = {
# id = ep3_story_cycle_violet_poet.0012
# days = { 15 30 }
# }
# }
# }
# }
#
# ai_potential = {
# is_playable_character = yes
# gold < 50
# }
#}
#