effects
This commit is contained in:
parent
eaf472631b
commit
60fbfc1893
15 changed files with 2845 additions and 1349 deletions
|
|
@ -533,13 +533,43 @@ add_excommunication_tooltip_only_effect = {
|
|||
}
|
||||
}
|
||||
add_excommunication_actual_effect = {
|
||||
custom_tooltip = {
|
||||
text = get_excommunicated_tt
|
||||
add_trait = excommunicated
|
||||
}
|
||||
add_character_modifier = { # Minor negative modifier that stops us from immediately getting our excommunication recinded (so you have a guaranteed 'penance period').
|
||||
modifier = recent_excommunication
|
||||
days = 365
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_trait = excommunicated }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = get_excommunicated_tt
|
||||
add_trait = excommunicated
|
||||
}
|
||||
add_character_modifier = { # Minor negative modifier that stops us from immediately getting our excommunication recinded (so you have a guaranteed 'penance period').
|
||||
modifier = recent_excommunication
|
||||
days = 365
|
||||
}
|
||||
#Guelphs & Ghibellines
|
||||
if = {
|
||||
limit = {
|
||||
exists = situation:guelph_ghibelline
|
||||
exists = scope:requesting_character
|
||||
gg_phase_is_pre_gg_trigger = yes
|
||||
is_ghibelline_trigger = yes
|
||||
}
|
||||
if = {
|
||||
limit = { is_ghibelline_leader_trigger = yes }
|
||||
gg_triggered_catalyst_effect = {
|
||||
ACTOR = scope:requesting_character
|
||||
RECIPIENT = scope:target_character
|
||||
CATALYST = catalyst_excommunicated_hre
|
||||
}
|
||||
}
|
||||
else = {
|
||||
gg_triggered_catalyst_effect = {
|
||||
ACTOR = scope:requesting_character
|
||||
RECIPIENT = scope:target_character
|
||||
CATALYST = catalyst_excommunicated_ghibellines
|
||||
}
|
||||
}
|
||||
scope:requesting_character = { gg_involvement_catalyst_effect = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -563,6 +593,25 @@ create_holy_order_neutral_effect = {
|
|||
capital = $CAPITAL$
|
||||
save_scope_as = $NEW_HO_SCOPE$
|
||||
}
|
||||
# Struggle Catalysts.
|
||||
$FOUNDER$ = {
|
||||
if = {
|
||||
limit = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
phase_has_catalyst = catalyst_creating_a_holy_order
|
||||
}
|
||||
}
|
||||
every_character_struggle = {
|
||||
involvement = involved
|
||||
limit = { phase_has_catalyst = catalyst_creating_a_holy_order }
|
||||
activate_struggle_catalyst = {
|
||||
catalyst = catalyst_creating_a_holy_order
|
||||
character = $FOUNDER$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Get random faith
|
||||
|
|
@ -814,16 +863,21 @@ remove_sinful_trait_effect = {
|
|||
scope:trait_changer.rite = {
|
||||
trait_is_sin_rite = prev
|
||||
}
|
||||
trait_can_be_edited_by_yourself_trigger = yes
|
||||
}
|
||||
save_scope_as = sinful_trait
|
||||
}
|
||||
remove_trait = scope:sinful_trait
|
||||
if = {
|
||||
limit = { exists = scope:sinful_trait }
|
||||
remove_trait = scope:sinful_trait
|
||||
}
|
||||
}
|
||||
|
||||
add_virtuous_trait_effect = {
|
||||
save_scope_as = trait_changer
|
||||
random_trait = {
|
||||
limit = {
|
||||
trait_can_be_edited_by_yourself_trigger = yes
|
||||
save_temporary_scope_as = temp_trait
|
||||
scope:trait_changer.rite = {
|
||||
trait_is_virtue_rite = prev
|
||||
|
|
@ -851,6 +905,23 @@ add_virtuous_trait_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 100
|
||||
scope:trait_changer = {
|
||||
number_of_personality_traits < 3
|
||||
}
|
||||
has_trait_category = personality
|
||||
}
|
||||
modifier = {
|
||||
add = -1
|
||||
scope:trait_changer = {
|
||||
number_of_personality_traits > 3
|
||||
}
|
||||
has_trait_category = personality
|
||||
}
|
||||
}
|
||||
save_scope_as = virtuous_trait
|
||||
}
|
||||
add_trait_force_tooltip = scope:virtuous_trait
|
||||
|
|
@ -1322,30 +1393,30 @@ release_dynamic_holy_site_kingdom_effect = {
|
|||
}
|
||||
|
||||
# Province scope, $FAITH$ = faith, used at start and on new holy-site creation
|
||||
add_holy_site_fallback_special_building_slot_effect = {
|
||||
add_holy_site_fallback_special_district_slot_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_special_building_slot = no
|
||||
has_special_district_slot = no
|
||||
}
|
||||
if = {
|
||||
limit = { $FAITH$ = { religion = religion:islam_religion } }
|
||||
add_special_building_slot = holy_site_mosque_01
|
||||
add_special_district_slot = holy_site_mosque_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = { $FAITH$ = { religion = religion:christianity_religion } }
|
||||
add_special_building_slot = holy_site_cathedral_01
|
||||
add_special_district_slot = holy_site_cathedral_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = { $FAITH$ = { religion = religion:zoroastrianism_religion } }
|
||||
add_special_building_slot = holy_site_fire_temple_01
|
||||
add_special_district_slot = holy_site_fire_temple_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = { $FAITH$ = { religion = religion:buddhism_religion } }
|
||||
add_special_building_slot = holy_site_buddhist_grand_temple_01
|
||||
add_special_district_slot = holy_site_buddhist_grand_temple_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = { $FAITH$ = { religion = religion:shintoism_religion } }
|
||||
add_special_building_slot = holy_site_japanese_temple_01
|
||||
add_special_district_slot = holy_site_japanese_temple_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
|
|
@ -1356,7 +1427,7 @@ add_holy_site_fallback_special_building_slot_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
add_special_building_slot = holy_site_chinese_temple_01
|
||||
add_special_district_slot = holy_site_chinese_temple_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
|
|
@ -1371,7 +1442,7 @@ add_holy_site_fallback_special_building_slot_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
add_special_building_slot = holy_site_indian_grand_temple_01
|
||||
add_special_district_slot = holy_site_indian_grand_temple_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
|
|
@ -1390,14 +1461,14 @@ add_holy_site_fallback_special_building_slot_effect = {
|
|||
}
|
||||
}
|
||||
}
|
||||
add_special_building_slot = holy_site_se_asia_pagan_temple_01
|
||||
add_special_district_slot = holy_site_se_asia_pagan_temple_01_district
|
||||
}
|
||||
else_if = {
|
||||
limit = { $FAITH$ = { religion = { is_in_family = rf_pagan } } }
|
||||
add_special_building_slot = holy_site_pagan_grand_temple_01
|
||||
add_special_district_slot = holy_site_pagan_grand_temple_01_district
|
||||
}
|
||||
else = {
|
||||
add_special_building_slot = holy_site_other_grand_temple_01
|
||||
add_special_district_slot = holy_site_other_grand_temple_01_district
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue