activities updated

This commit is contained in:
trashmasteruni 2026-11-18 14:47:33 +01:00
parent ef5c85035f
commit 014cb5d5a3
14 changed files with 822 additions and 14464 deletions

View file

@ -1,885 +0,0 @@
activity_camp_party = {
is_shown = {
has_ep3_dlc_trigger = yes
has_government = landless_adventurer_government
is_adult = yes
}
can_start_showing_failures_only = {
NOT = { is_activity_type_on_cooldown = activity_camp_party }
is_available = yes
}
is_valid = {
scope:host = {
is_alive = yes
is_imprisoned = no
has_government = landless_adventurer_government
is_incapable = no
}
}
on_invalidated = {
invalidation_incapable_effect = yes
invalidation_imprisoned_effect = yes
invalidation_nobody_present_effect = yes
invalidation_host_isolated_effect = yes
}
on_host_death = {
activity_try_use_new_host_effect = yes
}
province_filter = domicile_domain
ai_province_filter = domicile_domain
max_province_icons = 1
allow_zero_guest_invites = no
open_invite = no
province_description = {
desc = activity_camp_party_province_desc
}
province_score = {
add = camp_party_province_reference_value
}
cost = {
gold = {
add = {
add = {
value = standard_camp_party_activity_cost
desc = hunt_base_cost
}
if = {
limit = {
has_character_modifier = journey_communal_modifier
}
multiply = {
value = 0.8
desc = journey_communal_modifier
}
}
}
}
}
ui_predicted_cost = {
gold = {
# Base Cost
value = standard_camp_party_activity_cost
# Make it a multiple of 5 (rounded up)
divide = 5
ceiling = yes
multiply = 5
}
}
cooldown = { years = standard_camp_party_cooldown_time }
###################
# PHASES AND OPTIONS
###################
phases = {
phase_camp_party = {
is_predefined = yes
location_source = pickable
ai_will_do = {
value = 0
add = {
value = 30
desc = "Base test value"
}
}
on_phase_active = {
if = {
limit = { this = scope:host }
scope:host = {
trigger_event = {
id = ep3_camp_party.0009
days = 89
}
}
scope:activity = {
#Phase progression
progress_activity_phase_after = { days = 90 }
#Loc
activity_location = { save_scope_as = location }
}
#Arrival event
trigger_event = ep3_camp_party.0001
}
}
on_monthly_pulse = {
if = {
limit = { this = scope:host }
trigger_event = { on_action = camp_party_destination_events }
}
}
}
}
options = {
#Food options: upgrades locked behind Supply Tent
camp_party_option_food = {
camp_party_food_none = { #Default
default = yes
ai_will_do = {
value = 0
# Financial preference.
add = activity_option_likes_cheap_expense_value
# Quantity preference.
add = activity_option_food_prefers_small_volume_value
}
}
camp_party_food_simple = { #locked behind Supply Tent
is_shown = { always = yes }
is_valid = {
pam_vows_of_poverty_premium_activity_option_valid_trigger = yes
custom_tooltip = {
text = camp_party_food_options_invalid
domicile ?= {
has_domicile_parameter = camp_unlocks_camp_party_food_option
}
}
}
cost = {
gold = {
add = {
desc = camp_party_food_simple
add = {
value = 5
desc = camp_party_food_simple
}
add = {
value = 5
multiply = activity_cost_scale_by_tier
subtract = 5
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 5
multiply = activity_cost_scale_by_era
subtract = 5
desc = activity_cost_scale_by_era_desc
}
if = {
limit = {
dynasty ?= {
has_dynasty_perk = law_legacy_1
}
}
subtract = {
value = 5
add = {
value = 5
multiply = activity_cost_scale_by_tier
subtract = 5
}
add = {
value = 5
multiply = activity_cost_scale_by_era
subtract = 5
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
}
}
min = 0
}
}
}
ai_will_do = {
value = 0
# Financial preference.
add = activity_option_likes_middling_expense_value
# Quantity preference.
## We just use slightly reduced quantity prefs here.
add = {
value = activity_option_prefers_large_volume_value
multiply = 0.3
}
}
}
camp_party_food_lavish = {
is_shown = { always = yes }
is_valid = {
pam_vows_of_poverty_premium_activity_option_valid_trigger = yes
custom_tooltip = {
text = camp_party_food_options_invalid
domicile ?= {
has_domicile_parameter = camp_unlocks_camp_party_food_option
}
}
}
cost = {
gold = {
add = {
desc = camp_party_food_lavish
add = {
value = 15
desc = camp_party_food_lavish
}
add = {
value = 15
multiply = activity_cost_scale_by_tier
subtract = 15
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 15
multiply = activity_cost_scale_by_era
subtract = 15
desc = activity_cost_scale_by_era_desc
}
if = {
limit = {
dynasty ?= {
has_dynasty_perk = law_legacy_1
}
}
subtract = {
value = 15
add = {
value = 15
multiply = activity_cost_scale_by_tier
subtract = 15
}
add = {
value = 15
multiply = activity_cost_scale_by_era
subtract = 15
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
}
}
min = 0
}
}
}
ai_will_do = {
value = 0
# Financial preference.
add = activity_option_likes_middling_expense_value
# Quantity preference.
## We just use slightly reduced quantity prefs here.
add = {
value = activity_option_prefers_large_volume_value
multiply = 0.6
}
}
}
}
#Drinks options: upgrades locked behind Mess Tent & Mobile Brewery
camp_party_option_drinks = {
camp_party_drinks_none = { #Default
default = yes
ai_will_do = {
value = 0
# Financial preference.
add = activity_option_likes_cheap_expense_value
# Quantity preference.
add = activity_option_food_prefers_small_volume_value
}
}
camp_party_drinks_adequate = { #locked behind Mess Tent
is_shown = { always = yes }
is_valid = {
pam_vows_of_poverty_premium_activity_option_valid_trigger = yes
custom_tooltip = {
text = camp_party_drinks_adequate_invalid
domicile ?= {
has_domicile_building_or_higher = mess_tent_01
}
}
}
cost = {
gold = {
add = {
desc = camp_party_drinks_adequate
add = {
value = 10
desc = camp_party_drinks_adequate
}
add = {
value = 10
multiply = activity_cost_scale_by_tier
subtract = 10
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 10
multiply = activity_cost_scale_by_era
subtract = 10
desc = activity_cost_scale_by_era_desc
}
if = {
limit = {
dynasty ?= {
has_dynasty_perk = law_legacy_1
}
}
subtract = {
value = 10
add = {
value = 10
multiply = activity_cost_scale_by_tier
subtract = 10
}
add = {
value = 10
multiply = activity_cost_scale_by_era
subtract = 10
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
}
}
min = 0
}
}
}
ai_will_do = {
value = 0
# Financial preference.
add = activity_option_likes_middling_expense_value
# Quantity preference.
## We just use slightly reduced quantity prefs here.
add = {
value = activity_option_prefers_large_volume_value
multiply = 0.3
}
}
}
camp_party_drinks_abundant = { #locked behind Mobile Brewery
is_shown = { always = yes }
is_valid = {
pam_vows_of_poverty_premium_activity_option_valid_trigger = yes
custom_tooltip = {
text = camp_party_drinks_abundant_invalid
domicile ?= {
has_domicile_building_or_higher = mess_tent_brewers
}
}
}
cost = {
gold = {
add = {
desc = camp_party_drinks_abundant
add = {
value = 20
desc = camp_party_drinks_abundant
}
add = {
value = 20
multiply = activity_cost_scale_by_tier
subtract = 20
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 20
multiply = activity_cost_scale_by_era
subtract = 20
desc = activity_cost_scale_by_era_desc
}
if = {
limit = {
dynasty ?= {
has_dynasty_perk = law_legacy_1
}
}
subtract = {
value = 35
add = {
value = 35
multiply = activity_cost_scale_by_tier
subtract = 35
}
add = {
value = 35
multiply = activity_cost_scale_by_era
subtract = 35
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
}
}
min = 0
}
}
}
ai_will_do = {
value = 0
# Financial preference.
add = activity_option_likes_middling_expense_value
# Quantity preference.
## We just use slightly reduced quantity prefs here.
add = {
value = activity_option_prefers_large_volume_value
multiply = 0.6
}
}
}
}
}
max_guest_arrival_delay_time = { weeks = 1 }
###################
# ACTIVITY-SPECIFIC PULSES
###################
pulse_actions = {
entries = {
apa_bonded_by_fire
apa_taught_repair
apa_revelry_hangover_camp
apa_local_food_camp
apa_lauded_food_camp
apa_guest_of_honor_impressed
apa_cultural_acceptance
apa_camp_host_gifted
apa_fireside_chat_shared_stories_martial
apa_fireside_chat_shared_stories_learning
apa_fireside_chat_shared_stories_diplomacy
apa_fireside_chat_shared_stories_stewardship
apa_fireside_chat_shared_stories_intrigue
apa_fireside_chat_shared_drinks
apa_fireside_chat_inspiring_speech
apa_camp_party_sad_lonesome
apa_camp_party_shadows_in_the_dark
apa_camp_party_fortress_of_solitude
apa_camp_party_lecture
apa_camp_party_tales_of_distant_lands
apa_camp_party_tales_of_war
apa_camp_party_tales_of_lands_lost
apa_camp_party_blademaster_sparring
apa_camp_party_tales_of_piety
#Re-used
host_gains_diplo_xp
host_gains_intrigue_xp
hook_trusting_guest
apa_passive_religious_learning_host
apa_passive_religious_learning_guest
}
chance_of_no_event = 2
}
on_start = {
scope:activity ?= {
activity_setup_special_type_progression_effect = yes
if = {
limit = {
has_activity_option = {
category = camp_party_option_food
option = camp_party_food_simple
}
}
activity_special_type_progression_variable = { NUM = 25 }
}
else_if = {
limit = {
has_activity_option = {
category = camp_party_option_food
option = camp_party_food_lavish
}
}
activity_special_type_progression_variable = { NUM = 50 }
}
}
}
###################
# AI VALUES
###################
# desc is only shown in debug AI watch window
ai_will_do = {
value = 50
if = {
limit = {
has_trait = lazy
}
add = -10
}
#Can you actually afford this?
if = {
limit = {
domicile.provisions <= 100
}
add = -75
}
add = activity_general_ai_will_do_value
}
ai_check_interval = 60
ai_will_select_province = {
value = 10
}
###################
# GUEST HANDLING
###################
host_intents = {
default = reduce_stress_intent
intents = { reduce_stress_intent befriend_attendee_intent fireside_chat_intent }
}
guest_intents = {
intents = { reduce_stress_intent befriend_attendee_intent }
default = reduce_stress_intent
}
can_be_activity_guest = {
OR = { #Follower
AND = {
is_healthy = yes
is_available = yes
age >= 16
is_ai = yes
liege = scope:host
location = scope:host.location
}
AND = { #Local lord
is_healthy = yes
is_available = yes
age >= 16
is_ai = yes
top_liege = this
location = scope:host.location
}
}
}
guest_invite_rules = {
defaults = {
1 = activity_invite_rule_followers
2 = activity_invite_rule_local_lord
2 = activity_invite_rule_friends
2 = activity_invite_rule_potential_friends
2 = activity_invite_rule_lovers
2 = activity_invite_rule_potential_lovers
}
}
special_guests = {
camp_party_honorary_guest = {
is_required = no
can_pick = {
this != scope:host
is_healthy = yes
is_available = yes
age >= 16
is_ai = yes
top_liege = this
location = scope:host.location
}
ai_will_do = {
value = 10
}
}
}
travel_entourage_selection = {
weight = {
value = 10
if = {
limit = {
NOT = { is_in_list = special_guests }
}
multiply = 0
}
}
invite_rule_order = 1
# Up to how many characters to select for a player
max = 2
# Up to how many characters to select for an AI
ai_max = 2
}
max_guests = 50 #Theoretically everyone, practically only around 2-10 usually
guest_join_chance = {
base = 50 #Everyone should accept, but...
base_activity_modifier = yes
# Scripted Modifiers
activity_guest_shared_ai_accept_modifier = yes
modifier = {
is_courtier_of = scope:host
scope:host = {
has_government = landless_adventurer_government
}
add = 100
desc = ACTIVITY_GUEST_ADVENTURER_REASON
}
modifier = { #Emperors
primary_title.tier = tier_hegemony
add = -125
desc = ACTIVITY_GUEST_LANDLESS_REASON
}
modifier = { #Emperors
primary_title.tier = tier_empire
add = -100
desc = ACTIVITY_GUEST_LANDLESS_REASON
}
modifier = { #Kings
primary_title.tier = tier_kingdom
add = -75
desc = ACTIVITY_GUEST_LANDLESS_REASON
}
modifier = { #Dukes
primary_title.tier = tier_duchy
add = -50
desc = ACTIVITY_GUEST_LANDLESS_REASON
}
modifier = { #Counts
primary_title.tier = tier_county
add = -25
desc = ACTIVITY_GUEST_LANDLESS_REASON
}
modifier = { #Barons
primary_title.tier = tier_barony
add = -5
desc = ACTIVITY_GUEST_LANDLESS_REASON
}
}
###################
# GRAPHICS
###################
header_background = "gfx/interface/illustrations/activity_header_backgrounds/activity_camp_party.dds"
#Backgrounds mostly not needed here
background = { #Campfire
trigger = {
scope:host.location = scope:activity.activity_location
}
texture = "gfx/interface/illustrations/event_scenes/ep3_campfire.dds"
environment = "environment_event_bp1_bonfire"
ambience = "event:/SFX/Events/Backgrounds/burning_building"
}
### Plug in widgets
activity_window_widgets = {
activity_special_type_progression = "activity_plugin_widgets_summary"
}
window_characters = {
guest = {
camera = camera_body_right
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
always = yes
}
animation = { drink_goblet happiness flirtation throne_room_conversation_3 throne_room_conversation_1 instrument_idle alto_flute_active }
}
}
}
#Guest of Honor
guest = {
camera = camera_body
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
any_attending_character = {
this = scope:activity.special_guest:camp_party_honorary_guest
location = scope:activity.activity_location
}
}
every_attending_character = {
limit = {
this = scope:activity.special_guest:camp_party_honorary_guest
location = scope:activity.activity_location
}
add_to_list = characters
}
}
else = {
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character = { has_trait = shy }
}
animation = { worry stress boredom fear disbelief paranoia eyeroll drink drink_goblet }
}
triggered_animation = {
trigger = {
scope:character = {
NOT = { has_trait = shy }
}
}
animation = { ecstasy wedding_priest chaplain personality_honorable personality_bold hero_flex }
}
#Fallback
animation = toast_goblet
}
}
host = {
camera = camera_body
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
scope:host = {
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
always = yes
}
animation = { toast_goblet toast lute_active }
}
}
}
guest = {
camera = camera_body
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character = { has_trait = shy }
}
animation = { worry stress boredom fear disbelief paranoia eyeroll drink drink_goblet }
}
triggered_animation = {
trigger = {
scope:character = {
NOT = { has_trait = shy }
}
}
animation = { dancing laugh throne_room_conversation_2 }
}
#Fallback
animation = toast
}
}
guest = {
camera = camera_body_left
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character = { has_trait = shy }
}
animation = { worry stress boredom fear disbelief paranoia eyeroll drink drink_goblet }
}
triggered_animation = {
trigger = {
scope:character = {
NOT = { has_trait = shy }
}
}
animation = { drink eavesdrop wedding_drunk instrument_active }
}
#Fallback
animation = toast
}
}
}
}

