AK Sceptre Artifact and Animations
This commit is contained in:
parent
20b58f4067
commit
fa41b7492f
25 changed files with 221 additions and 2 deletions
|
|
@ -282,4 +282,28 @@ create_artifact_st_edwards_crown_effect = {
|
|||
value = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
create_artifact_ak_mace_effect = {
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
set_artifact_rarity_masterwork = yes
|
||||
create_artifact = {
|
||||
name = artifact_ak_mace_name
|
||||
description = artifact_ak_mace_description
|
||||
type = regalia
|
||||
visuals = ak_mace
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
template = general_unique_template
|
||||
history = {
|
||||
type = created_before_history
|
||||
}
|
||||
modifier = ak_mace_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
set_variable = { name = historical_unique_artifact value = yes }
|
||||
set_variable = ak_mace
|
||||
save_scope_as = epic
|
||||
}
|
||||
}
|
||||
|
|
@ -16,6 +16,40 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
any_equipped_character_artifact = {
|
||||
has_variable = st_edwards_crown
|
||||
}
|
||||
}
|
||||
root.primary_heir = {
|
||||
add_character_flag = {
|
||||
flag = st_edwards_crown
|
||||
days = 3
|
||||
}
|
||||
trigger_event = {
|
||||
id = death_management.0151
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
any_equipped_character_artifact = {
|
||||
has_variable = ak_mace
|
||||
}
|
||||
}
|
||||
root.primary_heir = {
|
||||
add_character_flag = {
|
||||
flag = ak_mace
|
||||
days = 3
|
||||
}
|
||||
trigger_event = {
|
||||
id = death_management.0151
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
artifact_visual_after_death_dead_character_flag_effect = {
|
||||
|
|
@ -47,4 +81,18 @@ artifact_visual_after_death_dead_character_flag_effect = {
|
|||
debug_log = "British Crown Dead Character Flag Set"
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:dead_artifact_visual_heir = {
|
||||
has_character_flag = ak_mace
|
||||
}
|
||||
}
|
||||
scope:dead_ruler = {
|
||||
add_dead_character_flag = {
|
||||
flag = ak_mace_wearer_dead
|
||||
years = 400
|
||||
}
|
||||
debug_log = "AK Scepter Dead Character Flag Set"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue