Nistrenian Pearl Crown
This commit is contained in:
parent
3e5a490438
commit
d51333a4d8
49 changed files with 41863 additions and 9 deletions
|
|
@ -198,4 +198,46 @@ create_artifact_crown_charlemagne_effect = { # Crown of St. Stephen
|
|||
set_variable = crown_charlemagne
|
||||
save_scope_as = epic
|
||||
}
|
||||
}
|
||||
|
||||
create_artifact_pearl_crown_effect = {
|
||||
# Get the character the artifact is being made for.
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
# Not really used, but if we don't set the scopes we get errors in the feature selection
|
||||
set_artifact_rarity_illustrious = yes
|
||||
create_artifact = {
|
||||
name = artifact_pearl_crown_name
|
||||
description = artifact_pearl_crown_description
|
||||
type = helmet
|
||||
visuals = pearl_crown
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
history = {
|
||||
type = created_before_history
|
||||
}
|
||||
modifier = pearl_crown_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
decaying = no
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
set_variable = { name = historical_unique_artifact value = yes }
|
||||
set_variable = pearl_crown
|
||||
set_variable = {
|
||||
name = portrait_remains_after_death
|
||||
value = yes
|
||||
}
|
||||
set_variable = {
|
||||
name = artifact_succession_title
|
||||
value = title:e_nistrenia
|
||||
}
|
||||
add_artifact_title_history = {
|
||||
target = title:e_nistrenia
|
||||
date = 2282.1.11
|
||||
}
|
||||
save_scope_as = epic
|
||||
save_scope_value_as = {
|
||||
name = pearl_crown
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
36
common/scripted_effects/NEOW_scripted_effects.txt
Normal file
36
common/scripted_effects/NEOW_scripted_effects.txt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
artifact_visual_after_death_dead_character_event_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
any_equipped_character_artifact = {
|
||||
has_variable = pearl_crown
|
||||
}
|
||||
}
|
||||
root.primary_heir = {
|
||||
add_character_flag = {
|
||||
flag = pearl_crown
|
||||
days = 3
|
||||
}
|
||||
trigger_event = {
|
||||
id = death_management.0151
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
artifact_visual_after_death_dead_character_flag_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:dead_artifact_visual_heir = {
|
||||
has_character_flag = pearl_crown
|
||||
}
|
||||
}
|
||||
scope:dead_ruler = {
|
||||
add_dead_character_flag = {
|
||||
flag = pearl_crown_wearer_dead
|
||||
years = 400
|
||||
}
|
||||
debug_log = "Nistrenian Crown Dead Character Flag Set"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue