fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -30,7 +30,9 @@ tgp_child_personality.0002 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_0002 }
NAND = {
OR = {
has_trait = arrogant
@ -42,7 +44,6 @@ tgp_child_personality.0002 = {
has_trait = sadistic
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -69,6 +70,10 @@ tgp_child_personality.0002 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_0002
years = 16
}
save_scope_as = child
if = {
limit = {
@ -95,11 +100,14 @@ tgp_child_personality.0002 = {
save_scope_as = guardian
}
}
create_character = {
template = generic_peasant_character
gender_female_chance = 0
location = root.location
save_scope_as = poor_fellow
if = {
limit = { is_ai = no }
create_character = {
template = generic_peasant_character
gender_female_chance = 0
location = root.location
save_scope_as = poor_fellow
}
}
}
@ -201,7 +209,7 @@ tgp_child_personality.0002 = {
}
}
after = {
scope:poor_fellow = {
scope:poor_fellow ?= {
silent_disappearance_effect = yes
}
}
@ -224,7 +232,9 @@ tgp_child_personality.0003 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_0003 }
OR = {
any_relation = {
type = guardian
@ -255,7 +265,6 @@ tgp_child_personality.0003 = {
has_trait = arrogant
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -281,7 +290,10 @@ tgp_child_personality.0003 = {
modifier = {
add = 5
culture = {
has_cultural_parameter = honest_trait_more_common
OR = {
has_cultural_parameter = honest_trait_more_common
has_cultural_parameter = good_faith_traits_more_common
}
}
NOR = {
has_trait = honest
@ -291,6 +303,10 @@ tgp_child_personality.0003 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_0003
years = 16
}
save_scope_as = child
get_guardian_scope_effect = yes
}
@ -344,7 +360,10 @@ tgp_child_personality.0003 = {
modifier = {
add = 100
culture = {
has_cultural_parameter = honest_trait_more_common
OR = {
has_cultural_parameter = honest_trait_more_common
has_cultural_parameter = good_faith_traits_more_common
}
}
}
}
@ -405,7 +424,9 @@ tgp_child_personality.0004 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_0004 }
OR = {
any_relation = {
type = guardian
@ -440,7 +461,6 @@ tgp_child_personality.0004 = {
has_trait = impatient
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -486,6 +506,10 @@ tgp_child_personality.0004 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_0004
years = 16
}
save_scope_as = child
get_guardian_scope_effect = yes
}
@ -613,7 +637,9 @@ tgp_child_personality.0007 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_0007 }
NAND = {
OR = {
has_trait = just
@ -628,7 +654,6 @@ tgp_child_personality.0007 = {
has_trait = gluttonous
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -664,16 +689,23 @@ tgp_child_personality.0007 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_0007
years = 16
}
save_scope_as = child
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = gluttonous_servant
trait = gluttonous
trait = drunkard
after_creation = {
change_current_weight = 150
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = gluttonous_servant
trait = gluttonous
trait = drunkard
after_creation = {
change_current_weight = 150
}
}
}
}
@ -774,7 +806,7 @@ tgp_child_personality.0007 = {
}
}
after = {
scope:gluttonous_servant = {
scope:gluttonous_servant ?= {
silent_disappearance_effect = yes
}
}
@ -793,7 +825,9 @@ tgp_child_personality.0009 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_0009 }
NAND = {
OR = {
has_trait = brave
@ -808,7 +842,6 @@ tgp_child_personality.0009 = {
has_trait = cynical
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -844,6 +877,10 @@ tgp_child_personality.0009 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_0009
years = 16
}
save_scope_as = child
}
@ -964,7 +1001,9 @@ tgp_child_personality.0010 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_0010 }
OR = {
any_relation = {
type = guardian
@ -1000,7 +1039,6 @@ tgp_child_personality.0010 = {
has_trait = trusting
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -1026,6 +1064,10 @@ tgp_child_personality.0010 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_0010
years = 16
}
save_scope_as = child
get_guardian_scope_effect = yes
}
@ -1139,7 +1181,9 @@ tgp_child_personality.7000 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7000 }
OR = {
any_relation = {
type = guardian
@ -1174,7 +1218,6 @@ tgp_child_personality.7000 = {
has_trait = temperate
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -1210,6 +1253,10 @@ tgp_child_personality.7000 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7000
years = 16
}
save_scope_as = child
get_guardian_scope_effect = yes
}
@ -1327,7 +1374,9 @@ tgp_child_personality.7300 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7300 }
NAND = {
OR = {
has_trait = eccentric
@ -1340,7 +1389,6 @@ tgp_child_personality.7300 = {
has_trait = sadistic
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -1367,6 +1415,10 @@ tgp_child_personality.7300 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7300
years = 16
}
save_scope_as = child
}
@ -1489,7 +1541,9 @@ tgp_child_personality.7010 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7010 }
NAND = {
OR = {
has_trait = zealous
@ -1505,7 +1559,6 @@ tgp_child_personality.7010 = {
has_trait = callous
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -1541,6 +1594,10 @@ tgp_child_personality.7010 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7010
years = 16
}
save_scope_as = child
}
@ -1660,7 +1717,9 @@ tgp_child_personality.7020 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7020 }
NAND = {
OR = {
has_trait = shy
@ -1675,7 +1734,6 @@ tgp_child_personality.7020 = {
has_trait = brave
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -1691,12 +1749,19 @@ tgp_child_personality.7020 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7020
years = 16
}
save_scope_as = child
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = eyes
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = eyes
}
}
}
@ -1787,7 +1852,7 @@ tgp_child_personality.7020 = {
}
}
after = {
scope:eyes = {
scope:eyes ?= {
silent_disappearance_effect = yes
}
}
@ -1806,7 +1871,9 @@ tgp_child_personality.7050 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7050 }
NAND = {
OR = {
has_trait = just
@ -1822,7 +1889,6 @@ tgp_child_personality.7050 = {
has_trait = sadistic
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -1848,6 +1914,10 @@ tgp_child_personality.7050 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7050
years = 16
}
save_scope_as = child
}
@ -1971,7 +2041,9 @@ tgp_child_personality.7200 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7200 }
NAND = {
OR = {
has_trait = brave
@ -1987,7 +2059,6 @@ tgp_child_personality.7200 = {
has_trait = calm
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -2014,12 +2085,19 @@ tgp_child_personality.7200 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7200
years = 16
}
save_scope_as = child
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = alarmed_servant
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = alarmed_servant
}
}
}
@ -2123,7 +2201,7 @@ tgp_child_personality.7200 = {
}
}
after = {
scope:alarmed_servant = {
scope:alarmed_servant ?= {
silent_disappearance_effect = yes
}
}
@ -2147,7 +2225,9 @@ tgp_child_personality.7070 = {
hide_info = yes
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7070 }
OR = {
any_relation = {
type = guardian
@ -2182,7 +2262,6 @@ tgp_child_personality.7070 = {
has_trait = wrathful
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -2218,13 +2297,20 @@ tgp_child_personality.7070 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7070
years = 16
}
save_scope_as = child
get_guardian_scope_effect = yes
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = servant
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = servant
}
}
}
@ -2330,7 +2416,7 @@ tgp_child_personality.7070 = {
}
}
after = {
scope:servant = {
scope:servant ?= {
silent_disappearance_effect = yes
}
}
@ -2349,13 +2435,14 @@ tgp_child_personality.7040 = {
}
trigger = {
is_available_child_allow_travel = yes
age >= 13 #Because chaste/lustful are only given at age 13
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7040 }
NOR = {
has_trait = chaste
has_trait = lustful
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -2376,6 +2463,10 @@ tgp_child_personality.7040 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7040
years = 16
}
save_scope_as = child
}
@ -2452,7 +2543,9 @@ tgp_child_personality.7080 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7080 }
NAND = {
OR = {
has_trait = generous
@ -2468,7 +2561,6 @@ tgp_child_personality.7080 = {
has_trait = humble
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -2494,12 +2586,19 @@ tgp_child_personality.7080 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7080
years = 16
}
save_scope_as = child
create_character = {
template = merchant_template
age = { 8 12 }
location = root.location
save_scope_as = greedy_child
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 8 12 }
location = root.location
save_scope_as = greedy_child
}
}
}
@ -2603,7 +2702,7 @@ tgp_child_personality.7080 = {
}
}
after = {
scope:greedy_child = {
scope:greedy_child ?= {
silent_disappearance_effect = yes
}
}
@ -2628,7 +2727,9 @@ tgp_child_personality.7030 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7030 }
NAND = {
OR = {
has_trait = lazy
@ -2644,7 +2745,6 @@ tgp_child_personality.7030 = {
has_trait = sadistic
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -2671,25 +2771,32 @@ tgp_child_personality.7030 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7030
years = 16
}
save_scope_as = child
create_character = {
template = merchant_template
age = { 40 60 }
gender_female_chance = {
if = {
limit = {
root = {
is_female = yes
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 40 60 }
gender_female_chance = {
if = {
limit = {
root = {
is_female = yes
}
}
add = 100
}
else = {
add = 0
}
add = 100
}
else = {
add = 0
}
location = root.location
save_scope_as = clumsy_servant
}
location = root.location
save_scope_as = clumsy_servant
}
}
@ -2794,7 +2901,7 @@ tgp_child_personality.7030 = {
}
}
after = {
scope:clumsy_servant = {
scope:clumsy_servant ?= {
silent_disappearance_effect = yes
}
}
@ -2816,7 +2923,9 @@ tgp_child_personality.7090 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7090 }
NAND = {
OR = {
has_trait = forgiving
@ -2831,7 +2940,6 @@ tgp_child_personality.7090 = {
has_trait = impatient
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -2854,28 +2962,45 @@ tgp_child_personality.7090 = {
has_trait = impatient
}
}
modifier = {
add = 5
culture = {
has_cultural_parameter = good_faith_traits_more_common
}
NOR = {
has_trait = trusting
has_trait = paranoid
}
}
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7090
years = 16
}
save_scope_as = child
create_character = {
template = merchant_template
age = { 40 60 }
gender_female_chance = {
if = {
limit = {
root = {
is_female = yes
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 40 60 }
gender_female_chance = {
if = {
limit = {
root = {
is_female = yes
}
}
add = 100
}
else = {
add = 0
}
add = 100
}
else = {
add = 0
}
location = root.location
save_scope_as = sorry_servant
}
location = root.location
save_scope_as = sorry_servant
}
}
@ -2936,6 +3061,12 @@ tgp_child_personality.7090 = {
add = -0.5
guardian_or_court_tutor_trait_trigger = { TRAIT = paranoid }
}
modifier = {
add = 100
culture = {
has_cultural_parameter = good_faith_traits_more_common
}
}
}
}
@ -2975,7 +3106,7 @@ tgp_child_personality.7090 = {
}
}
after = {
scope:sorry_servant = {
scope:sorry_servant ?= {
silent_disappearance_effect = yes
}
}
@ -2998,7 +3129,9 @@ tgp_child_personality.7060 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7060 }
NAND = {
OR = {
has_trait = humble
@ -3013,7 +3146,6 @@ tgp_child_personality.7060 = {
has_trait = ambitious
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -3049,12 +3181,19 @@ tgp_child_personality.7060 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7060
years = 16
}
save_scope_as = child
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = sycophantic_servant
if = {
limit = { is_ai = no }
create_character = {
template = merchant_template
age = { 40 60 }
location = root.location
save_scope_as = sycophantic_servant
}
}
}
@ -3160,7 +3299,7 @@ tgp_child_personality.7060 = {
}
}
after = {
scope:sycophantic_servant = {
scope:sycophantic_servant ?= {
silent_disappearance_effect = yes
}
}
@ -3182,7 +3321,9 @@ tgp_child_personality.7100 = {
}
trigger = {
is_valid_for_east_asian_events_trigger = yes
is_available_child_allow_travel = yes
NOT = { has_character_flag = had_event_child_personality_7100 }
OR = {
any_relation = {
type = guardian
@ -3217,7 +3358,6 @@ tgp_child_personality.7100 = {
has_trait = patient
}
}
is_valid_for_east_asian_events_trigger = yes
}
weight_multiplier = {
@ -3233,7 +3373,10 @@ tgp_child_personality.7100 = {
modifier = {
add = 5
culture = {
has_cultural_parameter = honest_trait_more_common
OR = {
has_cultural_parameter = honest_trait_more_common
has_cultural_parameter = good_faith_traits_more_common
}
}
NOR = {
has_trait = honest
@ -3243,6 +3386,10 @@ tgp_child_personality.7100 = {
}
immediate = {
add_character_flag = {
flag = had_event_child_personality_7100
years = 16
}
save_scope_as = child
get_guardian_scope_effect = yes
}
@ -3277,7 +3424,10 @@ tgp_child_personality.7100 = {
modifier = {
add = 100
culture = {
has_cultural_parameter = honest_trait_more_common
OR = {
has_cultural_parameter = honest_trait_more_common
has_cultural_parameter = good_faith_traits_more_common
}
}
}
}