fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -490,6 +490,10 @@ bp1_yearly.9005 = {
|
|||
}
|
||||
|
||||
trigger = {
|
||||
is_available_adult = yes
|
||||
NOT = {
|
||||
has_trait = forgiving
|
||||
}
|
||||
any_memory = {
|
||||
memory_type = destroyed_my_toy
|
||||
memory_participant:destroyer = {
|
||||
|
|
@ -505,10 +509,6 @@ bp1_yearly.9005 = {
|
|||
memory_type = avenged_my_toy
|
||||
}
|
||||
}
|
||||
is_available_adult = yes
|
||||
NOT = {
|
||||
has_trait = forgiving
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
|
|
@ -535,28 +535,24 @@ bp1_yearly.9005 = {
|
|||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_relation_rival = scope:bp1_yearly_9001_toy_hater
|
||||
}
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:bp1_yearly_9001_toy_hater
|
||||
reason = rival_toy_destruction
|
||||
limit = { has_relation_rival = scope:bp1_yearly_9001_toy_hater }
|
||||
set_relation_nemesis_effect = {
|
||||
TARGET = scope:bp1_yearly_9001_toy_hater
|
||||
REASON = rival_toy_destruction
|
||||
}
|
||||
}
|
||||
else = {
|
||||
set_relation_nemesis = {
|
||||
target = scope:bp1_yearly_9001_toy_hater
|
||||
reason = rival_toy_destruction
|
||||
copy_reason = rival
|
||||
else_if = {
|
||||
limit = {
|
||||
NOT = { has_relation_rival = scope:bp1_yearly_9001_toy_hater }
|
||||
}
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:bp1_yearly_9001_toy_hater
|
||||
REASON = rival_toy_destruction
|
||||
}
|
||||
}
|
||||
create_character_memory = {
|
||||
type = avenged_my_toy
|
||||
participants = {
|
||||
destroyer = scope:bp1_yearly_9001_toy_hater
|
||||
}
|
||||
participants = { destroyer = scope:bp1_yearly_9001_toy_hater }
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = major_stress_impact_gain
|
||||
|
|
@ -580,9 +576,7 @@ bp1_yearly.9005 = {
|
|||
name = bp1_yearly.9005.b
|
||||
trigger = {
|
||||
has_relation_rival = scope:bp1_yearly_9001_toy_hater
|
||||
scope:bp1_yearly_9001_toy_hater = {
|
||||
is_imprisoned_by = root
|
||||
}
|
||||
scope:bp1_yearly_9001_toy_hater = { is_imprisoned_by = root }
|
||||
}
|
||||
scope:bp1_yearly_9001_toy_hater = {
|
||||
death = {
|
||||
|
|
@ -592,9 +586,7 @@ bp1_yearly.9005 = {
|
|||
}
|
||||
create_character_memory = {
|
||||
type = avenged_my_toy
|
||||
participants = {
|
||||
destroyer = scope:bp1_yearly_9001_toy_hater
|
||||
}
|
||||
participants = { destroyer = scope:bp1_yearly_9001_toy_hater }
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = major_stress_impact_gain
|
||||
|
|
@ -1158,8 +1150,7 @@ bp1_yearly.9008 = {
|
|||
NOT = { has_character_flag = had_event_bp1_yearly_9008 }
|
||||
exists = var:my_doppelganger
|
||||
var:my_doppelganger = { is_available_ai_adult = yes }
|
||||
NOR = {
|
||||
has_relation_nemesis = var:my_doppelganger
|
||||
NOT = {
|
||||
has_relation_rival = var:my_doppelganger
|
||||
}
|
||||
}
|
||||
|
|
@ -1473,9 +1464,7 @@ bp1_yearly.9010 = {
|
|||
var:my_doppelganger = { is_available_ai_adult = yes }
|
||||
NOR = {
|
||||
has_relation_friend = var:my_doppelganger
|
||||
has_relation_best_friend = var:my_doppelganger
|
||||
has_relation_lover = var:my_doppelganger
|
||||
has_relation_soulmate = var:my_doppelganger
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1483,11 +1472,11 @@ bp1_yearly.9010 = {
|
|||
var:my_doppelganger = { save_scope_as = bp1_yearly_9007_doppelganger }
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_relation_nemesis = scope:bp1_yearly_9007_doppelganger }
|
||||
can_set_relation_nemesis_trigger = { CHARACTER = scope:bp1_yearly_9007_doppelganger }
|
||||
}
|
||||
set_relation_nemesis = {
|
||||
target = scope:bp1_yearly_9007_doppelganger
|
||||
reason = nemesis_doppelganger
|
||||
set_relation_nemesis_effect = {
|
||||
TARGET = scope:bp1_yearly_9007_doppelganger
|
||||
REASON = nemesis_doppelganger
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1837,7 +1826,6 @@ bp1_yearly.9015 = {
|
|||
OR = {
|
||||
is_consort_of = root
|
||||
has_relation_lover = root
|
||||
has_relation_soulmate = root
|
||||
}
|
||||
}
|
||||
NOT = { rite = { rite_has_parameter = consanguinity_unrestricted_incest } }
|
||||
|
|
@ -1862,7 +1850,6 @@ bp1_yearly.9015 = {
|
|||
OR = {
|
||||
is_consort_of = root
|
||||
has_relation_lover = root
|
||||
has_relation_soulmate = root
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1980,10 +1967,7 @@ bp1_yearly.9015 = {
|
|||
else_if = { # We're enemies, move closer to not being enemies
|
||||
limit = {
|
||||
NOT = { scope:bp1_yearly_9007_doppelganger = { is_consort_of = root } }
|
||||
OR = {
|
||||
has_relation_rival = scope:bp1_yearly_9007_doppelganger
|
||||
has_relation_nemesis = scope:bp1_yearly_9007_doppelganger
|
||||
}
|
||||
has_relation_rival = scope:bp1_yearly_9007_doppelganger
|
||||
}
|
||||
scope:bp1_yearly_9007_doppelganger = {
|
||||
progress_towards_friend_effect = {
|
||||
|
|
@ -1999,7 +1983,6 @@ bp1_yearly.9015 = {
|
|||
OR = {
|
||||
is_consort_of = root
|
||||
has_relation_lover = root
|
||||
has_relation_soulmate = root
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2032,7 +2015,6 @@ bp1_yearly.9015 = {
|
|||
OR = {
|
||||
is_consort_of = root
|
||||
has_relation_lover = root
|
||||
has_relation_soulmate = root
|
||||
}
|
||||
}
|
||||
NOT = { rite = { rite_has_parameter = consanguinity_unrestricted_incest } }
|
||||
|
|
@ -2055,7 +2037,6 @@ bp1_yearly.9015 = {
|
|||
OR = {
|
||||
is_consort_of = root
|
||||
has_relation_lover = root
|
||||
has_relation_soulmate = root
|
||||
}
|
||||
}
|
||||
rite = { rite_has_parameter = divine_marriage_piety_gain_active }
|
||||
|
|
@ -2072,7 +2053,6 @@ bp1_yearly.9015 = {
|
|||
OR = {
|
||||
is_consort_of = root
|
||||
has_relation_lover = root
|
||||
has_relation_soulmate = root
|
||||
}
|
||||
}
|
||||
rite = { rite_has_parameter = consanguinity_unrestricted_incest }
|
||||
|
|
@ -2833,12 +2813,12 @@ bp1_yearly.9018 = {
|
|||
}
|
||||
scope:bp1_yearly_9018_illegitimate_child = {
|
||||
|
||||
set_relation_nemesis = {
|
||||
target = scope:bp1_yearly_9018_bully
|
||||
involved_character = root
|
||||
copy_reason = rival
|
||||
reason = nemesis_fought_for_parents_compassion
|
||||
root = { save_scope_as = relationship_reason_involved_character }
|
||||
set_relation_nemesis_effect = {
|
||||
TARGET = scope:bp1_yearly_9018_bully
|
||||
REASON = nemesis_fought_for_parents_compassion
|
||||
}
|
||||
clear_saved_scope = relationship_reason_involved_character
|
||||
|
||||
duel = {
|
||||
skill = prowess
|
||||
|
|
@ -3040,10 +3020,7 @@ bp1_yearly.9019 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
OR = {
|
||||
has_relation_lover = scope:bp1_yearly_9019_lover
|
||||
has_relation_soulmate = scope:bp1_yearly_9019_lover
|
||||
}
|
||||
has_relation_lover = scope:bp1_yearly_9019_lover
|
||||
}
|
||||
desc = bp1_yearly.9019.desc.lover
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1145,9 +1145,9 @@ court_yearly.6040 = {
|
|||
has_relation_potential_rival = scope:scrounger
|
||||
can_set_relation_rival_trigger = { CHARACTER = scope:scrounger }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:scrounger
|
||||
reason = rival_scrounger_kicked_out_of_court
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:scrounger
|
||||
REASON = rival_scrounger_kicked_out_of_court
|
||||
}
|
||||
}
|
||||
add_stress = medium_stress_loss
|
||||
|
|
@ -2863,14 +2863,8 @@ court_yearly.7030 = {
|
|||
capital_county = {
|
||||
title_province = {
|
||||
OR = {
|
||||
AND = {
|
||||
building_common_tradeport_requirement_terrain = yes
|
||||
NOT = { has_building = common_tradeport_08 }
|
||||
}
|
||||
AND = {
|
||||
has_building_or_higher = city_01
|
||||
NOT = { has_building = guild_halls_08 }
|
||||
}
|
||||
province_has_district = market_district
|
||||
province_has_district = guild_district
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2878,32 +2872,9 @@ court_yearly.7030 = {
|
|||
|
||||
remove_treasury_or_gold = medium_treasury_or_gold_value
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
root.capital_county = {
|
||||
title_province = {
|
||||
building_common_tradeport_requirement_terrain = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
root.capital_county = {
|
||||
title_province = {
|
||||
upgrade_tradeport = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
root.capital_county = {
|
||||
title_province = {
|
||||
has_building_or_higher = city_01
|
||||
}
|
||||
}
|
||||
}
|
||||
root.capital_county = {
|
||||
title_province = {
|
||||
upgrade_guildhall = yes
|
||||
}
|
||||
root.capital_county = {
|
||||
title_province = {
|
||||
add_random_economic_building_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3165,7 +3165,7 @@ yearly.3051 = {
|
|||
random_vassal = {
|
||||
limit = {
|
||||
yearly_3051_vassal_trigger = yes
|
||||
NOT = { this = cp:councillor_steward }
|
||||
NOT = { root.cp:councillor_steward ?= this }
|
||||
}
|
||||
random_held_title = {
|
||||
limit = {
|
||||
|
|
@ -3234,9 +3234,9 @@ yearly.3051 = {
|
|||
}
|
||||
can_set_relation_rival_trigger = { CHARACTER = scope:vassal }
|
||||
}
|
||||
set_relation_rival = {
|
||||
target = scope:vassal
|
||||
reason = rival_confiscated_title
|
||||
set_relation_rival_effect = {
|
||||
TARGET = scope:vassal
|
||||
REASON = rival_confiscated_title
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -3409,7 +3409,7 @@ yearly.3061 = {
|
|||
trait = zealous
|
||||
add_treasury_or_gold = major_treasury_or_gold_value
|
||||
scope:county = {
|
||||
change_development_level = -1
|
||||
change_prosperity_level = -1
|
||||
change_county_control = 50
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6050
events/yearly_events/yearly_events_republic.txt
Normal file
6050
events/yearly_events/yearly_events_republic.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -649,7 +649,7 @@ yearly_saharan.0005 = {
|
|||
#Torch half the county to flip them back.
|
||||
scope:target_county = {
|
||||
change_county_control = massive_county_control_loss
|
||||
change_development_progress = major_development_progress_loss
|
||||
change_prosperity_progress = major_prosperity_progress_loss
|
||||
add_county_modifier = {
|
||||
modifier = persecuted_converts_saharan_modifier
|
||||
years = 25
|
||||
|
|
@ -710,13 +710,13 @@ scripted_effect pick_nomad-appropriate_county_effect = {
|
|||
multiply = 0.1
|
||||
}
|
||||
}
|
||||
#Weight down higher development counties proportionally: both not the focus of the event, and less likely to be accepted by the player.
|
||||
#High prosperity is not the focus and players rarely take it, so we weight those counties down
|
||||
modifier = {
|
||||
add = {
|
||||
value = development_level
|
||||
value = prosperity_level
|
||||
multiply = -1
|
||||
}
|
||||
development_level >= bad_development_level
|
||||
prosperity_level >= bad_prosperity_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue