Skip to content

Commit db31dae

Browse files
authored
Check if k_transoxiana holder exists before giving them an Oxus Bracelet (#3113) #patch
1 parent 644fad3 commit db31dae

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

ImperatorToCK3/Data_Files/configurables/replaceable_file_blocks.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2822,7 +2822,7 @@
28222822
}
28232823
} # end of replace
28242824

2825-
# Check if k_khorasan holder exists.
2825+
# Check if k_khorasan holder exists before giving them an artifact.
28262826
replace = {
28272827
before = {
28282828
title:k_khorasan.holder = {
@@ -2859,6 +2859,24 @@
28592859
}
28602860
} # end of after
28612861
} # end of replace
2862+
2863+
# Check if k_transoxiana holder exists before giving them an Oxus Bracelet.
2864+
replace = {
2865+
before = {
2866+
title:k_transoxiana.holder = {
2867+
create_artifact_oxus_bracelet_effect = {
2868+
OWNER = this
2869+
}
2870+
}
2871+
} # end of before
2872+
after = {
2873+
title:k_transoxiana.holder ?= {
2874+
create_artifact_oxus_bracelet_effect = {
2875+
OWNER = this
2876+
}
2877+
}
2878+
} # end of after
2879+
} # end of replace
28622880
}
28632881

28642882

0 commit comments

Comments
 (0)