Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
Was pretty lazy with some of these
  • Loading branch information
SnowletTV committed Feb 14, 2025
1 parent 23eda34 commit e580bfd
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 44 deletions.
57 changes: 33 additions & 24 deletions common/missions/01_etruria_missions_01_roman_incursion.txt
Original file line number Diff line number Diff line change
Expand Up @@ -198,21 +198,27 @@
}

allow = {
hidden:current_ruler = {
is_friend = c:SNI.current_ruler
}
hidden:c:SNI = {
opinion = {
target = root
value >= 75
}
}
hidden:c:UMB = {
opinion = {
target = root
value >= 35
}
}
trigger_if = {
limit = { exists = c:SNI }
hidden:current_ruler = {
is_friend = c:SNI.current_ruler
}
hidden:c:SNI = {
opinion = {
target = root
value >= 75
}
}
}
trigger_if = {
limit = { exists = c:UMB }
hidden:c:UMB = {
opinion = {
target = root
value >= 35
}
}
}
}

on_start = {
Expand Down Expand Up @@ -465,15 +471,18 @@
requires = { etruria_roman_incursion_task_2 etruria_roman_incursion_task_11 }

allow = {
hidden:current_ruler = {
is_friend = c:EPI.current_ruler
}
hidden:c:EPI = {
opinion = {
target = root
value >= 80
}
}
trigger_if = {
limit = { exists = c:EPI }
hidden:current_ruler = {
is_friend = c:EPI.current_ruler
}
hidden:c:EPI = {
opinion = {
target = root
value >= 80
}
}
}
political_influence >= 50
}

Expand Down
20 changes: 13 additions & 7 deletions common/missions/02_nabatean_missions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,21 @@
requires = { nabatea_mission_01_task_02 }

allow = {
hidden:c:JUD = {
opinion = {
target = root
value >= 50
trigger_if = {
limit = { exists = c:JUD }
hidden:c:JUD = {
opinion = {
target = root
value >= 50
}
}

hidden:current_ruler = {
is_friend = c:JUD.current_ruler
}
}

hidden:current_ruler = {
is_friend = c:JUD.current_ruler
trigger_else = {
always = no
}
}

Expand Down
20 changes: 13 additions & 7 deletions common/missions/02_odrysia_missions_01_freedom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,20 @@
war = no
}
allow = {
hidden:current_ruler = {
is_friend = c:TRE.current_ruler
trigger_if = {
limit = { exists = c:TRE }
hidden:current_ruler = {
is_friend = c:TRE.current_ruler
}
hidden:c:TRE = {
opinion = { target = c:ODR value >= 175 }
}
hidden:c:ODR = {
is_subject_of = c:TRE
}
}
hidden:c:TRE = {
opinion = { target = c:ODR value >= 175 }
}
hidden:c:ODR = {
is_subject_of = c:TRE
trigger_else = {
always = no
}
}
on_completion = {
Expand Down
12 changes: 12 additions & 0 deletions decisions/nepal_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
has_variable = poison_pill_nepal
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
exists = c:YDD
c:YDD = { is_subject_of = MRY }
c:YDD = { is_ai = yes } # Temporary till i make this better
NOT = {
Expand Down Expand Up @@ -55,6 +56,7 @@
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
has_variable = nepal_inf_ydd
exists = c:YDD
c:YDD = { is_subject_of = MRY }
NOT = {
c:YDD = {
Expand Down Expand Up @@ -94,6 +96,7 @@
has_variable = poison_pill_nepal
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
exists = c:PRA
c:PRA = { is_subject_of = MRY }
NOT = {
c:PRA = {
Expand Down Expand Up @@ -143,6 +146,7 @@
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
has_variable = nepal_inf_pra
exists = c:PRA
c:PRA = { is_subject_of = MRY }
NOT = {
c:PRA = {
Expand Down Expand Up @@ -182,6 +186,7 @@
has_variable = poison_pill_nepal
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
exists = c:PLD
c:PLD = { is_subject_of = MRY }
NOT = {
c:PLD = {
Expand Down Expand Up @@ -231,6 +236,7 @@
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
has_variable = nepal_inf_pld
exists = c:PLD
c:PLD = { is_subject_of = MRY }
NOT = {
c:PLD = {
Expand Down Expand Up @@ -270,6 +276,7 @@
has_variable = poison_pill_nepal
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
exists = c:HYA
c:HYA = { is_subject_of = MRY }
NOT = {
c:HYA = {
Expand Down Expand Up @@ -319,6 +326,7 @@
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
has_variable = nepal_inf_hya
exists = c:HYA
c:HYA = { is_subject_of = MRY }
NOT = {
c:HYA = {
Expand Down Expand Up @@ -358,6 +366,7 @@
has_variable = poison_pill_nepal
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
exists = c:ATV
c:ATV = { is_subject_of = MRY }
NOT = {
c:ATV = {
Expand Down Expand Up @@ -407,6 +416,7 @@
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
has_variable = nepal_inf_atv
exists = c:HYA
c:ATV = { is_subject_of = MRY }
NOT = {
c:ATV = {
Expand Down Expand Up @@ -446,6 +456,7 @@
has_variable = poison_pill_nepal
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
exists = c:ARS
c:ARS = { is_subject_of = MRY }
NOT = {
c:ARS = {
Expand Down Expand Up @@ -495,6 +506,7 @@
is_subject_of = MRY
NOT = { has_variable = influence_cooldown }
has_variable = nepal_inf_ars
exists = c:ARS
c:ARS = { is_subject_of = MRY }
NOT = {
c:ARS = {
Expand Down
2 changes: 1 addition & 1 deletion events/flavor_cyprus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ flavor_cyprus.5 = { # Antigonid Event
limit = {
OR = {
primary_culture = macedonian
PREV.overlord = { primary_culture = macedonian }
overlord = { primary_culture = macedonian }
capital_scope = {
OR = {
is_in_region = cilicia_region
Expand Down
1 change: 0 additions & 1 deletion events/flavor_turdetanian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ flavor_turdetanian.1 = {
current_date < 554.1.1
primary_culture = turdetanian
any_current_war = {
is_war_leader = c:CAR
is_war_leader = ROOT
any_war_attacker = { this = c:CAR }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1522,6 +1522,9 @@ me_epirus_2_magna.17 = { # Round on the Cities - Resp
}
every_country = {
limit = {
NOT = {
this = scope:italiote_threat_scope
}
has_truce_with = scope:italiote_threat_scope
is_subject_of = c:EPI
}
Expand Down
15 changes: 11 additions & 4 deletions events/mission_events/me_south_arabia.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3355,10 +3355,17 @@ south_arabia.89 = { # himyarite rebellion
name = "HMJ_NAME"
adjective = "HMJ_ADJ"
}
set_primary_culture_cleanup_effect = {
NEW_PRIMARY_CULTURE = himjar
MAKE_OLD_CULTURE_INTEGRATED = yes
}
if = {
limit = {
NOT = {
primary_culture = himjar
}
}
set_primary_culture_cleanup_effect = {
NEW_PRIMARY_CULTURE = himjar
MAKE_OLD_CULTURE_INTEGRATED = yes
}
}
change_country_tag = HMJ
change_country_flag = HIMYAR_FLAG
change_country_color = himyar_color
Expand Down

0 comments on commit e580bfd

Please sign in to comment.