N3OW/common/decisions/NEOW_artifact_decisions.txt
GoTouchSomeGrass314 714c37ce75 Decision to Reforge the Crown of St. Wenceslas FIXED
finally found what was causing the issues (i think, but it works, so i am not complaining)
2026-04-28 20:31:36 +02:00

88 lines
No EOL
2.3 KiB
Text

reforge_crown_wenceslas_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_smith.dds"
}
desc = reforge_crown_wenceslas_decision_desc
sort_order = 100
selection_tooltip = reforge_crown_wenceslas_decision_tooltip
cooldown = { days = 1000 }
is_shown = {
AND = {
OR = {
any_character_artifact = {
has_variable = crown_wenceslas
}
has_title = title:k_bohemia
}
NOT = {
any_character_artifact = {
has_variable = crown_wenceslas_reforged
}
}
}
}
is_valid = {
has_title = title:k_bohemia
prestige_level >= high_prestige_level
piety_level >= high_piety_level
custom_tooltip = {
text = must_have_crown_wenceslas
any_character_artifact = {
has_variable = crown_wenceslas
}
}
}
cost = {
gold = 750
prestige = 500
}
effect = {
if = {
limit = {
has_name = crown_wenceslas_name
}
every_character_artifact = {
limit = {
has_variable = crown_wenceslas
}
destroy_artifact = this
}
set_artifact_rarity_illustrious = yes
create_artifact = {
name = crown_wenceslas_name
description = crown_wenceslas_reforged_description
modifier = crown_wenceslas_reforged_modifier
template = generic_template
type = pedestal
visuals = crown_wenceslas_court
wealth = scope:wealth
quality = scope:quality
culture = root.culture
decaying = no
save_scope_as = crown_wenceslas_reforged
history = {
location = root.capital_province
actor = root
recipient = root
type = created_before_history
}
}
scope:crown_wenceslas_reforged = {
set_variable = { name = historical_unique_artifact value = yes }
set_variable = crown_wenceslas_reforged
save_scope_as = epic
}
}
}
ai_check_interval = { 500 }
ai_will_do = {
base = 50
}
}