View file

@ -32,6 +32,25 @@
invalidation_imprisoned_effect = yes
invalidation_nobody_present_effect = yes
invalidation_host_isolated_effect = yes
# Refund wagers on invalidation
if = {
limit = {
NOT = { has_current_phase = chariot_race_phase_ceremony }
}
every_guest_subset = {
name = spectators
limit = {
is_alive = yes
has_variable = wager_value
}
send_interface_toast = {
type = event_toast_effect_neutral
title = cancel_wager_effect_tt
left_icon = scope:host
add_short_term_gold = var:wager_value
}
}
}
chariot_race_remove_variables_effect = yes
}
@ -278,13 +297,13 @@
add = {
desc = chariot_entertainment_bad
add = {
value = 20
value = 13
desc = chariot_entertainment_bad
}
add = {
value = 20
value = 13
multiply = activity_cost_scale_by_era
subtract = 20
subtract = 13
desc = activity_cost_scale_by_era_desc
}
}
@ -309,13 +328,13 @@
add = {
desc = chariot_entertainment_normal
add = {
value = 50
value = 33
desc = chariot_entertainment_normal
}
add = {
value = 20
value = 13
multiply = activity_cost_scale_by_era
subtract = 20
subtract = 13
desc = activity_cost_scale_by_era_desc
}
}
@ -341,13 +360,13 @@
add = {
desc = chariot_entertainment_good
add = {
value = 100
value = 67
desc = chariot_entertainment_good
}
add = {
value = 20
value = 13
multiply = activity_cost_scale_by_era
subtract = 20
subtract = 13
desc = activity_cost_scale_by_era_desc
}
}
@ -618,6 +637,7 @@
2 = activity_invite_rule_extended_family
2 = activity_invite_rule_guests
1 = activity_invite_rule_landless_adventurers
1 = activity_invite_rule_merchants
}
rules = {
@ -826,11 +846,7 @@
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
@ -1648,19 +1664,7 @@
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { idle }
}
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
chariot_race_honorary_guest_traveling = {
@ -1681,13 +1685,7 @@
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
chariot_race_honorary_guest = {

View file

@ -54,15 +54,7 @@
coronation_anointment_authority_available_trigger = yes
NOT = { scope:coronation_anointment_authority ?= this }
}
custom_tooltip = {
text = activity_coronation_not_approved_anointment
scope:coronation_anointment_authority = {
is_target_in_variable_list = {
name = supported_anointments
target = root
}
}
}
coronation_anointment_approved_trigger = yes
scope:coronation_anointment_authority ?= {
#custom_tooltip = {
# text = activity_coronation_hof_no_anointment_situation
@ -95,6 +87,26 @@
}
NOT = { has_trait = excommunicated }
}
trigger_if = {
limit = {
is_ai = yes
highest_held_title_tier >= tier_empire
OR = {
has_realm_law = crowned_king
AND = {
rite = { rite_has_doctrine = doctrine_imperial_anointment }
coronation_anointment_authority_available_trigger = yes
}
}
}
coronation_anointment_authority_available_trigger = yes
coronation_anointment_approved_trigger = yes
scope:coronation_anointment_authority ?= {
is_available_allow_travelling = yes
NOT = { pam_the_christian_church_no_anointment_trigger = { RULER = root } }
}
}
}
is_location_valid = {
@ -612,6 +624,13 @@
}
add = -90
}
if = {
limit = {
coronation_anointment_authority_available_trigger = yes
coronation_anointment_approved_trigger = no
}
multiply = 0
}
}
}
}
@ -706,7 +725,7 @@
value = coronation_medium_ceremony_value
add = coronation_medium_ceremony_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -775,7 +794,7 @@
value = coronation_medium_ceremony_treasury_value
add = coronation_medium_ceremony_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -911,7 +930,7 @@
value = coronation_large_ceremony_value
add = coronation_large_ceremony_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -980,7 +999,7 @@
value = coronation_large_ceremony_treasury_value
add = coronation_large_ceremony_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -1091,7 +1110,7 @@
trigger_if = {
limit = {
exists = scope:special_option
pam_vows_of_poverty_premium_activity_option_valid_trigger = no
pam_vows_of_poverty_premium_activity_option_valid_trigger = yes
}
NOT = { scope:special_option = flag:coronation_type_anointment }
}
@ -1166,7 +1185,7 @@
value = coronation_medium_feast_value
add = coronation_medium_feast_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -1235,7 +1254,7 @@
value = coronation_medium_feast_treasury_value
add = coronation_medium_feast_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -1373,7 +1392,7 @@
value = coronation_large_feast_value
add = coronation_large_feast_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -1442,7 +1461,7 @@
value = coronation_large_feast_treasury_value
add = coronation_large_feast_realm_size_cost
multiply = activity_cost_scale_by_era
multiply = 0.5
multiply = -0.5
desc = coronation_discount_reg
}
}
@ -1562,6 +1581,13 @@
desc = activity_coronation_holy_site_province
}
triggered_desc = {
trigger = {
has_building_or_higher = royal_chapel_1
}
desc = activity_coronation_royal_chapel_province
}
triggered_desc = {
trigger = {
has_province_modifier = coronation_ancient_tradition_modifier
@ -1625,6 +1651,12 @@
}
add = 20
}
if = {
limit = {
has_building_or_higher = royal_chapel_1
}
add = 20
}
if = {
limit = {
has_province_modifier = coronation_ancient_tradition_modifier
@ -2256,6 +2288,10 @@
is_adult = yes
in_diplomatic_range = scope:host
is_pool_guest = no
NOR = {
government_has_flag = government_is_merchant
is_at_war_with = scope:host
}
}
guest_join_chance = {
@ -2388,6 +2424,15 @@
add = 5
}
}
if = {
limit = {
activity_location = { has_building_or_higher = royal_chapel_1 }
}
change_variable = {
name = activity_special_type_progression
add = 5
}
}
if = {
limit = {
activity_location = { has_province_modifier = coronation_ancient_tradition_modifier }
@ -2951,9 +2996,42 @@
}
}
}
#Guelphs & Ghibellines
if = {
limit = {
has_title = title:e_hre
is_ghibelline_trigger = yes
faith = { religious_head_title ?= title:k_papal_state }
scope:activity = {
has_activity_option = {
category = special_type
option = coronation_type_anointment
}
}
}
scope:activity.var:officiator = { save_scope_as = gg_coronator }
if = {
limit = {
scope:gg_coronator = { pam_is_antipope_trigger = yes }
}
gg_untargeted_catalyst_effect = { CATALYST = catalyst_gg_emperor_crowned_by_antipope }
}
else_if = {
limit = {
faith.religious_head ?= scope:gg_coronator
}
gg_reconciliation_catalyst_effect = {
ACTOR = scope:gg_coronator
RECIPIENT = root
CATALYST = catalyst_gg_emperor_crowned_by_pope
ONCE_A_YEAR = no
}
}
}
}
remove_variable = coronation_primary_title
remove_variable = hide_make_primary_title
remove_variable = coronation_discount
random_knight = {
limit = {
can_unlock_accolade_attribute_trigger = {
@ -3246,19 +3324,7 @@
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { idle }
}
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
# Find a family member/spouse/heir
@ -4291,11 +4357,7 @@
}
}
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"

