Alignment
This commit is contained in:
parent
f7a954eb51
commit
15a5108e23
250 changed files with 31104 additions and 25806 deletions
|
|
@ -3,7 +3,7 @@ on_travel_plan_movement = {
|
|||
# It should be more likely to fire a danger event if it's valid for the given province
|
||||
trigger = {
|
||||
is_ruler = yes
|
||||
is_adult = yes
|
||||
is_adult = yes
|
||||
}
|
||||
|
||||
on_actions = {
|
||||
|
|
@ -13,7 +13,7 @@ on_travel_plan_movement = {
|
|||
delay = { days = 2 }
|
||||
adventurer_talent_scouting_on_action
|
||||
delay = { days = 3 }
|
||||
adventurer_encourage_realtionships_on_action
|
||||
adventurer_encourage_relationships_on_action
|
||||
migration_events_on_action
|
||||
delay = { days = 1 }
|
||||
}
|
||||
|
|
@ -67,10 +67,10 @@ on_travel_plan_movement = {
|
|||
is_on_a_pilgrimage_trigger = yes
|
||||
}
|
||||
pilgrimages_track_encountered_cultures_effect = yes
|
||||
}
|
||||
}
|
||||
# We change your Legend if you travel through somewhere relevant
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
current_travel_plan.current_location = {
|
||||
has_any_point_of_interest_flag = yes
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ on_travel_plan_movement = {
|
|||
}
|
||||
add_to_variable_list = {
|
||||
name = cultural_ambassador_culture_list
|
||||
target = current_location.culture
|
||||
target = current_location.culture
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -130,14 +130,14 @@ on_travel_plan_movement = {
|
|||
NOR = {
|
||||
is_target_in_variable_list = {
|
||||
name = cultural_ambassador_culture_list
|
||||
target = current_location.culture
|
||||
target = current_location.culture
|
||||
}
|
||||
current_location.culture = root.culture
|
||||
}
|
||||
}
|
||||
add_to_variable_list = {
|
||||
name = cultural_ambassador_culture_list
|
||||
target = current_location.culture
|
||||
target = current_location.culture
|
||||
}
|
||||
current_location = {
|
||||
culture = { save_scope_as = current_culture }
|
||||
|
|
@ -228,7 +228,7 @@ on_travel_plan_movement = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#Surveyor MAA Mustering
|
||||
surveyor_perk_mustering_effect = yes
|
||||
|
||||
|
|
@ -245,7 +245,7 @@ on_travel_plan_movement = {
|
|||
# Wayfarer Fame
|
||||
if = {
|
||||
limit = {
|
||||
has_perk = far_and_wide_perk
|
||||
has_perk = far_and_wide_perk
|
||||
}
|
||||
add_prestige_experience = 10
|
||||
}
|
||||
|
|
@ -255,7 +255,7 @@ on_travel_plan_movement = {
|
|||
voyager_gracious_host_impeccable_guest_effect = yes
|
||||
#Tutor Child Travel Option
|
||||
surveyor_tutor_child_effect = yes
|
||||
reminiscing_event_effect = yes
|
||||
reminiscing_event_effect = yes
|
||||
|
||||
# General laamp effects.
|
||||
if = {
|
||||
|
|
@ -336,7 +336,7 @@ on_travel_plan_movement = {
|
|||
add_gold = adventurers_make_local_deals_option_value
|
||||
add_to_variable_list = {
|
||||
name = haggle_provinces
|
||||
target = root.current_travel_plan.current_location
|
||||
target = root.current_travel_plan.current_location
|
||||
}
|
||||
}
|
||||
if = {
|
||||
|
|
@ -493,7 +493,10 @@ on_travel_plan_movement = {
|
|||
# laamp_base_1041/Ambush Travellers task contract minigame.
|
||||
current_travel_plan ?= {
|
||||
if = {
|
||||
limit = { has_variable = activate_laamp_base_1041_logic }
|
||||
limit = {
|
||||
has_variable = activate_laamp_base_1041_logic
|
||||
current_location = { is_sea_province = no }
|
||||
}
|
||||
travel_plan_owner.var:laamp_base_1041_travel_plan_contract_storage = {
|
||||
if = {
|
||||
limit = { var:event_ratio_tracker >= 1 }
|
||||
|
|
@ -553,6 +556,62 @@ travel_danger_events_on_action = {
|
|||
is_migrating = no # No Danger events while migrating
|
||||
exists = current_travel_plan
|
||||
}
|
||||
effect = {
|
||||
random = { # chance of inspiring a knight to become eligible for stalwart accolade
|
||||
chance = 0.05
|
||||
modifier = {
|
||||
factor = current_travel_plan.current_danger_value # scales with danger (even if mitigated)
|
||||
}
|
||||
modifier = {
|
||||
factor = accolade_progress # scales with accolade progress
|
||||
}
|
||||
modifier = { # must have an eligible knight
|
||||
NOT = {
|
||||
any_knight = {
|
||||
current_travel_plan ?= root.current_travel_plan
|
||||
can_unlock_accolade_attribute_trigger = {
|
||||
ATTRIBUTE = stalwart
|
||||
}
|
||||
}
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
set_variable = {
|
||||
name = accolade_progress
|
||||
value = 0
|
||||
}
|
||||
random_knight = {
|
||||
limit = {
|
||||
current_travel_plan ?= root.current_travel_plan
|
||||
can_unlock_accolade_attribute_trigger = {
|
||||
ATTRIBUTE = stalwart
|
||||
}
|
||||
}
|
||||
weight = {
|
||||
base = 1
|
||||
modifier = {
|
||||
add = 50
|
||||
is_acclaimed = yes
|
||||
}
|
||||
}
|
||||
save_scope_as = accolade_knight
|
||||
}
|
||||
save_scope_as = accolade_liege
|
||||
send_interface_message = {
|
||||
type = msg_accolade_eligibility
|
||||
title = accolade_stalwart_unlock.t
|
||||
left_icon = scope:accolade_knight
|
||||
right_icon = scope:accolade_liege
|
||||
custom_tooltip = accolade_stalwart_unlock.tt
|
||||
scope:accolade_knight = {
|
||||
set_variable = {
|
||||
name = stalwart_attribute_unlock
|
||||
value = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
random_events = {
|
||||
chance_of_no_event = {
|
||||
value = {
|
||||
|
|
@ -630,7 +689,7 @@ travel_danger_events_on_action = {
|
|||
|
||||
200 = natural_disaster_flavor_events.0001 # As Scavengers Gather - Search the ruins for loot or survivors
|
||||
200 = natural_disaster_flavor_events.0010 # Desperate Souls - Decide how to deal with a throng of paupers
|
||||
|
||||
|
||||
# Laamp Travel Danger Events
|
||||
350 = ep3_laamp_flavour_ewan.4001 # Bandits! - Bandit raid.
|
||||
350 = ep3_laamp_flavour_ewan.4021 # Parched - Difficulty finding water.
|
||||
|
|
@ -641,6 +700,15 @@ travel_danger_events_on_action = {
|
|||
350 = ep3_laamp_flavour_ewan.4071 # Slavers - bastards try to kidnap people from the edges of your train.
|
||||
350 = ep3_laamp_flavour_ewan.4081 # Born of Desperation - hungry locals swarm at you, searching for food.
|
||||
350 = ep3_laamp_flavour_ewan.4091 # Night Attack - unknown group assaults your camp one evening.
|
||||
|
||||
# TGP Travel Danger Events
|
||||
100 = tgp_travel_danger_events.0001 # Encounter an orphan in an area struck by natural disaster.
|
||||
|
||||
# Simple Danger Events
|
||||
100 = travel_danger_events.9030 # Rain: delay
|
||||
100 = travel_danger_events.9040 # Rainstorm, someone is lost & gone forever!
|
||||
100 = travel_danger_events.9050 # Someone with Withering Mind walks off
|
||||
100 = travel_danger_events.9060 # Faltering Heart/Fragile Bones entourage character suffers during travel
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -664,21 +732,21 @@ travel_events_on_action = {
|
|||
|
||||
random_events = {
|
||||
chance_of_no_event = {
|
||||
value = 80
|
||||
value = 95
|
||||
if = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
}
|
||||
add = 19 # Not very important that AI's get these
|
||||
add = 4 # Not very important that AI's get these
|
||||
}
|
||||
if = { # Less regular travel events when you're migrating
|
||||
limit = {
|
||||
is_migrating = yes
|
||||
}
|
||||
add = 15
|
||||
add = 4
|
||||
}
|
||||
}
|
||||
100 = 0
|
||||
100 = 0
|
||||
5 = travel_events.1000 #Peasant with no shoes
|
||||
10 = travel_events.2000 #Good omen? - Encounter a duck
|
||||
100 = travel_events.2002 #Crossing an ant path - Ignore or don't ignore your guide
|
||||
|
|
@ -745,6 +813,7 @@ travel_events_on_action = {
|
|||
100 = travel_events.4050 # hostage/ward/different culture courtier acts as cultural mediator
|
||||
200 = hunt.8200 # Falconry Practice
|
||||
500 = hunt.8210 #Pursued by a Shrine Maiden
|
||||
100 = travel_events.5100 #You reach a spirit haunted bridge
|
||||
#Cultural Tradition events
|
||||
100 = travel_events.1200 #Friendly People
|
||||
100 = travel_events.1201 #Chivalry
|
||||
|
|
@ -769,7 +838,7 @@ travel_events_on_action = {
|
|||
|
||||
#Mystical animal story
|
||||
300 = hunt_mystical_animal.1002
|
||||
|
||||
|
||||
# BP3 Travel Events
|
||||
150 = travel_events_oltner_2.1000 # Mirage of the Cultivated Sands
|
||||
150 = travel_events_oltner_2.1010 # Hospitable Hospices
|
||||
|
|
@ -859,13 +928,25 @@ travel_events_on_action = {
|
|||
100 = mpo_events_anna.0015 #A Morsel of Meat - choose the fate of a fawn stuck in a trap
|
||||
100 = mpo_events_anna.0020 #Race Against Time - encounter a wounded messenger
|
||||
100 = mpo_events_anna.0025 #Familiar Tunes - encounter with a performer
|
||||
|
||||
|
||||
#TGP Travel Events - China
|
||||
100 = tgp_travel_events.0025
|
||||
100 = tgp_travel_events.0030
|
||||
100 = tgp_travel_events.0035
|
||||
100 = tgp_travel_events.0040
|
||||
100 = tgp_travel_events.0045
|
||||
|
||||
#Travel Events Japan
|
||||
100 = tgp_japan_yearly_events.0006 # 0006 - Treasures from the Sea - ama divers
|
||||
100 = tgp_japan_yearly_events.0012 # 0012 - Monkey Business - Onsen
|
||||
100 = tgp_japan_yearly_events.0013 # 0013 - Purifying the Spirit - Onsen
|
||||
100 = tgp_japan_yearly_events.0014 # 0014 - Taking It Easy - Onsen
|
||||
100 = tgp_japan_yearly_events.0027 # 0027 - Prove Your Worth - Tengu
|
||||
10 = tgp_japan_yearly_events.0028 # 0028 - False Rumors - Tengu
|
||||
100 = tgp_japan_yearly_events.1000 # 1000 - You see some Onibi, follow them or no?
|
||||
50 = tgp_japan_yearly_events.1040 # 1040 - You come across a red bridge
|
||||
50 = tgp_japan_yearly_events.1120 # 1120 - You meet a warrior monk
|
||||
50 = tgp_japan_yearly_events.1140 # 1140 - You are stopped in Soryo lands as a Ritsuryo ruler
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -898,7 +979,7 @@ migration_events_on_action = {
|
|||
100 = migration_events.1010 #Wife wants you to travel in the yurt wagon
|
||||
50 = migration_events.1020 #Family member wants to take land from local herder
|
||||
50 = migration_events.1030 #Your herds can't find good grazing land
|
||||
100 = migration_events.1040 #Local ruler offers you a meal and a gift
|
||||
100 = migration_events.1040 #Local ruler offers you a meal and a gift
|
||||
50 = migration_events.1050 #Your warriors raid a settlement your people pass
|
||||
50 = migration_events.1060 #The going is slow and your warriors want to ride on ahead
|
||||
100 = mpo_migration_travel_events.0001 # A ruler offers herd
|
||||
|
|
@ -942,7 +1023,8 @@ travel_event_tombola = {
|
|||
1 = travel_events_on_action
|
||||
2 = on_tour_travel
|
||||
2 = pilgrimage_journey_events
|
||||
2 = hajj_journey_events
|
||||
#2 = hajj_journey_events # They're the same as Pilgrimage for now, commenting out until further notice to save performance
|
||||
# If Hajj content is added, also see comment in is_on_a_pilgrimage_trigger
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1019,10 +1101,10 @@ on_travel_plan_arrival = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
voyager_souvenirs_aplenty_effect = yes
|
||||
reminiscing_event_effect = yes
|
||||
|
||||
|
||||
# Visited Points of Interest tracker, currently only for Adventurers
|
||||
points_of_interest_tracker_effect = yes
|
||||
}
|
||||
|
|
@ -1242,7 +1324,7 @@ on_travel_plan_start = {
|
|||
fishing_yurt_county_modifier_2 = { remove_county_modifier = fishing_yurt_county_modifier_2 }
|
||||
fishing_yurt_county_modifier_1 = { remove_county_modifier = fishing_yurt_county_modifier_1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Wayfarer Popularity
|
||||
of_the_people_effect = yes
|
||||
|
|
@ -1289,18 +1371,24 @@ on_travel_plan_start = {
|
|||
}
|
||||
}
|
||||
events = {
|
||||
travel_start_event.1000 #Generic start (no activity)
|
||||
travel_start_event.1010 #Travelling to a Tournament
|
||||
# Commented-out events are removed due to spam concerns
|
||||
# The ones who are left have mechanical impacts; Tours give prestige/stress loss, pilgrimages add additional pilgrims, wanderer activities give boons based ona ctivity options for Monument Explorations, etc.
|
||||
# Chinese debates/examinations give necessary context effects, such as choosing movement if you have none, or resigning from your alnds if you need to take the exam
|
||||
|
||||
travel_start_event.1130 # Generic 'travel started' toast, also plays mx_cue_travel_start
|
||||
|
||||
#travel_start_event.1000 #Generic start (no activity)
|
||||
#travel_start_event.1010 #Travelling to a Tournament
|
||||
travel_start_event.1020 #Setting off on a Tour
|
||||
travel_start_event.1030 #Travelling to a Wedding
|
||||
travel_start_event.1040 #Travelling to a Feast
|
||||
travel_start_event.1050 #Travelling to a Playdate
|
||||
#travel_start_event.1030 #Travelling to a Wedding
|
||||
#travel_start_event.1040 #Travelling to a Feast
|
||||
#travel_start_event.1050 #Travelling to a Playdate
|
||||
travel_start_event.1060 #Going on a Pilgrimage
|
||||
travel_start_event.1070 #Travelling to a Hunt
|
||||
travel_start_event.1080 #Travelling to a Witch Ritual
|
||||
#travel_start_event.1070 #Travelling to a Hunt
|
||||
#travel_start_event.1080 #Travelling to a Witch Ritual
|
||||
travel_start_event.1090 #Travelling to a Travel Lifestyle Activity
|
||||
travel_start_event.1100 #Travelling to an Examination
|
||||
travel_start_event.1110 #Travelling to a Mandala Ritual
|
||||
#travel_start_event.1110 #Travelling to a Mandala Ritual
|
||||
travel_start_event.1120 #Travelling to a Debate
|
||||
|
||||
ep3_contract_event.0002 #When doing a Contract as Landless Adventurer fill your entourage with relevant people
|
||||
|
|
@ -1351,14 +1439,14 @@ on_travel_plan_complete = {
|
|||
exists = current_travel_plan.var:travel_plan_provinces_traversed
|
||||
add = {
|
||||
value = current_travel_plan.var:travel_plan_provinces_traversed
|
||||
divide = 5
|
||||
divide = 5
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_trait = lifestyle_traveler }
|
||||
}
|
||||
add_trait = lifestyle_traveler
|
||||
add_trait = lifestyle_traveler
|
||||
}
|
||||
}
|
||||
80 = {}
|
||||
|
|
@ -1386,7 +1474,7 @@ on_travel_plan_complete = {
|
|||
send_interface_toast = {
|
||||
type = event_generic_good
|
||||
title = leisurely_option_effect
|
||||
|
||||
|
||||
add_prestige_experience = {
|
||||
value = {
|
||||
value = current_travel_plan.var:travel_plan_provinces_traversed
|
||||
|
|
@ -1408,7 +1496,7 @@ on_travel_plan_complete = {
|
|||
send_interface_toast = {
|
||||
type = event_generic_good
|
||||
title = travel_logs_title
|
||||
|
||||
|
||||
add_trait_xp = {
|
||||
trait = lifestyle_traveler
|
||||
track = danger
|
||||
|
|
@ -1500,7 +1588,7 @@ on_travel_plan_complete = {
|
|||
type = event_generic_good
|
||||
title = of_the_people_perk_name
|
||||
left_icon = root
|
||||
|
||||
|
||||
add_prestige_experience = {
|
||||
value = diplomacy
|
||||
multiply = 15
|
||||
|
|
@ -1581,7 +1669,7 @@ on_travel_plan_complete = {
|
|||
fishing_yurt_riverside_lakeside_fertility_bonus_lvl_2 = { domicile_location.county = { add_county_modifier = fishing_yurt_county_modifier_2 } }
|
||||
fishing_yurt_riverside_lakeside_fertility_bonus_lvl_1 = { domicile_location.county = { add_county_modifier = fishing_yurt_county_modifier_1 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = { # A fallback for the contract "Settle Theological Arguments" if you have your domicile in the same location as the start province, due to how the 'Travel Plan' effect works
|
||||
|
|
@ -1608,6 +1696,9 @@ on_travel_plan_complete = {
|
|||
trigger_event = laamp_base_learning_contract_events.4017
|
||||
}
|
||||
tribute_mission_clean_up_variables_effect = yes
|
||||
|
||||
#Remove characters added by travel options at the start of travel plan
|
||||
remove_travel_option_added_character_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1676,18 +1767,18 @@ on_travel_plan_abort = {
|
|||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = petition_liege_costs_refunded
|
||||
left_icon = root
|
||||
left_icon = root
|
||||
remove_decision_cooldown = petition_liege_decision
|
||||
# refund prestige and influence cost
|
||||
if = {
|
||||
limit = { petition_liege_admin_valid_trigger = yes }
|
||||
change_influence_no_experience = standard_activity_cost
|
||||
change_influence_no_experience = standard_activity_base_cost
|
||||
}
|
||||
else = {
|
||||
add_prestige_no_experience = standard_activity_cost
|
||||
add_prestige_no_experience = standard_activity_base_cost
|
||||
}
|
||||
}
|
||||
# remove variables and flags
|
||||
# remove variables and flags
|
||||
petition_liege_variable_cleanup_effect = yes
|
||||
}
|
||||
if = {
|
||||
|
|
@ -1707,6 +1798,9 @@ on_travel_plan_abort = {
|
|||
#Hit absentee Tributary with Tribute Mission penalty
|
||||
requested_tribute_mission_penalty_effect = yes
|
||||
tribute_mission_clean_up_variables_effect = yes
|
||||
|
||||
#Remove characters added by travel options at the start of travel plan
|
||||
remove_travel_option_added_character_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1726,18 +1820,18 @@ on_travel_plan_cancel = {
|
|||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = petition_liege_costs_refunded
|
||||
left_icon = root
|
||||
left_icon = root
|
||||
remove_decision_cooldown = petition_liege_decision
|
||||
# refund prestige and influence cost
|
||||
if = {
|
||||
limit = { petition_liege_admin_valid_trigger = yes }
|
||||
change_influence_no_experience = standard_activity_cost
|
||||
change_influence_no_experience = standard_activity_base_cost
|
||||
}
|
||||
else = {
|
||||
add_prestige_no_experience = standard_activity_cost
|
||||
add_prestige_no_experience = standard_activity_base_cost
|
||||
}
|
||||
}
|
||||
# remove variables and flags
|
||||
# remove variables and flags
|
||||
petition_liege_variable_cleanup_effect = yes
|
||||
}
|
||||
if = {
|
||||
|
|
@ -1745,16 +1839,16 @@ on_travel_plan_cancel = {
|
|||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = petition_ceremonial_liege_costs_refunded
|
||||
left_icon = root
|
||||
left_icon = root
|
||||
remove_decision_cooldown = petition_ceremonial_liege_decision
|
||||
# refund prestige and influence cost
|
||||
if = {
|
||||
limit = { petition_liege_admin_valid_trigger = yes }
|
||||
change_influence_no_experience = standard_activity_cost
|
||||
change_influence_no_experience = standard_activity_base_cost
|
||||
}
|
||||
else = { add_prestige_no_experience = standard_activity_cost }
|
||||
else = { add_prestige_no_experience = standard_activity_base_cost }
|
||||
}
|
||||
# remove variables and flags
|
||||
# remove variables and flags
|
||||
petition_liege_variable_cleanup_effect = yes
|
||||
}
|
||||
if = {
|
||||
|
|
@ -1768,7 +1862,7 @@ on_travel_plan_cancel = {
|
|||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = pay_homage_costs_refunded
|
||||
left_icon = root
|
||||
left_icon = root
|
||||
# Remove variable preventing you from paying homage again
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1788,7 +1882,7 @@ on_travel_plan_cancel = {
|
|||
remove_variable = pledge_loyalty_to_liege_grace
|
||||
}
|
||||
# refund any costs
|
||||
add_prestige = standard_activity_cost
|
||||
add_prestige = standard_activity_base_cost
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = pay_homage_gold_value
|
||||
|
|
@ -1860,7 +1954,7 @@ on_travel_activity_complete = {
|
|||
# If the travel is due to an activity and the activity is invalidated (not completed), this will trigger.
|
||||
# After this on_action, the travel plan will be rerouted home.
|
||||
on_travel_activity_invalidated = {
|
||||
|
||||
|
||||
}
|
||||
|
||||
# If the travel is due to an activity and the activity has started while this travel plan is still underway, this
|
||||
|
|
@ -1948,7 +2042,7 @@ travel_laamps_provisions_on_action = {
|
|||
events = {
|
||||
ep3_laamps_provisions.1080
|
||||
}
|
||||
|
||||
|
||||
random_events = {
|
||||
chance_of_no_event = {
|
||||
value = 10
|
||||
|
|
@ -1989,7 +2083,7 @@ adventurer_talent_scouting_on_action = {
|
|||
}
|
||||
}
|
||||
|
||||
adventurer_encourage_realtionships_on_action = {
|
||||
adventurer_encourage_relationships_on_action = {
|
||||
trigger = {
|
||||
current_travel_plan ?= { has_travel_option = adventurers_encourage_relationships_option }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue