fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -70,6 +70,20 @@ artifact.0021 = {
|
|||
exists = scope:owner
|
||||
scope:owner = { is_alive = yes }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
gdp_menagerie_artifact_has_active_story_trigger = { CHARACTER = scope:owner ARTIFACT = scope:this_artifact }
|
||||
}
|
||||
scope:owner = {
|
||||
random_owned_story = {
|
||||
limit = {
|
||||
story_type = story_cycle_menagerie
|
||||
var:artifact_type ?= scope:this_artifact
|
||||
}
|
||||
end_story = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:owner = {
|
||||
send_interface_toast = {
|
||||
title = artifact.0021.t
|
||||
|
|
@ -294,21 +308,20 @@ artifact.0031 = {
|
|||
else_if = { #this effect fires before the dynasty head change, but after the scope:old_owner death, so scope:old_owner can be still a dynast
|
||||
limit = { exists = var:banner_dynasty.dynast }
|
||||
if = {
|
||||
limit = {
|
||||
scope:old_owner != var:banner_dynasty.dynast
|
||||
}
|
||||
limit = { scope:old_owner != var:banner_dynasty.dynast }
|
||||
var:banner_dynasty.dynast = { save_scope_as = new_banner_owner }
|
||||
}
|
||||
else = { #hence this
|
||||
scope:old_owner.house.house_head = {
|
||||
save_scope_as = new_banner_owner
|
||||
}
|
||||
scope:old_owner.house.house_head ?= { save_scope_as = new_banner_owner }
|
||||
}
|
||||
set_owner = {
|
||||
target = scope:new_banner_owner
|
||||
history = {
|
||||
type = inherited
|
||||
recipient = scope:new_banner_owner
|
||||
if = {
|
||||
limit = { exists = scope:new_banner_owner } # The dead dynast can have been the house head
|
||||
set_owner = {
|
||||
target = scope:new_banner_owner
|
||||
history = {
|
||||
type = inherited
|
||||
recipient = scope:new_banner_owner
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue