more file updating
This commit is contained in:
parent
4afc9466f5
commit
fde59745b8
99 changed files with 5706 additions and 2115 deletions
|
|
@ -225,6 +225,7 @@ create_artifact_tapestry_effect = {
|
|||
# Get the character the artifact is being made for.
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
$WEAVER$ = { save_scope_as = weaver }
|
||||
save_adventurer_location_effect = yes
|
||||
|
||||
hidden_effect_new_object = {
|
||||
# Get artifact quality, wealth, and materials
|
||||
|
|
@ -369,6 +370,27 @@ get_animal_hunt_location_effect = {
|
|||
NOT = { exists = scope:location }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:owner = {
|
||||
has_variable = animal_type
|
||||
OR = {
|
||||
var:animal_type = flag:cat
|
||||
var:animal_type = flag:dog
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:owner = {
|
||||
if = {
|
||||
limit = { exists = capital_province }
|
||||
capital_province = { save_scope_as = location }
|
||||
}
|
||||
else_if = {
|
||||
limit = { exists = location }
|
||||
location = { save_scope_as = location }
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
exists = scope:owner.involved_activity
|
||||
scope:owner.involved_activity = { has_activity_type = activity_hunt }
|
||||
|
|
@ -746,6 +768,7 @@ create_artifact_wall_skull_effect = {
|
|||
create_artifact_wall_narwhal_horn_effect = {
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
$HUNTER$ = { save_scope_as = hunter }
|
||||
save_adventurer_location_effect = yes
|
||||
|
||||
hidden_effect_new_object = {
|
||||
# Get artifact quality and wealth
|
||||
|
|
@ -1261,6 +1284,67 @@ create_artifact_box_medium_effect = {
|
|||
}
|
||||
}
|
||||
|
||||
# Wooden phallus - commissioned by characters with Carnal Exaltation as a personal tenet
|
||||
create_artifact_phallus_effect = {
|
||||
# Get the character the artifact is being made for.
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
$CARPENTER$ = { save_scope_as = carpenter }
|
||||
hidden_effect_new_object = {
|
||||
# Get artifact quality and wealth
|
||||
get_artifact_quality_effect = yes
|
||||
get_artifact_wealth_effect = yes
|
||||
|
||||
# Create the artifact
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = artifact_wooden_phallus_name
|
||||
creator = scope:carpenter
|
||||
description = placeholder
|
||||
visuals = small_box
|
||||
type = miscellaneous
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
set_artifact_description = artifact_wooden_phallus_description
|
||||
|
||||
# Add artifact modifiers
|
||||
if = {
|
||||
limit = { rarity = common }
|
||||
add_artifact_modifier = artifact_fertility_gain_1_modifier
|
||||
add_artifact_modifier = artifact_spouse_opinion_add_1_modifier
|
||||
}
|
||||
else_if = {
|
||||
limit = { rarity = masterwork }
|
||||
add_artifact_modifier = artifact_fertility_gain_2_modifier
|
||||
add_artifact_modifier = artifact_spouse_opinion_add_2_modifier
|
||||
}
|
||||
else_if = {
|
||||
limit = { rarity = famed }
|
||||
add_artifact_modifier = artifact_fertility_gain_3_modifier
|
||||
add_artifact_modifier = artifact_spouse_opinion_add_3_modifier
|
||||
add_artifact_modifier = artifact_seduce_scheme_phase_duration_add_1_modifier
|
||||
}
|
||||
else_if = {
|
||||
limit = { rarity = illustrious }
|
||||
add_artifact_modifier = artifact_fertility_gain_4_modifier
|
||||
add_artifact_modifier = artifact_spouse_opinion_add_4_modifier
|
||||
add_artifact_modifier = artifact_seduce_scheme_phase_duration_add_2_modifier
|
||||
}
|
||||
remove_artifact_modifier = artifact_placeholder_modifier
|
||||
|
||||
set_variable = commissioned_wooden_phallus
|
||||
set_variable = {
|
||||
name = quality
|
||||
value = scope:quality
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
###############
|
||||
|
|
@ -1270,6 +1354,7 @@ create_artifact_goblet_effect = {
|
|||
# Get the character the artifact is being made for.
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
$SMITH$ = { save_scope_as = goldsmith }
|
||||
save_adventurer_location_effect = yes
|
||||
|
||||
hidden_effect_new_object = {
|
||||
# Get artifact quality, wealth, and materials
|
||||
|
|
@ -1478,7 +1563,6 @@ create_artifact_wall_banner_effect = {
|
|||
grant_banner_house_claim_effect = yes
|
||||
set_artifact_description = artifact_wall_banner_dynasty_description # For commissioner flavor
|
||||
}
|
||||
remove_variable = banner_from_dynasty
|
||||
}
|
||||
else_if = { #House Banner
|
||||
limit = { has_variable = banner_from_house }
|
||||
|
|
@ -1501,7 +1585,6 @@ create_artifact_wall_banner_effect = {
|
|||
location = scope:owner.capital_province
|
||||
}
|
||||
}
|
||||
remove_variable = startup_banner
|
||||
}
|
||||
else = { #Created Banner
|
||||
create_artifact = {
|
||||
|
|
@ -1571,6 +1654,19 @@ create_artifact_wall_banner_effect = {
|
|||
scope:newly_created_artifact = {
|
||||
add_scaled_artifact_modifier_grandeur_small_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
scope:owner = {
|
||||
has_variable = {
|
||||
name = banner_from_dynasty #Dynasty Banner
|
||||
name = banner_from_house #House Banner
|
||||
}
|
||||
}
|
||||
}
|
||||
add_scaled_artifact_modifier_dynasty_prestige_effect = yes
|
||||
add_scaled_artifact_modifier_prestige_effect = yes
|
||||
add_scaled_artifact_modifier_rulership_effect = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
exists = scope:epic_loser
|
||||
}
|
||||
|
|
@ -2063,6 +2159,16 @@ create_artifact_wall_banner_effect = {
|
|||
}
|
||||
remove_artifact_modifier = artifact_placeholder_modifier
|
||||
}
|
||||
scope:owner = {
|
||||
if = {
|
||||
limit = { has_variable = banner_from_dynasty }
|
||||
remove_variable = banner_from_dynasty
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_variable = banner_from_house }
|
||||
remove_variable = banner_from_house
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2163,11 +2269,9 @@ create_artifact_sculpture_effect = {
|
|||
}
|
||||
}
|
||||
scope:owner = {
|
||||
faith = {
|
||||
OR = {
|
||||
has_doctrine = tenet_aniconism
|
||||
religion = religion:islam_religion
|
||||
}
|
||||
OR = {
|
||||
rite = { rite_has_tenet = tenet_aniconism }
|
||||
faith.religion = religion:islam_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2221,12 +2325,10 @@ create_artifact_sculpture_effect = {
|
|||
artifact_use_steppe_building_visuals_trigger = yes
|
||||
}
|
||||
}
|
||||
scope:owner = { #An owner who follows an aniconic faith will never want a statue that portrays a human
|
||||
faith = {
|
||||
OR = {
|
||||
has_doctrine = tenet_aniconism
|
||||
religion = religion:islam_religion
|
||||
}
|
||||
scope:owner = { #An owner who follows an aniconic rite will never want a statue that portrays a human
|
||||
OR = {
|
||||
rite = { rite_has_tenet = tenet_aniconism }
|
||||
faith.religion = religion:islam_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2349,6 +2451,7 @@ create_artifact_pedestal_religious_head_letter_effect = {
|
|||
#The crucifix should be preferred by non-aniconic Christian faiths
|
||||
create_artifact_pedestal_crucifix_effect = {
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
$CREATOR$ = { save_scope_as = creator }
|
||||
|
||||
get_artifact_quality_effect = yes
|
||||
get_artifact_wealth_effect = yes
|
||||
|
|
@ -2356,10 +2459,10 @@ create_artifact_pedestal_crucifix_effect = {
|
|||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = artifact_pedestal_crucifix_name
|
||||
creator = scope:owner
|
||||
creator = scope:creator
|
||||
description = artifact_pedestal_crucifix_description
|
||||
visuals = cross
|
||||
type = pedestal
|
||||
visuals = crucifix
|
||||
type = wall_big
|
||||
template = cross_template
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
|
|
@ -2388,6 +2491,7 @@ create_artifact_pedestal_crucifix_effect = {
|
|||
#The cross is for aniconic Christian faiths
|
||||
create_artifact_pedestal_cross_effect = {
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
$CREATOR$ = { save_scope_as = creator }
|
||||
|
||||
get_artifact_quality_effect = yes
|
||||
get_artifact_wealth_effect = yes
|
||||
|
|
@ -2396,6 +2500,7 @@ create_artifact_pedestal_cross_effect = {
|
|||
create_artifact = {
|
||||
name = artifact_pedestal_cross_name
|
||||
description = artifact_pedestal_cross_description
|
||||
creator = scope:creator
|
||||
visuals = cross
|
||||
type = pedestal
|
||||
template = cross_template
|
||||
|
|
@ -3697,6 +3802,67 @@ get_book_content_quality_effect = {
|
|||
#}
|
||||
# This will give you a book with no known author about intrigue with a random topic.
|
||||
|
||||
# Base effect handles selecting visuals depending on if there is a defined author, and whether they or the owner makes indian books or not
|
||||
create_artifact_book_base_effect = {
|
||||
if = {
|
||||
limit = { exists = scope:author }
|
||||
if = {
|
||||
limit = { scope:author = { artifacts_use_indian_books_trigger = yes } }
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
creator = scope:author
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = indian_book
|
||||
type = $TYPE$
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
creator = scope:author
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = book
|
||||
type = $TYPE$
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = { artifacts_use_indian_books_trigger = yes }
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = indian_book
|
||||
type = $TYPE$
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = book
|
||||
type = $TYPE$
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
create_artifact_book_effect = {
|
||||
$OWNER$ = { save_scope_as = owner } #Will always exist!
|
||||
$CREATOR$ = { #Doesn't always exist
|
||||
|
|
@ -3731,186 +3897,24 @@ create_artifact_book_effect = {
|
|||
# Get artifact quality and wealth
|
||||
get_artifact_quality_effect = yes
|
||||
get_artifact_wealth_effect = yes
|
||||
|
||||
|
||||
# To save the subject, topic, and other variables we'll need if it has been set in events or in the effect
|
||||
get_book_variables_effect = yes
|
||||
|
||||
if = { #Should this be a court artifact?
|
||||
limit = {
|
||||
has_royal_court = yes
|
||||
has_dlc_feature = court_artifacts
|
||||
NOT = { exists = scope:should_be_trinket }
|
||||
}
|
||||
if = { #Do we have an author?
|
||||
scope:owner = {
|
||||
if = { #Should this be a court artifact?
|
||||
limit = {
|
||||
exists = scope:author
|
||||
}
|
||||
if = { #Is this author using Palm Leaf (indian) books?
|
||||
limit = {
|
||||
scope:author = { artifacts_use_indian_books_trigger = yes }
|
||||
}
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
creator = scope:author
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = indian_book
|
||||
type = book
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
#decaying = no
|
||||
}
|
||||
}
|
||||
}
|
||||
else = { #Codices/Non-Indian books
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
creator = scope:author
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = book
|
||||
type = book
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
#decaying = no
|
||||
}
|
||||
}
|
||||
has_royal_court = yes
|
||||
has_dlc_feature = court_artifacts
|
||||
NOT = { exists = scope:should_be_trinket }
|
||||
}
|
||||
create_artifact_book_base_effect = { TYPE = book }
|
||||
}
|
||||
else = { #We don't have an author
|
||||
if = {
|
||||
limit = { #Is this a palm leaf/indian book?
|
||||
scope:owner = { artifacts_use_indian_books_trigger = yes }
|
||||
}
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = indian_book
|
||||
type = book
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
#decaying = no
|
||||
}
|
||||
}
|
||||
}
|
||||
else = { #This is a codex/non-indian book:
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = book
|
||||
type = book
|
||||
history = { type = created_before_history } # We don't know who wrote it
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
#decaying = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = { #This is a court artifact
|
||||
if = {
|
||||
limit = {
|
||||
exists = scope:author #We have an author
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:author = { artifacts_use_indian_books_trigger = yes }
|
||||
}
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
creator = scope:author
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = indian_book
|
||||
type = journal
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
# Subject and cover material is set as a required feature for a book-type artifact, but for a miscellaneous-type it's an optional feature, so we need to set it here
|
||||
scope:newly_created_artifact = {
|
||||
set_artifact_feature_group = book_subject
|
||||
set_artifact_feature_group = book_cover_material
|
||||
}
|
||||
}
|
||||
else = { #This is a codex/non-indian book
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
creator = scope:author
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = book
|
||||
type = journal
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
|
||||
}
|
||||
}
|
||||
# Subject and cover material is set as a required feature for a book-type artifact, but for a miscellaneous-type it's an optional feature, so we need to set it here
|
||||
scope:newly_created_artifact = {
|
||||
set_artifact_feature_group = book_subject
|
||||
set_artifact_feature_group = book_cover_material
|
||||
}
|
||||
}
|
||||
}
|
||||
else = { #We don't have an author
|
||||
if = {
|
||||
limit = { #Is this a palm-leaf/indian book?
|
||||
scope:owner = { artifacts_use_indian_books_trigger = yes }
|
||||
}
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = indian_book
|
||||
type = journal
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
# Subject and cover material is set as a required feature for a book-type artifact, but for a miscellaneous-type it's an optional feature, so we need to set it here
|
||||
scope:newly_created_artifact = {
|
||||
set_artifact_feature_group = book_subject
|
||||
set_artifact_feature_group = book_cover_material
|
||||
}
|
||||
}
|
||||
else = { #This isn't a palm leaf/indian book
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = placeholder # Will be regenerated in the post-creation effects
|
||||
description = placeholder # Will be regenerated in the post-creation effects
|
||||
visuals = book
|
||||
type = journal
|
||||
history = { type = created_before_history } # We don't know who wrote it
|
||||
modifier = artifact_placeholder_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
# Subject and cover material is set as a required feature for a book-type artifact, but for a miscellaneous-type it's an optional feature, so we need to set it here
|
||||
scope:newly_created_artifact = {
|
||||
set_artifact_feature_group = book_subject
|
||||
set_artifact_feature_group = book_cover_material
|
||||
}
|
||||
else = { #This is a personal artifact
|
||||
create_artifact_book_base_effect = { TYPE = journal }
|
||||
scope:newly_created_artifact = {
|
||||
set_artifact_feature_group = book_subject
|
||||
set_artifact_feature_group = book_cover_material
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4301,7 +4305,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { scope:owner.faith = { has_doctrine_parameter = witchcraft_accepted } }
|
||||
NOT = { scope:owner.rite = { rite_has_parameter = witchcraft_accepted } }
|
||||
}
|
||||
add_artifact_modifier = artifact_clergy_opinion_penalty_2_modifier
|
||||
}
|
||||
|
|
@ -4366,19 +4370,19 @@ create_artifact_book_effect = {
|
|||
AND = {
|
||||
has_artifact_feature = book_subject_cannibal
|
||||
NOT = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = scope:owner.faith GENDER_CHARACTER = scope:owner }
|
||||
trait_is_criminal_in_rite_trigger = { TRAIT = trait:cannibal RITE = scope:owner.rite GENDER_CHARACTER = scope:owner }
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
has_artifact_feature = book_subject_witch
|
||||
NOT = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = scope:owner.faith GENDER_CHARACTER = scope:owner }
|
||||
trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = scope:owner.rite GENDER_CHARACTER = scope:owner }
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
has_artifact_feature = book_subject_deviant
|
||||
NOT = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = scope:owner.faith GENDER_CHARACTER = scope:owner }
|
||||
trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = scope:owner.rite GENDER_CHARACTER = scope:owner }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4406,7 +4410,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { # Vassal Opinion
|
||||
limit = {
|
||||
scope:story = { has_variable = opinion_artifact }
|
||||
scope:story ?= { has_variable = opinion_artifact }
|
||||
}
|
||||
if = {
|
||||
limit = { rarity = illustrious }
|
||||
|
|
@ -4434,7 +4438,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { # Scheme Resistance
|
||||
limit = {
|
||||
scope:story = { has_variable = scheme_artifact }
|
||||
scope:story ?= { has_variable = scheme_artifact }
|
||||
}
|
||||
if = { # 8
|
||||
limit = { rarity = illustrious }
|
||||
|
|
@ -4461,7 +4465,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { # Controlled Province Advantage
|
||||
limit = {
|
||||
scope:story = { has_variable = advantage_artifact }
|
||||
scope:story ?= { has_variable = advantage_artifact }
|
||||
}
|
||||
if = { # 10
|
||||
limit = { rarity = illustrious }
|
||||
|
|
@ -4483,7 +4487,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { # Personal Scheme Success Chance
|
||||
limit = {
|
||||
scope:story = { has_variable = sway_artifact }
|
||||
scope:story ?= { has_variable = sway_artifact }
|
||||
}
|
||||
if = { # 10
|
||||
limit = { rarity = illustrious }
|
||||
|
|
@ -4506,7 +4510,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { # Monthly Piety + Same Faith Domain Tax
|
||||
limit = {
|
||||
scope:story = { has_variable = piety_artifact }
|
||||
scope:story ?= { has_variable = piety_artifact }
|
||||
}
|
||||
if = { # 0.4 + 1
|
||||
limit = { rarity = illustrious }
|
||||
|
|
@ -5880,6 +5884,15 @@ create_artifact_book_effect = {
|
|||
add_artifact_modifier = artifact_learn_language_scheme_phase_duration_add_1_modifier
|
||||
remove_artifact_modifier = artifact_placeholder_modifier
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_artifact_feature = book_subject_religious_text
|
||||
}
|
||||
add_artifact_modifier = artifact_study_faith_scheme_phase_duration_add_1_modifier
|
||||
add_scaled_artifact_modifier_piety_effect = yes
|
||||
add_artifact_modifier = artifact_monthly_learning_lifestyle_xp_1_modifier
|
||||
remove_artifact_modifier = artifact_placeholder_modifier
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
trigger_if = {
|
||||
|
|
@ -6276,7 +6289,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { #We give a bigger boost here if it's illegal since they get nothing else
|
||||
limit = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:cannibal FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_rite_trigger = { TRAIT = trait:cannibal RITE = root.rite GENDER_CHARACTER = root }
|
||||
}
|
||||
add_artifact_modifier = artifact_dread_baseline_add_2_modifier
|
||||
add_artifact_modifier = artifact_vassal_opinion_penalty_1_modifier
|
||||
|
|
@ -6308,7 +6321,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { #We give a bigger boost here if it's illegal since they get nothing else
|
||||
limit = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:witch FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_rite_trigger = { TRAIT = trait:witch RITE = root.rite GENDER_CHARACTER = root }
|
||||
}
|
||||
add_artifact_modifier = artifact_dread_gain_mult_2_modifier
|
||||
add_artifact_modifier = artifact_monthly_learning_lifestyle_xp_2_modifier
|
||||
|
|
@ -6324,7 +6337,7 @@ create_artifact_book_effect = {
|
|||
}
|
||||
if = { #We give a bigger boost here if it's illegal since they get nothing else
|
||||
limit = {
|
||||
trait_is_criminal_in_faith_trigger = { TRAIT = trait:deviant FAITH = root.faith GENDER_CHARACTER = root }
|
||||
trait_is_criminal_in_rite_trigger = { TRAIT = trait:deviant RITE = root.rite GENDER_CHARACTER = root }
|
||||
}
|
||||
add_artifact_modifier = artifact_vassal_opinion_penalty_1_modifier
|
||||
add_artifact_modifier = artifact_stress_gain_2_modifier
|
||||
|
|
@ -6507,8 +6520,8 @@ create_artifact_pedestal_reliquary_christian_effect = {
|
|||
add_scaled_artifact_modifier_devotion_effect = yes
|
||||
add_scaled_artifact_modifier_grandeur_small_effect = yes
|
||||
set_variable = {
|
||||
name = relic
|
||||
value = flag:christian
|
||||
name = relic_religion
|
||||
value = religion:christianity_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6585,8 +6598,8 @@ create_artifact_pedestal_reliquary_islam_effect = {
|
|||
add_scaled_artifact_modifier_devotion_effect = yes
|
||||
add_scaled_artifact_modifier_grandeur_small_effect = yes
|
||||
set_variable = {
|
||||
name = relic
|
||||
value = flag:islamic
|
||||
name = relic_religion
|
||||
value = religion:islam_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6669,8 +6682,8 @@ create_artifact_pedestal_reliquary_buddhism_effect = {
|
|||
add_scaled_artifact_modifier_devotion_effect = yes
|
||||
add_scaled_artifact_modifier_grandeur_small_effect = yes
|
||||
set_variable = {
|
||||
name = relic
|
||||
value = flag:buddhism
|
||||
name = relic_religion
|
||||
value = religion:buddhism_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6712,8 +6725,8 @@ create_artifact_pedestal_reliquary_judaism_effect = {
|
|||
add_scaled_artifact_modifier_grandeur_small_effect = yes
|
||||
save_scope_as = epic
|
||||
set_variable = {
|
||||
name = relic
|
||||
value = flag:judaism
|
||||
name = relic_religion
|
||||
value = religion:judaism_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6763,22 +6776,119 @@ create_artifact_pedestal_reliquary_fracture_effect = {
|
|||
|
||||
create_artifact_sculpture_religious_effect = {
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
$CREATOR$ = { save_scope_as = creator }
|
||||
|
||||
get_artifact_quality_effect = yes
|
||||
get_artifact_wealth_effect = yes
|
||||
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_name
|
||||
description = artifact_sculpture_religious_description
|
||||
creator = scope:owner
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
random_list = { # To have different statue names
|
||||
1 = {
|
||||
trigger = { religion != religion:christianity_religion }
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_highgod_name
|
||||
description = artifact_sculpture_religious_highgod_description
|
||||
creator = scope:creator
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
trigger = { religion = religion:christianity_religion }
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_mary_name
|
||||
description = artifact_sculpture_religious_mary_description
|
||||
creator = scope:creator
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
set_variable = statue_artifact_female_gender
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_health_name
|
||||
description = artifact_sculpture_religious_health_description
|
||||
creator = scope:creator
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_fertility_name
|
||||
description = artifact_sculpture_religious_fertility_description
|
||||
creator = scope:creator
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
scope:newly_created_artifact = {
|
||||
set_variable = religious_fertility_statue
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_wealth_name
|
||||
description = artifact_sculpture_religious_wealth_description
|
||||
creator = scope:creator
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_war_name
|
||||
description = artifact_sculpture_religious_war_description
|
||||
creator = scope:creator
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
create_artifact = {
|
||||
name = artifact_sculpture_religious_knowledge_name
|
||||
description = artifact_sculpture_religious_knowledge_description
|
||||
creator = scope:creator
|
||||
visuals = statue
|
||||
type = sculpture
|
||||
template = religious_statue_template
|
||||
modifier = artifact_monthly_piety_3_modifier
|
||||
save_scope_as = newly_created_artifact
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue