A lot of updating, making republics work

This commit is contained in:
Thakia 2026-11-24 16:18:56 -03:00
parent 09fb57c091
commit 4d6f569e96
99 changed files with 9792 additions and 9342 deletions

View file

@ -82,10 +82,10 @@ on_travel_plan_movement = {
# We change your Legend if you travel through somewhere relevant
if = {
limit = {
has_legend_chapter_trigger = { CHAPTER = conclusion }
current_travel_plan.current_location = {
has_any_point_of_interest_flag = yes
}
has_legend_chapter_trigger = { CHAPTER = conclusion }
NOT = {
promoted_legend ?= {
has_legend_chapter = {
@ -344,11 +344,16 @@ on_travel_plan_movement = {
}
root.current_travel_plan.current_location.available_loot > 0
}
set_variable = {
name = local_deals_last_haggle_gold
value = adventurers_make_local_deals_option_value
}
add_gold = adventurers_make_local_deals_option_value
add_to_variable_list = {
name = haggle_provinces
target = root.current_travel_plan.current_location
}
make_local_deals_haggle_risk_effect = yes
}
if = {
limit = {
@ -479,7 +484,15 @@ on_travel_plan_movement = {
NOT = { exists = inspiration }
}
save_scope_as = inspired_follower
grant_inspiration_to_character_no_court_artifacts_effect = { CHARACTER = this }
if = {
limit = {
root = { government_has_flag = government_is_merchant }
}
grant_merchant_inspiration_to_character_effect = { CHARACTER = this }
}
else = {
grant_inspiration_to_character_no_court_artifacts_effect = { CHARACTER = this }
}
}
send_interface_message = {
type = send_interface_message_good
@ -558,7 +571,6 @@ on_travel_plan_movement = {
location.county.holder = {
NOR = {
has_relation_friend = root
has_relation_best_friend = root
root = {
is_tributary_of = prev
}
@ -978,9 +990,8 @@ travel_events_on_action = {
150 = travel_events_bp3.60 # A Small Deal
150 = travel_events_bp3.65 # Purse Pursuit
25 = travel_events_bp3.70 # <X> Festival
150 = travel_events_bp3.75 # Dreams Brewing
#150 = travel_events_bp3.75 # Dreams Brewing
100 = travel_events_bp3.80 # A Life of Service
150 = travel_events_bp3.85 # Brewers of Fame
150 = travel_events_bp3.90 # Patron of <X>
150 = travel_events_bp3.95 # A Pilgrim's Tale
150 = travel_events_bp3.100 # Land of Milk and... Fish?
@ -1308,15 +1319,19 @@ on_travel_plan_start = {
}
any_court_position_holder = {
type = court_physician_court_position
is_ai = yes
is_available = yes
is_travel_entourage_character = no
bannable_serving_diarch_trigger = no
}
}
random_court_position_holder = {
type = court_physician_court_position
limit = {
is_ai = yes
is_available = yes
is_travel_entourage_character = no
bannable_serving_diarch_trigger = no
}
save_scope_as = court_phys
}
@ -1334,14 +1349,19 @@ on_travel_plan_start = {
}
any_court_position_holder = {
type = bodyguard_court_position
is_ai = yes
is_available = yes
is_travel_entourage_character = no
bannable_serving_diarch_trigger = no
}
}
random_court_position_holder = {
type = bodyguard_court_position
limit = {
is_ai = yes
is_available = yes
is_travel_entourage_character = no
bannable_serving_diarch_trigger = no
}
save_scope_as = bodyguard
}
@ -1359,15 +1379,19 @@ on_travel_plan_start = {
}
any_court_position_holder = {
type = akolouthos_court_position
is_ai = yes
is_available = yes
is_travel_entourage_character = no
bannable_serving_diarch_trigger = no
}
}
random_court_position_holder = {
type = akolouthos_court_position
limit = {
is_ai = yes
is_available = yes
is_travel_entourage_character = no
bannable_serving_diarch_trigger = no
}
save_scope_as = akolouthos
}
@ -1519,9 +1543,9 @@ on_travel_plan_start = {
# 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
@ -1618,6 +1642,7 @@ on_travel_plan_complete = {
current_travel_plan = {
has_travel_option = leisurely_option
}
exists = current_travel_plan.var:travel_plan_provinces_traversed
}
send_interface_toast = {
type = event_generic_good
@ -1640,6 +1665,7 @@ on_travel_plan_complete = {
limit = {
has_perk = travel_logs_perk
has_trait = lifestyle_traveler
exists = current_travel_plan.var:travel_plan_provinces_traversed
}
send_interface_toast = {
type = event_generic_good
@ -2271,6 +2297,7 @@ on_travel_relocation_end = {
travel_laamps_provisions_on_action = {
trigger = {
exists = domicile
domicile = { domicile_uses_provisions = yes }
domicile.provisions <= provisions_privation_threshold_start
NOT = { government_has_flag = government_is_nomadic } # Yurts don't have provisions
}