View file

@ -4,6 +4,8 @@
activity_group_type = grand
#activity_group_type = grand #TODO_PAM TIT-67883 Make into grand activity when the code allows it
is_shown = {
has_pam_dlc_trigger = yes
can_hold_ecumenical_council_trigger = yes
@ -143,10 +145,10 @@
barony ?= { is_holy_site_of = scope:host.faith }
county.holder.faith ?= scope:host.faith
}
AND = { # Grand Cathedral of our faith
county.holder.faith ?= scope:host.faith
has_cathedral_great_project_building_trigger = yes
}
# AND = { # Cathedral Great Project TODO_PAM Make the scripted trigger and add all the Cathedral GP templates
# county.faith ?= scope:host.faith
# county = { has_cathedral_great_project_building_trigger = yes }
# }
AND = { # Large Religious centers of our faith
county.faith ?= scope:host.faith
is_religious_studies_location = yes
@ -168,7 +170,7 @@
trigger = {
OR = {
is_religious_studies_location = yes
has_cathedral_great_project_building_trigger = yes
# barony.county = { has_cathedral_great_project_building_trigger = yes }
}
}
desc = activity_ecumenical_council_cathedral_province
@ -316,10 +318,7 @@
}
if = {
limit = {
OR = {
is_religious_studies_location = yes
has_cathedral_great_project_building_trigger = yes
}
is_religious_studies_location = yes
}
add = {
value = 25
@ -372,6 +371,7 @@
}
}
# Used to show a rough minimum or expected cost at all to plan this
ui_predicted_cost = {
treasury_or_gold = {
if = {
@ -398,6 +398,10 @@
special_option_category = special_type
###################
# OPTIONS
###################
options = {
special_type = {
# Tenet/Doctrinal council
@ -920,11 +924,13 @@
}
}
#TODO_PAM new intents are vague placeholders, they need to mention actual mechanics that they're tied into
host_intents = {
intents = { spiritual_intent_host fervor_intent murder_attendee_intent befriend_attendee_intent }
default = spiritual_intent_host
}
#TODO_PAM new intents are vague placeholders, they need to mention actual mechanics that they're tied into
guest_intents = {
intents = { spiritual_intent fervor_intent clerical_appointment_intent alliance_intent murder_attendee_intent befriend_attendee_intent }
default = spiritual_intent
@ -959,6 +965,7 @@
}
wait_time_before_start = {
# Fixed duration, because it is an open activity
months = ecumenical_council_wait_time_before_start_months
}
@ -1137,11 +1144,7 @@
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
@ -1559,73 +1562,71 @@
environment = "environment_indian_holy_site"
ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
}
background = { #Western generic holy site, gothic
background = { #Western Christian - Gothic exterior
trigger = {
scope:activity ?= {
has_current_phase = ecumenical_council_phase_summons
activity_location ?= {
NOT = {
religion ?= { is_in_family = rf_pagan }
}
}
activity_host ?= {
rite = {
rite_has_doctrine = special_doctrine_is_western_christian_faith
}
pam_church_event_background_is_grand_western_trigger = yes
}
activity_host = { pam_is_western_christian_trigger = yes }
}
current_year >= 900
current_year >= 1130
}
texture = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_western.dds"
environment = "environment_western_wedding"
ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
ambience = "event:/SFX/Events/Backgrounds/temple_christian"
}
background = { #Western generic holy site, mediterranean
background = { #Western Christian - Mediterranean or urban Romanesque exterior
trigger = {
scope:activity ?= {
has_current_phase = ecumenical_council_phase_summons
activity_location ?= {
NOT = {
religion ?= { is_in_family = rf_pagan }
}
}
activity_host ?= {
rite = {
rite_has_doctrine = special_doctrine_is_western_christian_faith
}
OR = {
pam_church_event_background_is_grand_western_pre_gothic_trigger = yes
AND = {
pam_church_event_background_is_developed_trigger = yes
scope:activity.activity_location = { pam_church_background_location_is_mediterranean_or_urban_trigger = yes }
}
}
}
activity_host = { pam_is_western_christian_trigger = yes }
activity_location = { pam_church_background_location_is_mediterranean_or_urban_trigger = yes }
}
current_year >= 900
current_year < 1130
}
texture = "gfx/interface/illustrations/event_scenes/pam_romanesque_church_exterior.dds"
environment = "environment_pam_romanesque_church_exterior"
ambience = "event:/DLC/CE3/SFX/Events/romanesque_church_exterior" #AUDIO CE3
}
background = { #Western Christian - Green Romanesque exterior
trigger = {
scope:activity ?= {
has_current_phase = ecumenical_council_phase_summons
activity_host = { pam_is_western_christian_trigger = yes }
}
current_year >= 900
current_year < 1130
}
texture = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
environment = "environment_western_holy_site"
ambience = "event:/SFX/Events/Backgrounds/temple_christian"
}
background = { #Western Christian - Pre-Romanesque exterior
trigger = {
scope:activity ?= {
has_current_phase = ecumenical_council_phase_summons
activity_host = { pam_is_western_christian_trigger = yes }
}
current_year < 900
}
texture = "gfx/interface/illustrations/event_scenes/pam_pre-romanesque_church_exterior.dds"
environment = "environment_pam_preromanesque_church_exterior"
ambience = "event:/DLC/CE3/SFX/Events/pre-romanesque_church_exterior" #AUDIO CE3
}
background = { #Western generic holy site
trigger = {
scope:activity ?= {
has_current_phase = ecumenical_council_phase_summons
activity_location ?= {
activity_location = {
OR = {
culture ?= { has_graphical_western_culture_group_trigger = yes }
steppe_building_gfx_use_western_trigger = yes
}
NOT = {
religion ?= { is_in_family = rf_pagan }
}
}
activity_host ?= {
rite = {
rite_has_doctrine = special_doctrine_is_western_christian_faith
}
pam_church_event_background_is_developed_trigger = yes
}
}
current_year >= 900
}
texture = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
environment = "environment_western_holy_site"
@ -1635,13 +1636,8 @@
trigger = {
scope:activity ?= {
has_current_phase = ecumenical_council_phase_summons
activity_location ?= {
county.title_province ?= {
has_holding_type = tribal_holding
}
NOT = {
has_holding_type = church_holding
}
activity_location.county.title_province ?= {
has_holding_type = tribal_holding
}
}
}
@ -1649,16 +1645,13 @@
environment = "environment_event_garden"
ambience = "event:/DLC/FP1/SFX/Events/event_temple"
}
background = { #Pre-Romanesque Western generic holy site... and fallback
background = { # Fallback
trigger = {
scope:activity ?= {
has_current_phase = ecumenical_council_phase_summons
activity_host.faith.religion = religion:christianity_religion
}
scope:activity ?= { has_current_phase = ecumenical_council_phase_summons }
}
texture = "gfx/interface/illustrations/event_scenes/pam_pre-romanesque_church_exterior.dds"
environment = "environment_pam_preromanesque_church_exterior"
ambience = "event:/DLC/CE3/SFX/Events/pre-romanesque_church_exterior" #AUDIO CE3
texture = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
environment = "environment_bp2_courtyard"
ambience = "event:/DLC/FP2/SFX/Events/courtyard"
}
## Debates -- Temple Interior
@ -1760,18 +1753,7 @@
environment = "environment_mpo_temple_steppe"
ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
}
background = { #Christian - Grand Cathedral (Western pre-Gothic)
trigger = {
scope:activity ?= {
has_current_phase_any_debate_trigger = yes
activity_host = { pam_church_event_background_is_grand_western_pre_gothic_trigger = yes }
}
}
texture = "gfx/interface/illustrations/event_scenes/church.dds"
environment = "environment_event_church"
ambience = "event:/SFX/Events/Backgrounds/temple_christian"
}
background = { #Christian - Grand Cathedral, Gothic
background = { #Christian - Grand Cathedral
trigger = {
scope:activity ?= {
has_current_phase_any_debate_trigger = yes
@ -1779,7 +1761,7 @@
}
}
texture = "gfx/interface/illustrations/event_scenes/pam_gothic_cathedral_interior.dds"
environment = "environment_pam_gothic_cathedral_interior"
environment = "environment_event_church" # TODO_PAM placeholder environment, replace with bespoke church environment
ambience = "event:/DLC/CE3/SFX/Events/gothic_cathedral_interior"
}
background = { # Christian - Grand Cathedral Eastern (Hagia Sophia)
@ -1804,21 +1786,19 @@
}
}
texture = "gfx/interface/illustrations/event_scenes/pam_romanesque_church_interior.dds"
environment = "environment_pam_romanesque_church_interior"
environment = "environment_event_church" # TODO_PAM placeholder environment, replace with bespoke church environment
ambience = "event:/DLC/CE3/SFX/Events/romanesque_church_interior"
}
background = { #General Christian
trigger = {
scope:activity ?= {
scope:activity ?= {
has_current_phase_any_debate_trigger = yes
activity_host = {
faith = { religion = religion:christianity_religion }
}
scope:host = { religion = religion:christianity_religion }
}
}
texture = "gfx/interface/illustrations/event_scenes/pam_simple_church_western_interior.dds"
environment = "environment_pam_simple_church_western_interior"
ambience = "event:/DLC/CE3/SFX/Events/simple_western_church_interior"
texture = "gfx/interface/illustrations/event_scenes/church.dds"
environment = "environment_event_church"
ambience = "event:/SFX/Events/Backgrounds/temple_christian"
}
background = { #Norse generic holy site
trigger = {
@ -1917,19 +1897,7 @@
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { idle }
}
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
player_guest = {
camera = camera_event_center
@ -1977,157 +1945,8 @@
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { idle }
}
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
clergy_guest_travelling = {
camera = camera_activity_horse
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
ordered_attending_character = {
limit = {
is_clergy = yes
this != scope:host
location != scope:activity.activity_location
}
order_by = {
value = 1
add = {
value = highest_held_title_tier
multiply = 15
}
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { idle }
}
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
}
# Clerical guests stand to the host's right (list before host, matching coronation/feast)
clergy_guest_arrived = {
camera = camera_body_right
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
ordered_attending_character = {
limit = {
is_clergy = yes
this != scope:host
location = scope:activity.activity_location
}
order_by = {
value = 1
add = {
value = highest_held_title_tier
multiply = 15
}
}
add_to_list = characters
}
}
}
scripted_animation = ecumenical_council_clergy_guest_animation_alt
}
clergy_guest = {
camera = camera_body_right
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
ordered_attending_character = {
limit = {
is_clergy = yes
this != scope:host
location = scope:activity.activity_location
}
order_by = {
value = 1
add = {
value = highest_held_title_tier
multiply = 15
}
}
check_range_bounds = no
position = 1
add_to_list = characters
}
}
}
scripted_animation = ecumenical_council_clergy_guest_animation
}
host = {
camera = camera_body
effect = {
if = {
limit = { scope:host = { location = scope:activity.activity_location } }
}
scope:host ?= { add_to_list = characters }
}
scripted_animation = ecumenical_council_host_animation
}
travel_host = {
camera = camera_event_horse_left
effect = {
if = {
limit = {
NOT = {
scope:host.location = scope:activity.activity_location
}
}
scope:host = {
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { idle }
}
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
}
# Lay guests stand to the host's left
non_clergy_guest_arrived = {
camera = camera_body_left_slight
@ -2160,6 +1979,117 @@
}
scripted_animation = ecumenical_council_lay_guest_animation_alt
}
host = {
camera = camera_body
effect = {
if = {
limit = { scope:host = { location = scope:activity.activity_location } }
}
scope:host ?= { add_to_list = characters }
}
scripted_animation = ecumenical_council_host_animation
}
travel_host = {
camera = camera_event_horse_left
effect = {
if = {
limit = {
NOT = {
scope:host.location = scope:activity.activity_location
}
}
scope:host = {
add_to_list = characters
}
}
}
scripted_animation = horse_camel_activity_travel_animation
}
clergy_guest_arrived = {
camera = camera_body_right
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
ordered_attending_character = {
limit = {
is_clergy = yes
this != scope:host
location = scope:activity.activity_location
}
order_by = {
value = 1
add = {
value = highest_held_title_tier
multiply = 15
}
}
add_to_list = characters
}
}
}
scripted_animation = ecumenical_council_clergy_guest_animation_alt
}
clergy_guest_travelling = {
camera = camera_activity_horse
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
ordered_attending_character = {
limit = {
is_clergy = yes
this != scope:host
location != scope:activity.activity_location
}
order_by = {
value = 1
add = {
value = highest_held_title_tier
multiply = 15
}
}
add_to_list = characters
}
}
}
scripted_animation = horse_camel_activity_travel_animation
}
clergy_guest = {
camera = camera_body_right
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
ordered_attending_character = {
limit = {
is_clergy = yes
this != scope:host
location = scope:activity.activity_location
}
order_by = {
value = 1
add = {
value = highest_held_title_tier
multiply = 15
}
}
check_range_bounds = no
position = 1
add_to_list = characters
}
}
}
scripted_animation = ecumenical_council_clergy_guest_animation
}
non_clergy_guest = {
camera = camera_body_left

View file

@ -9,8 +9,7 @@
activity_feast = {
is_shown = {
is_landed_or_landless_administrative_or_theocratic = yes
highest_held_title_tier > tier_barony
can_host_feasts_trigger = yes
trigger_if = {
limit = {
is_ai = yes
@ -31,6 +30,7 @@ activity_feast = {
limit = {
highest_held_title_tier = tier_county
government_is_japanese_trigger = no
NOT = { government_has_flag = government_is_merchant }
}
ai_sociability >= 100
}
@ -40,19 +40,17 @@ activity_feast = {
can_start_showing_failures_only = {
NOT = { is_activity_type_on_cooldown = activity_feast }
is_physically_able_adult = yes
is_available_adult = yes
}
is_valid = {
scope:host = {
is_physically_able_adult = yes
is_landed_or_landless_administrative_or_theocratic = yes
can_host_feasts_trigger = yes
}
# If no one shows up
trigger_if = {
limit = {
is_current_phase_active = yes
}
limit = { is_current_phase_active = yes }
has_attending_activity_guests = yes
}
}
@ -236,30 +234,11 @@ activity_feast = {
}
# ++ / double plus good
triggered_desc = {
trigger = { has_building_or_higher = farm_estates_01 }
desc = activity_feast_province_desc_farm_estates
}
triggered_desc = {
trigger = { has_building_or_higher = paddy_fields_01 }
desc = activity_feast_province_desc_paddy_fields
trigger = { has_building_or_higher = royal_great_hall_1 }
desc = activity_feast_province_desc_royal_great_hall
}
# + / plus good
triggered_desc = {
trigger = { has_building_or_higher = longhouses_01 }
desc = activity_feast_province_desc_longhouses
}
triggered_desc = {
trigger = { has_building_or_higher = orchards_01 }
desc = activity_feast_province_desc_orchards
}
triggered_desc = {
trigger = { has_building_or_higher = cereal_fields_01 }
desc = activity_feast_province_desc_cereal_fields
}
triggered_desc = {
trigger = { has_building_or_higher = plantations_01 }
desc = activity_feast_province_desc_plantations
}
triggered_desc = {
trigger = { has_building_or_higher = pleasure_dome }
desc = activity_feast_province_desc_pleasure_dome
@ -306,30 +285,12 @@ activity_feast = {
}
# Double good / ++
if = {
limit = { has_building_or_higher = farm_estates_01 }
add = 50
}
if = {
limit = { has_building_or_higher = paddy_fields_01 }
limit = { has_building_or_higher = royal_great_hall_1 }
add = 50
}
# Good / +
if = {
limit = { has_building_or_higher = longhouses_01 }
add = 25
}
if = {
limit = { has_building_or_higher = orchards_01 }
add = 25
}
if = {
limit = { has_building_or_higher = cereal_fields_01 }
add = 25
}
if = {
limit = { has_building_or_higher = plantations_01 }
add = 25
}
}
cooldown = { years = standard_feast_cooldown_time }
@ -696,7 +657,10 @@ activity_feast = {
is_ai = yes
has_character_flag = feast_ai_override
}
add = 10000
add = {
value = 10000
desc = "feast_ai_override"
}
}
}
@ -740,6 +704,7 @@ activity_feast = {
4 = activity_invite_rule_guests
1 = activity_invite_spouses
1 = activity_invite_rule_landless_adventurers_restricted_range_opinion
1 = activity_invite_rule_merchants_restricted_range
}
}
@ -750,13 +715,15 @@ activity_feast = {
}
host_intents = {
intents = { reduce_stress_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent spread_legend_intent legitimacy_intent spread_personal_tenet_intent praise_the_gods_intent }
intents = { reduce_stress_intent schmooze_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent spread_legend_intent legitimacy_intent spread_personal_tenet_intent praise_the_gods_intent }
default = reduce_stress_intent
player_defaults = { schmooze_intent reduce_stress_intent }
}
guest_intents = {
intents = { reduce_stress_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent banquet_mischief_intent spread_legend_intent legitimacy_intent spread_personal_tenet_intent praise_the_gods_intent }
intents = { reduce_stress_intent schmooze_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent banquet_mischief_intent spread_legend_intent legitimacy_intent spread_personal_tenet_intent praise_the_gods_intent }
default = reduce_stress_intent
player_defaults = { schmooze_intent reduce_stress_intent }
}
guest_join_chance = {
@ -784,10 +751,10 @@ activity_feast = {
any_active_accolade = {
accolade_parameter = acclaimed_knight_feast_wedding_invite_acceptance_bonus
}
}
add = accolade_feast_wedding_invite_acceptance_value
}
add = accolade_feast_wedding_invite_acceptance_value
desc = acclaimed_knight_feast_wedding_invite_acceptance_bonus_tt
}
}
}
special_guests = {
@ -802,30 +769,32 @@ activity_feast = {
this != scope:host
is_healthy = yes
is_adult = yes
trigger_if = { # Pick adventurers first!
limit = {
scope:host = {
is_ai = yes
has_character_flag = feast_ai_override
}
}
reverse_has_opinion_modifier = {
modifier = laamp_used_contact_opinion_special
target = scope:host
}
}
trigger_if = {
limit = {
scope:host = {
is_ai = yes
NOT = { has_character_flag = feast_ai_override }
scope:host = { is_ai = yes }
}
trigger_if = { # Pick adventurers first!
limit = {
scope:host = { has_character_flag = feast_ai_override }
}
reverse_has_opinion_modifier = {
modifier = laamp_used_contact_opinion_special
target = scope:host
}
}
OR = {
is_vassal_of = scope:host
target_is_vassal_or_below = scope:host
has_relation_friend = scope:host
has_relation_lover = scope:host
trigger_else = {
OR = {
is_vassal_of = scope:host
target_is_vassal_or_below = scope:host
has_relation_friend = scope:host
has_relation_lover = scope:host
scope:host.liege = this
scope:host.suzerain ?= this
AND = { # Merchants can pick each other
is_landless_merchant = yes
scope:host = { is_landless_merchant = yes }
}
}
}
}
}
@ -1042,6 +1011,11 @@ activity_feast = {
}
}
if = {
limit = { government_has_flag = government_is_merchant }
multiply = 0.5
}
if = {
limit = { has_variable = mpo_nerge_1060_free_feast }
multiply = {
@ -1057,6 +1031,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
treasury = { # Make sure this matches the gold cost above
if = {
@ -1087,6 +1070,15 @@ activity_feast = {
desc = mpo_nerge_1060_free_feast_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = gdp_feast_popular_opinion_feast_discount
desc = feast_cost_discount_public_opinion
}
}
}
piety = {
@ -1234,11 +1226,7 @@ activity_feast = {
}
}
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
@ -2383,13 +2371,7 @@ activity_feast = {
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
honorary_guest_traveling_murder = {
@ -2410,13 +2392,7 @@ activity_feast = {
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
honorary_guest_murder = { # Both regular and murder
@ -2471,13 +2447,7 @@ activity_feast = {
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
honorary_guest_regular = {
@ -2959,7 +2929,10 @@ activity_feast = {
is_ai = yes
has_character_flag = feast_ai_override
}
add = 100
add = {
value = 100
desc = "feast_ai_override"
}
}
}
}
@ -3038,6 +3011,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
if = {
limit = { has_variable = mpo_nerge_1060_free_feast }
multiply = {
@ -3072,6 +3054,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
if = {
limit = { has_variable = mpo_nerge_1060_free_feast }
multiply = {
@ -3085,6 +3076,7 @@ activity_feast = {
is_shown = {
has_dlc_feature = tours_and_tournaments
NOT = { government_has_flag = government_is_merchant }
}
is_valid = {
@ -3357,6 +3349,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
treasury = { # Make sure this matches the gold cost above
@ -3384,6 +3385,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
piety = {
@ -3408,6 +3418,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
barter_goods = {
@ -3432,6 +3451,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
}
@ -3482,6 +3510,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
treasury = {
@ -3509,6 +3546,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
piety = {
@ -3533,6 +3579,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
barter_goods = {
@ -3557,6 +3612,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
}
@ -3629,6 +3693,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
treasury = { # Make sure this matches the gold cost above
@ -3656,6 +3729,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
@ -3681,6 +3763,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
if = {
limit = { has_variable = mpo_nerge_1060_free_feast }
@ -3714,6 +3805,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
if = {
limit = { has_variable = mpo_nerge_1060_free_feast }
@ -3772,6 +3872,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
treasury = {
@ -3799,6 +3908,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
piety = {
@ -3823,6 +3941,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
@ -3848,6 +3975,15 @@ activity_feast = {
desc = pam_sf_free_feast_discount_desc
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
multiply = {
value = 0
desc = feast_cost_discount_public_opinion
}
}
}
}
}
@ -3914,19 +4050,19 @@ activity_feast = {
add = {
desc = feast_wine_limited
add = {
value = 10
value = 7
desc = feast_wine_limited
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
desc = activity_cost_scale_by_era_desc
}
if = {
@ -3936,16 +4072,16 @@ activity_feast = {
}
}
subtract = {
value = 10
value = 7
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
@ -3971,19 +4107,19 @@ activity_feast = {
add = {
desc = feast_wine_limited
add = {
value = 10
value = 7
desc = feast_wine_limited
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
desc = activity_cost_scale_by_era_desc
}
if = {
@ -3993,16 +4129,16 @@ activity_feast = {
}
}
subtract = {
value = 10
value = 7
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
@ -4063,19 +4199,19 @@ activity_feast = {
add = {
desc = feast_wine_normal
add = {
value = 35
value = 23
desc = feast_wine_normal
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_tier
subtract = 35
subtract = 23
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_era
subtract = 35
subtract = 23
desc = activity_cost_scale_by_era_desc
}
if = {
@ -4085,16 +4221,16 @@ activity_feast = {
}
}
subtract = {
value = 35
value = 23
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_tier
subtract = 35
subtract = 23
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_era
subtract = 35
subtract = 23
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
@ -4120,19 +4256,19 @@ activity_feast = {
add = {
desc = feast_wine_normal
add = {
value = 35
value = 23
desc = feast_wine_normal
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_tier
subtract = 35
subtract = 23
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_era
subtract = 35
subtract = 23
desc = activity_cost_scale_by_era_desc
}
if = {
@ -4142,16 +4278,16 @@ activity_feast = {
}
}
subtract = {
value = 35
value = 23
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_tier
subtract = 35
subtract = 23
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_era
subtract = 35
subtract = 23
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
@ -4207,19 +4343,19 @@ activity_feast = {
add = {
desc = feast_wine_extensive
add = {
value = 90
value = 60
desc = feast_wine_extensive
}
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_tier
subtract = 90
subtract = 60
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_era
subtract = 90
subtract = 60
desc = activity_cost_scale_by_era_desc
}
if = {
@ -4229,16 +4365,16 @@ activity_feast = {
}
}
subtract = {
value = 90
value = 60
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_tier
subtract = 90
subtract = 60
}
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_era
subtract = 90
subtract = 60
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
@ -4264,19 +4400,19 @@ activity_feast = {
add = {
desc = feast_wine_extensive
add = {
value = 90
value = 60
desc = feast_wine_extensive
}
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_tier
subtract = 90
subtract = 60
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_era
subtract = 90
subtract = 60
desc = activity_cost_scale_by_era_desc
}
if = {
@ -4286,16 +4422,16 @@ activity_feast = {
}
}
subtract = {
value = 90
value = 60
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_tier
subtract = 90
subtract = 60
}
add = {
value = 90
value = 60
multiply = activity_cost_scale_by_era
subtract = 90
subtract = 60
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
@ -4665,64 +4801,6 @@ activity_feast = {
# Base
value = 1
# Buildings
## Tribal
### Gathering Halls
if = {
limit = { has_building_or_higher = longhouses_01 }
add = {
value = @weight_up_ai_select_province_small
desc = activity_feast_province_desc_longhouses
}
}
## Terrain
### Manor Houses
if = {
limit = { has_building_or_higher = farm_estates_01 }
add = {
value = @weight_up_ai_select_province_medium
desc = activity_feast_province_desc_farm_estates
}
}
### Paddy Fields
if = {
limit = { has_building_or_higher = paddy_fields_01 }
add = {
value = @weight_up_ai_select_province_medium
desc = activity_feast_province_desc_paddy_fields
}
}
### Orchards
if = {
limit = { has_building_or_higher = orchards_01 }
add = {
value = @weight_up_ai_select_province_small
desc = activity_feast_province_desc_orchards
}
}
### Farms & Fields
if = {
limit = { has_building_or_higher = cereal_fields_01 }
add = {
value = @weight_up_ai_select_province_small
desc = activity_feast_province_desc_cereal_fields
}
}
### Hill Farms
if = {
limit = { has_building_or_higher = hill_farms_01 }
add = {
value = @weight_up_ai_select_province_small
desc = debug_gui.location_weight.building.hill_farms
}
}
### Desert Agriculture
if = {
limit = { has_building_or_higher = plantations_01 }
add = {
value = @weight_up_ai_select_province_small
desc = activity_feast_province_desc_plantations
}
}
## Duchy
### Leisure Palaces
if = {
@ -4732,6 +4810,15 @@ activity_feast = {
desc = activity_feast_province_desc_leisure_palace
}
}
## Household
### Great Hall & Kitchens
if = {
limit = { has_building_or_higher = royal_great_hall_1 }
add = {
value = @weight_up_ai_select_province_medium
desc = activity_feast_province_desc_royal_great_hall
}
}
## Special
### Doge's Palace
if = {
@ -4887,6 +4974,12 @@ activity_feast = {
VAL = 1
}
}
if = {
limit = {
has_character_modifier = gdp_guild_sponsored_feast_modifier
}
remove_character_modifier = gdp_guild_sponsored_feast_modifier
}
}
set_variable = {
name = host_var
@ -5189,6 +5282,11 @@ activity_feast = {
# }
# Struggle Catalysts
# fp3_struggle_catalysts_for_activities_effect = yes
fp3_struggle_catalysts_for_activities_effect = yes
# GDP Associate promise
scope:activity.activity_host = {
gdp_merchant_associate_promise_completed_effect = { TYPE = flag:activity }
}
}
}

View file

@ -124,7 +124,7 @@ activity_funeral = {
is_single_location = yes
province_filter = realm
province_filter = domicile_realm
ai_province_filter = capital
max_route_deviation_mult = 2.0
@ -170,6 +170,12 @@ activity_funeral = {
}
desc = activity_funeral_holy_site
}
triggered_desc = {
trigger = {
has_building_or_higher = royal_mausoleum_1
}
desc = activity_funeral_royal_mausoleum
}
# Things your religion values
triggered_desc = {
trigger = {
@ -227,6 +233,12 @@ activity_funeral = {
}
add = 50
}
if = { # Royal Mausoleum
limit = {
has_building_or_higher = royal_mausoleum_1
}
add = 50
}
# Things your religion values
if = {
limit = {
@ -543,6 +555,7 @@ activity_funeral = {
4 = activity_invite_rule_guests
1 = activity_invite_spouses
1 = activity_invite_rule_landless_adventurers_restricted_range
1 = activity_invite_rule_merchants_restricted_range
}
}
@ -696,21 +709,18 @@ activity_funeral = {
value = funeral_activity_cost
multiply = activity_cost_scale_by_era
}
add = { # Ceremony
value = 0 # Bad Option Cost
add = 10 # Normal Option Cost
add = 35 # Good Option Cost
# Scale the sum of the options by era and tier
add = { # Ceremony - mid-range (Normal) option cost
value = 7
add = {
value = 45
value = 7
multiply = activity_cost_scale_by_tier
subtract = 7
}
add = {
value = 45
value = 7
multiply = activity_cost_scale_by_era
subtract = 7
}
# Divide by 3 (num of levels for this option) so we get the average option cost
divide = 3
}
save_temporary_value_as = pre_discount_funeral_cost_ui
if = {
@ -747,9 +757,9 @@ activity_funeral = {
add = {
value = funeral_activity_cost
add = {
value = feast_activity_cost
value = funeral_activity_cost
multiply = activity_cost_scale_by_era
subtract = feast_activity_cost
subtract = funeral_activity_cost
}
}
multiply = estate_cheaper_funeral_cost_value
@ -839,11 +849,7 @@ activity_funeral = {
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
@ -1202,13 +1208,7 @@ activity_funeral = {
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
guest = {
@ -1342,19 +1342,19 @@ activity_funeral = {
value = 0
desc = funeral_ceremony_normal
add = {
value = 10
value = 7
desc = funeral_ceremony_normal
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
desc = activity_cost_scale_by_era_desc
}
if = {
@ -1364,16 +1364,16 @@ activity_funeral = {
}
}
subtract = {
value = 10
value = 7
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name
@ -1416,19 +1416,19 @@ activity_funeral = {
value = 0
desc = funeral_ceremony_good
add = {
value = 35
value = 23
desc = funeral_ceremony_good
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_tier
subtract = 35
subtract = 23
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_era
subtract = 35
subtract = 23
desc = activity_cost_scale_by_era_desc
}
if = {
@ -1438,16 +1438,16 @@ activity_funeral = {
}
}
subtract = {
value = 35
value = 23
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_tier
subtract = 35
subtract = 23
}
add = {
value = 35
value = 23
multiply = activity_cost_scale_by_era
subtract = 35
subtract = 23
}
multiply = law_legacy_cost_reduction_mult
desc = law_legacy_1_name

View file

@ -29,7 +29,8 @@
limit = {
scope:host = {
is_ai = no
is_landless_adventurer = no
is_landed = yes
is_landless_ruler = no
}
}
custom_tooltip = {
@ -46,10 +47,8 @@
limit = {
scope:host = {
is_ai = no
OR = {
has_government = landless_adventurer_government
is_landed = no
}
is_landed = no
is_landless_ruler = yes
}
}
custom_tooltip = {
@ -438,7 +437,7 @@
cost = {
gold = {
add = {
value = 35
value = 23
if = {
limit = {
has_perk = journey_planner_perk
@ -658,11 +657,7 @@
#This goes before other terrain since it can override in many different terrains if built
trigger = {
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
@ -1019,19 +1014,7 @@
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { idle }
}
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
guest = {

View file

@ -38,9 +38,7 @@
is_available_adult = yes
can_hunt_trigger = yes
trigger_if = {
limit = {
has_government = landless_adventurer_government
}
limit = { has_government = landless_adventurer_government }
custom_tooltip = {
text = adventurer_3_courtiers
any_courtier = {
@ -51,11 +49,17 @@
}
}
trigger_if = {
limit = {
government_has_flag = government_is_nomadic
}
limit = { government_has_flag = government_is_nomadic }
is_landed = yes
}
trigger_if = {
limit = { government_has_flag = government_is_merchant }
custom_tooltip = {
text = merchant_hunt_need_permission
exists = suzerain
var:merchant_hunt_permission ?= suzerain
}
}
}
is_valid = {
@ -585,19 +589,11 @@
}
# Options
add = { # Attendants
value = 0 # Local Game Keepers Cost
add = domicile.miniscule_herd_value # Search Parties Cost
add = domicile.minor_herd_value # Flushing Gangs Cost
# Divide by the number of option levels +2 to get an average option cost
divide = 5
add = { # Attendants - mid-range (Search Parties) option cost
value = domicile.miniscule_herd_value # Search Parties Cost
}
add = { # Party Size
value = 0 # Intimate Party Cost
add = domicile.miniscule_herd_value # Reasonable Party Cost
add = domicile.minor_herd_value # Substantial Party Cost
# Divide by the number of option levels +2 to get an average option cost
divide = 5
add = { # Party Size - mid-range (Reasonable Party) option cost
value = domicile.miniscule_herd_value # Reasonable Party Cost
}
if = {
@ -672,25 +668,17 @@
}
# Options
add = { # Attendants
value = 0 # Local Game Keepers Cost
add = 10 # Search Parties Cost
add = 35 # Flushing Gangs Cost
add = { # Attendants - mid-range (Search Parties) option cost
value = 7 # Search Parties Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 3
}
add = { # Party Size
value = 0 # Intimate Party Cost
add = 10 # Reasonable Party Cost
add = 35 # Substantial Party Cost
add = { # Party Size - mid-range (Reasonable Party) option cost
value = 7 # Reasonable Party Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 3
}
if = {
limit = {
@ -754,25 +742,17 @@
}
# Options
add = { # Attendants
value = 0 # Local Game Keepers Cost
add = 10 # Search Parties Cost
add = 35 # Flushing Gangs Cost
add = { # Attendants - mid-range (Search Parties) option cost
value = 7 # Search Parties Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 3
}
add = { # Party Size
value = 0 # Intimate Party Cost
add = 10 # Reasonable Party Cost
add = 35 # Substantial Party Cost
add = { # Party Size - mid-range (Reasonable Party) option cost
value = 7 # Reasonable Party Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 3
}
if = {
limit = {
@ -841,25 +821,17 @@
}
# Options
add = { # Attendants
value = 0 # Local Game Keepers Cost
add = 10 # Search Parties Cost
add = 35 # Flushing Gangs Cost
add = { # Attendants - mid-range (Search Parties) option cost
value = 7 # Search Parties Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 3
}
add = { # Party Size
value = 0 # Intimate Party Cost
add = 10 # Reasonable Party Cost
add = 35 # Substantial Party Cost
add = { # Party Size - mid-range (Reasonable Party) option cost
value = 7 # Reasonable Party Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 3
}
if = {
limit = {
@ -1432,13 +1404,7 @@
}
desc = activity_hunt_host_desc_prestige
}
first_valid = {
triggered_desc = {
trigger = { has_trait = lifestyle_hunter }
desc = activity_hunt_host_desc_trait_xp
}
desc = activity_hunt_host_desc_trait
}
desc = activity_hunt_host_desc_trait
triggered_desc = {
trigger = {
has_dlc_feature = accolades
@ -1484,13 +1450,7 @@
}
desc = activity_hunt_host_desc_prestige
}
first_valid = {
triggered_desc = {
trigger = { has_trait = lifestyle_hunter }
desc = activity_hunt_host_desc_trait_xp
}
desc = activity_hunt_host_desc_trait
}
desc = activity_hunt_host_desc_trait
desc = activity_hunt_guest_desc_accolade
}
@ -1655,18 +1615,11 @@
}
triggered_desc = {
trigger = {
has_building = royal_forest_03
has_building = royal_forest_05
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_royal_forest_major
}
triggered_desc = {
trigger = {
has_building_or_higher = hunting_grounds_06
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_hunting_grounds_major
}
triggered_desc = {
trigger = {
has_building_or_higher = rainbow_mountains_01
@ -1740,21 +1693,6 @@
}
desc = activity_hunt_province_desc_terrain_terrible
}
triggered_desc = {
trigger = {
exists = county
county.development_level >= medium_development_level
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_development_terrible
}
triggered_desc = {
trigger = {
has_building_or_higher = logging_camps_06
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_logging_camps_major
}
triggered_desc = {
trigger = {
exists = var:recent_hunt_held
@ -1773,19 +1711,14 @@
}
triggered_desc = {
trigger = {
has_building = royal_forest_02
OR = {
has_building = royal_forest_03
has_building = royal_forest_04
}
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_royal_forest_medium
}
triggered_desc = {
trigger = {
has_building_or_higher = hunting_grounds_03
NOT = { has_building_or_higher = hunting_grounds_06 }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_hunting_grounds_medium
}
triggered_desc = {
trigger = {
exists = county
@ -1807,23 +1740,6 @@
}
desc = activity_hunt_province_desc_terrain_bad
}
triggered_desc = {
trigger = {
exists = county
county.development_level < medium_development_level
county.development_level >= bad_development_level
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_development_bad
}
triggered_desc = {
trigger = {
has_building_or_higher = logging_camps_03
NOT = { has_building_or_higher = logging_camps_06 }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_logging_camps_medium
}
triggered_desc = {
trigger = {
exists = var:recent_hunt_held
@ -1836,18 +1752,20 @@
# + / plus good
triggered_desc = {
trigger = {
has_building = royal_forest_01
OR = {
has_building = royal_forest_01
has_building = royal_forest_02
}
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_royal_forest_minor
}
triggered_desc = {
trigger = {
has_building_or_higher = hunting_grounds_01
NOT = { has_building_or_higher = hunting_grounds_03 }
has_building_or_higher = knights_stables_1
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_hunting_grounds_minor
desc = activity_hunt_province_desc_royal_stables
}
triggered_desc = {
trigger = {
@ -1950,15 +1868,6 @@
desc = activity_hunt_province_desc_fertility
}
# - / minus bad
triggered_desc = {
trigger = {
exists = county
county.development_level < bad_development_level
county.development_level >= terrible_development_level
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_development
}
triggered_desc = {
trigger = {
county ?= { has_county_modifier = hunt_mismanaged_game_modifier }
@ -1973,14 +1882,6 @@
}
desc = activity_hunt_province_desc_wild_predators
}
triggered_desc = {
trigger = {
has_building_or_higher = logging_camps_01
NOT = { has_building_or_higher = logging_camps_03 }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
desc = activity_hunt_province_desc_logging_camps_minor
}
triggered_desc = {
trigger = {
exists = var:recent_hunt_held
@ -2109,11 +2010,7 @@
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
@ -2892,13 +2789,7 @@
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
host = { # Nerge
@ -4015,8 +3906,11 @@
limit = { has_dlc_feature = advanced_activities }
pam_vows_of_poverty_premium_activity_option_valid_trigger = yes
}
can_make_expensive_purchase_trigger = {
PRICE = root.hunt_normal_option_cost
trigger_if = {
limit = { hunt_option_costs_gold_trigger = yes }
can_make_expensive_purchase_trigger = {
PRICE = root.hunt_normal_option_cost
}
}
}
@ -4075,21 +3969,7 @@
}
gold = {
if = {
limit = {
OR = {
government_has_flag = government_is_nomadic
has_character_flag = free_hunt
AND = {
has_character_flag = free_falconry
scope:special_option ?= flag:hunt_type_falconry
}
government_has_flag = government_is_mandala
AND = {
house ?= { has_house_aspiration_parameter = hunts_costs_treasury }
has_treasury = yes
}
}
}
limit = { hunt_option_costs_gold_trigger = no }
value = 0
}
else = {
@ -4247,8 +4127,11 @@
is_valid = {
pam_vows_of_poverty_premium_activity_option_valid_trigger = yes
can_make_expensive_purchase_trigger = {
PRICE = root.hunt_good_option_cost
trigger_if = {
limit = { hunt_option_costs_gold_trigger = yes }
can_make_expensive_purchase_trigger = {
PRICE = root.hunt_good_option_cost
}
}
}
@ -4307,21 +4190,7 @@
}
gold = {
if = {
limit = {
OR = {
government_has_flag = government_is_nomadic
has_character_flag = free_hunt
AND = {
has_character_flag = free_falconry
scope:special_option ?= flag:hunt_type_falconry
}
government_has_flag = government_is_mandala
AND = {
house ?= { has_house_aspiration_parameter = hunts_costs_treasury }
has_treasury = yes
}
}
}
limit = { hunt_option_costs_gold_trigger = no }
value = 0
}
else = {
@ -5360,6 +5229,7 @@
4 = activity_invite_rule_courtiers
4 = activity_invite_rule_fellow_vassals
1 = activity_invite_rule_landless_adventurers_restricted_range
1 = activity_invite_rule_merchants_restricted_range
}
}
@ -5380,15 +5250,15 @@
}
host_intents = {
intents = { reduce_stress_intent slay_beast_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent successful_nerge_intent dreadful_nerge_intent impose_obedience_intent spread_personal_tenet_intent }
intents = { reduce_stress_intent slay_beast_intent schmooze_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent successful_nerge_intent dreadful_nerge_intent impose_obedience_intent spread_personal_tenet_intent }
default = reduce_stress_intent
player_defaults = { successful_nerge_intent reduce_stress_intent slay_beast_intent }
player_defaults = { schmooze_intent successful_nerge_intent reduce_stress_intent slay_beast_intent }
}
guest_intents = {
intents = { reduce_stress_intent slay_beast_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent successful_nerge_intent dreadful_nerge_intent spread_personal_tenet_intent }
intents = { reduce_stress_intent slay_beast_intent schmooze_intent murder_attendee_intent woo_attendee_intent befriend_attendee_intent successful_nerge_intent dreadful_nerge_intent spread_personal_tenet_intent }
default = reduce_stress_intent
player_defaults = { successful_nerge_intent reduce_stress_intent slay_beast_intent }
player_defaults = { schmooze_intent successful_nerge_intent reduce_stress_intent slay_beast_intent }
}
guest_join_chance = {
@ -5529,6 +5399,8 @@
}
remove_character_flag = free_falconry
}
# If hosted with permission, reset permission
remove_variable = merchant_hunt_permission
}
}
allow_zero_guest_invites = yes
@ -5589,9 +5461,7 @@
this = scope:host
has_government = landless_adventurer_government
}
trigger_event = {
id = hunt.1337
}
trigger_event = hunt.1337
}
if = {
limit = {
@ -5719,5 +5589,10 @@
}
}
}
# GDP Associate promise
scope:activity.activity_host = {
gdp_merchant_associate_promise_completed_effect = { TYPE = flag:activity }
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1020,6 +1020,12 @@
# Ensure that we never drop to 0
min = 1
}
if = {
limit = {
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
multiply = ep2_activities_legacy_1_pilgrimages_discount_value
}
add = { # Base cost, scaled by era
value = pilgrimage_base_cost
@ -1027,16 +1033,11 @@
}
# Options
add = { # Pomp Option
add = { # Pomp Option
value = 0 # Appropriate Cost
add = -10 # Humble Cost
add = 50 # Ceremonial Cost
add = 100 # Throng Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 4
}
if = {
@ -1260,6 +1261,12 @@
# Ensure that we never drop to 0
min = 1
}
if = {
limit = {
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
multiply = ep2_activities_legacy_1_pilgrimages_discount_value
}
add = { # Base cost, scaled by era
value = pilgrimage_base_cost
@ -1267,16 +1274,11 @@
}
# Options
add = { # Pomp Option
add = { # Pomp Option
value = 0 # Appropriate Cost
add = -10 # Humble Cost
add = 50 # Ceremonial Cost
add = 100 # Throng Cost
# Scale option costs by tier and era
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
# Divide by the number of option levels to get an average option cost
divide = 4
}
if = {
@ -1745,19 +1747,19 @@
subtract = {
desc = pilgrimage_cost_pomp_ceremonial
add = {
value = 10
value = 7
desc = pilgrimage_cost_pomp_ceremonial
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
desc = activity_cost_scale_by_era_desc
}
}
@ -1777,19 +1779,19 @@
subtract = {
desc = pilgrimage_cost_pomp_ceremonial
add = {
value = 10
value = 7
desc = pilgrimage_cost_pomp_ceremonial
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_tier
subtract = 10
subtract = 7
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 10
value = 7
multiply = activity_cost_scale_by_era
subtract = 10
subtract = 7
desc = activity_cost_scale_by_era_desc
}
}
@ -1857,19 +1859,19 @@
add = {
desc = pilgrimage_cost_pomp_ceremonial
add = {
value = 50
value = 33
desc = pilgrimage_cost_pomp_ceremonial
}
add = {
value = 50
value = 33
multiply = activity_cost_scale_by_tier
subtract = 50
subtract = 33
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 50
value = 33
multiply = activity_cost_scale_by_era
subtract = 50
subtract = 33
desc = activity_cost_scale_by_era_desc
}
if = {
@ -1877,7 +1879,7 @@
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
subtract = {
value = 50
value = 33
multiply = ep2_activities_legacy_1_pilgrimages_discount_value
desc = ep2_activities_legacy_track
}
@ -1918,19 +1920,19 @@
add = {
desc = pilgrimage_cost_pomp_ceremonial
add = {
value = 50
value = 33
desc = pilgrimage_cost_pomp_ceremonial
}
add = {
value = 50
value = 33
multiply = activity_cost_scale_by_tier
subtract = 50
subtract = 33
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 50
value = 33
multiply = activity_cost_scale_by_era
subtract = 50
subtract = 33
desc = activity_cost_scale_by_era_desc
}
if = {
@ -1938,7 +1940,7 @@
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
subtract = {
value = 50
value = 33
multiply = ep2_activities_legacy_1_pilgrimages_discount_value
desc = ep2_activities_legacy_track
}
@ -2005,19 +2007,19 @@
add = {
desc = pilgrimage_cost_pomp_throng
add = {
value = 100
value = 67
desc = pilgrimage_cost_pomp_throng
}
add = {
value = 100
value = 67
multiply = activity_cost_scale_by_tier
subtract = 100
subtract = 67
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 100
value = 67
multiply = activity_cost_scale_by_era
subtract = 100
subtract = 67
desc = activity_cost_scale_by_era_desc
}
if = {
@ -2025,7 +2027,7 @@
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
subtract = {
value = 100
value = 67
multiply = ep2_activities_legacy_1_pilgrimages_discount_value
desc = ep2_activities_legacy_track
}
@ -2066,19 +2068,19 @@
add = {
desc = pilgrimage_cost_pomp_throng
add = {
value = 100
value = 67
desc = pilgrimage_cost_pomp_throng
}
add = {
value = 100
value = 67
multiply = activity_cost_scale_by_tier
subtract = 100
subtract = 67
desc = activity_cost_scale_by_tier_desc
}
add = {
value = 100
value = 67
multiply = activity_cost_scale_by_era
subtract = 100
subtract = 67
desc = activity_cost_scale_by_era_desc
}
if = {
@ -2086,7 +2088,7 @@
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
subtract = {
value = 100
value = 67
multiply = ep2_activities_legacy_1_pilgrimages_discount_value
desc = ep2_activities_legacy_track
}
@ -2260,6 +2262,15 @@
desc = pam_sf_pilgrimage_funded_discount_desc
}
}
if = {
limit = {
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
multiply = {
value = ep2_activities_legacy_1_pilgrimages_discount_value
desc = ep2_activities_legacy_track
}
}
}
}
@ -2377,6 +2388,15 @@
desc = pam_sf_pilgrimage_funded_discount_desc
}
}
if = {
limit = {
dynasty ?= { has_dynasty_perk = ep2_activities_legacy_1 }
}
multiply = {
value = ep2_activities_legacy_1_pilgrimages_discount_value
desc = ep2_activities_legacy_track
}
}
}
}
@ -3266,11 +3286,7 @@
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
has_rice_fields_district = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
@ -3866,9 +3882,7 @@
}
}
scripted_animation = {
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
pilgrim = { # Travel
@ -3887,9 +3901,7 @@
}
}
scripted_animation = {
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
host = {
@ -3945,13 +3957,7 @@
}
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
pilgrim = {
@ -4052,9 +4058,7 @@
}
}
scripted_animation = {
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
pilgrim = { # Travel
@ -4081,9 +4085,7 @@
}
}
scripted_animation = {
animation = jockey_walk
}
scripted_animation = horse_camel_activity_travel_animation
}
}
}

View file

@ -1,927 +0,0 @@
activity_playdate = {
is_shown = {
highest_held_title_tier > tier_barony
trigger_if = {
trigger_if = { # Throttle Counts
limit = {
is_ai = yes
highest_held_title_tier = tier_county
}
ai_sociability >= 100
}
}
is_adult = no
ai_activity_war_check = yes
ai_activity_coronation_check = yes
}
can_start_showing_failures_only = {
NOT = { is_activity_type_on_cooldown = activity_playdate }
is_available = yes
age >= 4
age < less_than_two_years_to_adulthood_value #Consistency!
trigger_if = {
limit = {
highest_held_title_tier = tier_county
liege = root
}
highest_held_title_tier >= tier_county
}
is_landed_or_landless_administrative_or_theocratic = yes
}
is_valid = {
scope:host = {
is_physically_able = yes
is_landed_or_landless_administrative_or_theocratic = yes
}
# If no one shows up
trigger_if = {
limit = {
is_current_phase_active = yes
}
has_attending_activity_guests = yes
}
}
on_invalidated = {
if = { # host is imprisoned
limit = {
scope:host = { is_imprisoned = yes }
}
#Host has been imprisoned
every_attending_character = {
limit = {
this != scope:host
}
trigger_event = playdate.0022
}
scope:host = {
trigger_event = playdate.0021
}
}
else_if = { # No one shows up
limit = {
has_attending_activity_guests = no
}
scope:host = {
trigger_event = playdate.2003
}
}
else = {
invalidation_unlanded_non_nf_effect = yes
invalidation_incapable_effect = yes
invalidation_host_isolated_effect = yes
}
}
is_location_valid = {
exists = province_owner
province_owner.top_liege = scope:host.top_liege
}
on_host_death = {
every_attending_character = {
trigger_event = playdate.0020
}
}
province_filter = capital
ai_province_filter = capital
max_province_icons = 5
cost = {
gold = {
add = {
value = standard_playdate_activity_cost
desc = hunt_base_cost
}
# Free playdate credit from various events.
if = {
limit = { has_variable = free_meet_peers_credit }
multiply = 0
}
}
}
ui_predicted_cost = {
gold = {
# Base Cost
value = standard_playdate_activity_cost
# Make it a multiple of 5 (rounded up)
divide = 5
ceiling = yes
multiply = 5
}
}
cooldown = { days = standard_playdate_cooldown_time }
###################
# PHASES
###################
phases = {
playdate_phase = {
is_predefined = yes
on_phase_active = {
if = {
limit = { this = scope:host }
scope:activity = { progress_activity_phase_after = { months = 3 } }
trigger_event = playdate.2001
}
else = {
trigger_event = playdate.2501
}
}
on_monthly_pulse = {
# Fires for every attendee
trigger_event = {
on_action = playdate_event_selection
days = { 1 3 }
}
random = {
chance = {
value = 10
if = {
limit = {
has_bp2_dlc_trigger = yes
this = scope:activity.activity_host
}
add = 40
}
}
trigger_event = {
on_action = playdate_event_selection
days = { 15 20 }
}
}
}
on_end = {
# Send each character back home
#set_location_to_default = yes
# Send the parents an interface notification that their child has returned from the playdate
if = {
limit = {
this != scope:host
is_ai = yes
is_playable_character = no
save_temporary_scope_as = child_scope_check
any_parent = {
is_ai = no
any_courtier = {
this = scope:child_scope_check
}
}
}
save_scope_as = child_scope
random_parent = {
limit = {
is_ai = no
any_courtier = {
this = scope:child_scope
}
}
send_interface_message = {
type = event_childhood_neutral_text
title = child_return_from_playdate_title
desc = child_return_from_playdate_desc
left_icon = scope:child_scope
right_icon = scope:host
}
}
}
# Fire conclusion events
if = {
limit = { this = scope:host }
scope:activity = {
add_activity_log_entry = {
key = playdate_conc_reward
score = 100
show_in_conclusion = yes
character = root
root = { add_prestige = medium_prestige_gain }
every_attending_character = {
limit = { this != root }
custom = every_guest_scope_tt
add_opinion = {
target = root
modifier = hosted_successful_playdate_opinion
}
}
}
}
trigger_event = playdate.9001
pam_vows_of_poverty_host_completion_piety_effect = yes
}
else = {
trigger_event = playdate.9002
}
}
}
}
wait_time_before_start = { days = 7 }
max_guest_arrival_delay_time = { months = 5 }
###################
# ACTIVITY-SPECIFIC PULSES
###################
pulse_actions = {
entries = {
apa_won_at_dice apa_good_manners apa_visited_friends_chapel apa_mentor_taught_me apa_read_a_book apa_joked_together apa_rescued_kid apa_shared_food apa_broke_toy apa_found_gold_stash apa_learned_from_kid apa_sang_nice_song apa_practiced_with_swords apa_studied_ledger apa_had_charming_convo
}
chance_of_no_event = 10
}
###################
# AI VALUES
###################
# desc is only shown in debug AI watch window
ai_will_do = {
value = 50
if = {
limit = {
OR = {
has_trait = shy
has_trait = reclusive
has_trait = depressed_1
has_trait = depressed_genetic
}
}
add = -30
}
if = {
limit = {
has_trait = lazy
}
add = -10
}
if = {
limit = {
has_trait = gregarious
}
add = 50
}
#Can you actually afford this?
if = {
limit = {
NOT = { can_make_expensive_purchase_trigger = { PRICE = activity_minor_gold_value } }
}
add = -75
}
add = activity_general_ai_will_do_value
}
ai_check_interval_by_tier = {
barony = 0
county = 60
duchy = 60
kingdom = 60
empire = 60
hegemony = 60
}
ai_will_select_province = {
value = 10
if = {
limit = {
this = scope:host.capital_province
}
add = {
value = 30
desc = "Capital Province preferred"
}
}
}
###################
# GUEST HANDLING
###################
max_guests = 30
guest_invite_rules = {
defaults = {
2 = activity_invite_rule_liege
2 = activity_invite_rule_siblings
2 = activity_invite_rule_vassals
1 = activity_invite_rule_confederates
1 = activity_invite_rule_friends
1 = activity_invite_rule_crushes
1 = activity_invite_rule_personal_scheme_targets
2 = activity_invite_rule_powerful_vassals_children
2 = activity_invite_rule_fellow_vassals
3 = activity_invite_rule_fellow_vassals_children
}
rules = {
# MP
6 = activity_invite_mp
3 = activity_invite_rule_vassals_children
}
}
can_be_activity_guest = {
is_available_for_child_activity_trigger = yes
in_diplomatic_range = scope:host
}
host_intents = {
default = reduce_stress_intent
intents = { reduce_stress_intent }
}
guest_intents = {
default = reduce_stress_intent
intents = { reduce_stress_intent }
}
guest_join_chance = {
base = 10
base_activity_modifier = yes
# Scripted Modifiers
activity_guest_shared_ai_accept_modifier = yes
modifier = {
add = 25
desc = ACTIVITY_GUEST_PLAYDATE_CREDIT_REASON
scope:host = { has_variable = free_meet_peers_credit }
}
}
###################
# GRAPHICS
###################
header_background = "gfx/interface/illustrations/activity_header_backgrounds/activity_playdate.dds"
# Travel
background = { # Bridge
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
is_riverside_province = yes
geographical_region = world_europe
OR = {
terrain = farmlands
terrain = plains
terrain = mountains
terrain = hills
}
}
}
texture = "gfx/interface/illustrations/event_scenes/ep2_travel_bridge.dds"
environment = "environment_travel_bridge"
ambience = "event:/SFX/Events/Backgrounds/mountains_day"
}
background = { #Rice Fields - If we have Paddy fields AND/or terraced hills
#This goes before other terrain since it can override in many different terrains if built
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
OR = {
terrain = terraced_hills
has_building_or_higher = paddy_fields_01
}
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
environment = "environment_tgp_rice_fields"
ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
}
background = { #Farmlands - East Asia
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
culture = { has_graphical_east_asia_culture_group_trigger = yes }
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
environment = "environment_tgp_farm_asia"
ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
}
background = { # Farmland, settled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
exists = province_owner
}
}
texture = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
environment = "environment_travel_farmlands"
ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
}
background = { # Farmland, unsettled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
terrain = farmlands
NOT = { exists = province_owner }
}
}
texture = "gfx/interface/illustrations/event_scenes/farms.dds"
environment = "environment_event_farms"
ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
}
background = { #Desert, settled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_desert_trigger = yes
exists = province_owner
}
}
texture = "gfx/interface/illustrations/event_scenes/ep2_travel_desert.dds"
environment = "environment_travel_desert"
ambience = "event:/SFX/Events/Backgrounds/desert_day"
}
background = { #Desert, unsettled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_desert_trigger = yes
NOT = { exists = province_owner }
}
}
texture = "gfx/interface/illustrations/event_scenes/desert.dds"
environment = "environment_event_bp1_desert"
ambience = "event:/SFX/Events/Backgrounds/desert_day"
}
background = { #forest snowy
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location ?= { hunt_snowy_forest_trigger = yes }
}
texture = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
environment = "environment_hunt_snowy_forest"
ambience = "event:/SFX/Events/Backgrounds/mountains_day"
}
background = { #forest_pine
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_forest_pine_trigger = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
environment = "environment_event_forest_pine"
ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
}
background = { #forest
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_forest_trigger = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/forest.dds"
environment = "environment_event_forest"
ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
}
background = { #mountains, settled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_mountains_trigger = yes
exists = province_owner
}
}
texture = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
environment = "environment_travel_mountain_settlement"
ambience = "event:/SFX/Events/Backgrounds/mountains_day"
}
background = { #mountains, unsettled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_mountains_trigger = yes
NOT = { exists = province_owner }
}
}
texture = "gfx/interface/illustrations/event_scenes/mountains.dds"
environment = "environment_event_mountains"
ambience = "event:/SFX/Events/Backgrounds/mountains_day"
}
background = { #steppe, settled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_steppe_trigger = yes
exists = province_owner
}
}
texture = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
environment = "environment_travel_steppe_settlement"
ambience = "event:/SFX/Events/Backgrounds/steppe_day"
}
background = { #steppe, unsettled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_steppe_trigger = yes
NOT = { exists = province_owner }
}
}
texture = "gfx/interface/illustrations/event_scenes/steppe.dds"
environment = "environment_event_steppe"
ambience = "event:/SFX/Events/Backgrounds/steppe_day"
}
background = { #drylands (formerly desert)
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_drylands_trigger = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/drylands.dds"
environment = "environment_event_desert"
ambience = "event:/SFX/Events/Backgrounds/desert_day"
}
background = { #wetlands
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_wetlands_trigger = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
environment = "environment_event_bp1_wetlands"
ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
}
background = { #jungle
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_wilderness_jungle_trigger = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
environment = "environment_event_bp1_jungle"
ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
}
background = { #plains, settled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_plains_trigger = yes
exists = province_owner
}
}
texture = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
environment = "environment_travel_hills_settlement"
ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
}
background = { #plains, unsettled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_plains_trigger = yes
NOT = { exists = province_owner }
}
}
texture = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
environment = "environment_event_bp1_plains"
ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
}
background = { #hills, settled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_hills_trigger = yes
exists = province_owner
}
}
texture = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
environment = "environment_travel_hills_settlement"
ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
}
background = { #hills, unsettled
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
graphical_hills_trigger = yes
NOT = { exists = province_owner }
}
}
texture = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
environment = "environment_event_bp1_hills"
ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
}
background = { #sea
trigger = {
scope:host.location != scope:activity.activity_location
scope:host.location = {
is_sea_province = yes
}
}
texture = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
environment = "environment_event_fp1_ocean"
ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
}
# End Travel
background = { #Nomads
trigger = {
OR = {
activity_host = { government_has_flag = government_is_nomadic }
AND = {
activity_host = { government_has_flag = government_is_tribal }
activity_location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
}
AND = {
activity_host = { is_landless_adventurer = yes }
activity_host.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
}
}
}
texture = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
environment = "environment_mpo_hunt_steppe"
ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
}
background = {
trigger = {
activity_location = {
OR = {
geographical_region = world_europe_west_iberia
culture = { has_building_gfx = iberian_building_gfx }
}
}
}
texture = "gfx/interface/illustrations/activity_backgrounds/fp2_garden.dds"
environment = "environment_event_fp2_garden"
ambience = "event:/DLC/FP2/SFX/Events/garden"
}
background = {
trigger = {
activity_location = {
OR = {
culture ?= {
has_graphical_mena_culture_group_trigger = yes
}
steppe_building_gfx_use_mena_trigger = yes
}
}
}
texture = "gfx/interface/illustrations/activity_backgrounds/bp1_garden_mena_day.dds"
environment = "environment_event_fp2_garden"
ambience = "event:/DLC/FP2/SFX/Events/garden"
}
background = { #Indian
trigger = {
activity_location = {
OR = {
steppe_building_gfx_use_indian_trigger = yes
culture ?= { has_graphical_india_culture_group_trigger = yes }
}
}
}
texture = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
environment = "environment_bp2_garden_india_day"
ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
}
background = { #Asia Garden
trigger = {
activity_location ?= {
OR = {
culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
steppe_building_gfx_use_east_asian_trigger = yes
}
}
}
texture = "gfx/interface/illustrations/event_scenes/tgp_garden_asia.dds"
environment = "environment_tgp_garden_asia"
ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_garden_asia"
}
background = {
texture = "gfx/interface/illustrations/activity_backgrounds/garden.dds"
environment = "environment_event_garden"
ambience = "event:/DLC/FP2/SFX/Events/garden"
}
window_characters = {
guest = {
camera = camera_event_center
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
scope:player ?= {
this != scope:host
}
}
scope:player ?= { add_to_list = characters }
}
else = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
always = yes
}
animation = { idle throne_room_cheer_2 child_hobby_horse }
}
}
}
guest = {
camera = camera_event_center
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
always = yes
}
animation = { idle laugh clutching_ball }
}
}
}
host = {
camera = camera_event_center
effect = {
if = {
limit = {
OR = {
scope:host.location = scope:activity.activity_location
scope:host.location = { is_sea_province = yes }
}
}
scope:host = {
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
scope:character.location = { is_sea_province = yes }
}
animation = { survey }
}
animation = idle
}
}
travel_host = {
camera = camera_event_horse_left
effect = {
if = {
limit = {
NOR = {
scope:host.location = scope:activity.activity_location
scope:host.location = { is_sea_province = yes }
}
}
scope:host = {
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = { scope:character = { has_trait = impatient } }
animation = { jockey_gallop }
}
animation = jockey_walk
}
}
guest = {
camera = camera_event_center
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
always = yes
}
animation = { idle thinking throne_room_cheer_1 clutching_doll }
}
}
}
guest = {
camera = camera_event_center
effect = {
if = {
limit = {
scope:host.location = scope:activity.activity_location
}
every_attending_character = {
limit = {
location = scope:activity.activity_location
this != scope:host
}
add_to_list = characters
}
}
}
scripted_animation = {
triggered_animation = {
trigger = {
always = yes
}
animation = { idle happiness eccentric chess_cocky chess_certain_win reading }
}
}
}
}
on_enter_active_state = {
surveyor_no_stone_unturned_perk_effect = yes
}
###################
# ACTIVITY-SPECIFIC PULSES
###################
on_start = {
# Remove free credit.
scope:host = { remove_variable = free_meet_peers_credit }
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff