Skip to content

Commit

Permalink
some stuff I missed
Browse files Browse the repository at this point in the history
  • Loading branch information
Grekopithikos committed Sep 25, 2024
1 parent 542b8d7 commit 166ca79
Show file tree
Hide file tree
Showing 20 changed files with 901 additions and 288 deletions.
3 changes: 3 additions & 0 deletions common/casus_belli_types/00_civil_war.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,9 @@ independence_war = {
# }
#}

# LEGITIMACY FROM LOSING FACTION WAR
faction_war_end_defeat_legitimacy_effect = yes

resolve_title_and_vassal_change = scope:change

}
Expand Down
23 changes: 23 additions & 0 deletions common/casus_belli_types/00_dejure_war.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
has_innovation = innovation_divine_right
}
}
NOT = {
government_has_flag = government_is_landless_adventurer
}
}

allowed_against_character = {
Expand Down Expand Up @@ -637,6 +640,26 @@ individual_duchy_de_jure_cb = {
}
}
}
scope:target = {
trigger_if = {
limit = {
scope:attacker = {
is_ai = yes
}
}
any_in_de_jure_hierarchy = {
continue = { tier > tier_county }
count >= 2
tier = tier_county
holder ?= {
OR = {
this = scope:defender
is_vassal_or_below_of = scope:defender
}
}
}
}
}
}

cost = {
Expand Down
48 changes: 48 additions & 0 deletions common/casus_belli_types/00_invasion_war.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1497,6 +1497,54 @@ mongol_realm_invasion_war = {
}
}

show_as_tooltip = {
every_in_list = {
list = target_titles
if = {
limit = {
scope:defender.primary_title.tier >= scope:attacker.primary_title.tier
}
custom_tooltip = invasion_title_transfer_tt
custom_tooltip = invasion_title_transfer_2_tt
}
every_in_de_jure_hierarchy = {
limit = {
holder.top_liege = scope:defender
}
change_title_holder = {
holder = scope:attacker
change = scope:change
}
}
}
scope:defender = {
every_sub_realm_county = {
limit = {
county_controller = scope:attacker
}
change_title_holder = {
holder = scope:attacker
change = scope:change
}
}
# Vassal transfer tooltip for display
every_vassal = {
limit = {
primary_title = {
any_this_title_or_de_jure_above = {
is_in_list = target_titles
}
}
}
custom = invasion_vassal_transfer_tt
change_liege = {
liege = scope:attacker
change = scope:change
}
}
}
}

# Most of the title transfers are handled here
setup_invasion_cb = {
titles = target_titles
Expand Down
8 changes: 2 additions & 6 deletions common/casus_belli_types/00_religious_war.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1138,10 +1138,10 @@ major_religious_war = {
}
}
}
piety_level >= 3
piety_level >= 2
}
trigger_else = {
piety_level >= 4
piety_level >= 3
}
}
trigger_if = {
Expand Down Expand Up @@ -1915,10 +1915,6 @@ flowery_war_cb = {
group = religious_disorganised
ai_only_against_neighbors = yes
allow_hostages = no

attacker_score_from_occupation_scale = 150
attacker_score_from_battles_scale = 150
defender_score_from_battles_scale = 150

# Root is the title
# scope:attacker is the attacker
Expand Down
30 changes: 15 additions & 15 deletions common/culture/eras/00_culture_eras.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ culture_era_early_medieval = {

# Cultural
## Longbowmen
#maa_upgrade = {
# men_at_arms = longbowmen
# damage = 8
# toughness = 2
#}
maa_upgrade = {
men_at_arms = longbowmen
damage = 10
toughness = 2
}

# Accolade
## Accolade Archers
Expand Down Expand Up @@ -73,11 +73,11 @@ culture_era_high_medieval = {

# Cultural
## Longbowmen
#maa_upgrade = {
# men_at_arms = longbowmen
# damage = 8
# toughness = 2
#}
maa_upgrade = {
men_at_arms = longbowmen
damage = 10
toughness = 2
}

# Accolade
## Accolade Archers
Expand Down Expand Up @@ -150,11 +150,11 @@ culture_era_late_medieval = {

# Cultural
## Longbowmen
#maa_upgrade = {
# men_at_arms = longbowmen
# damage = 8
# toughness = 2
#}
maa_upgrade = {
men_at_arms = longbowmen
damage = 10
toughness = 2
}

# Accolade
## Accolade Archers
Expand Down
66 changes: 0 additions & 66 deletions common/culture/innovations/00_fp3_innovations.txt

This file was deleted.

5 changes: 4 additions & 1 deletion common/culture/innovations/01_fp1_innovations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ innovation_varangian_adventurers = {
has_fp1_dlc_trigger = yes

# Warcraft
like_north_germanic_group_trigger = yes
OR = {
like_north_germanic_group_trigger = yes
like_norman_culture_trigger
}
has_viking_adventurers_era_trigger = yes
}

Expand Down
8 changes: 8 additions & 0 deletions common/culture/traditions/00_combat_traditions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,14 @@ tradition_adaptive_skirmishing = {
}
multiply = 0.25
}
else_if = {
limit = {
scope:character ?= {
ai_has_warlike_personality = yes
}
}
multiply = 2
}
# Warcraft
if = {
limit = {
Expand Down
1 change: 0 additions & 1 deletion common/culture/traditions/00_regional_traditions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,6 @@ tradition_saharan_nomads = {
}
}
}

can_pick = {
any_culture_county = {
title_province = {
Expand Down
2 changes: 1 addition & 1 deletion common/culture/traditions/00_ritual_traditions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ tradition_festivities = {
limit = {
# Warcraft
NOR = {
scope:character = {
scope:character ?= {
has_trait = lifestyle_reveler
}
has_cultural_tradition = tradition_life_is_just_a_joke
Expand Down
10 changes: 8 additions & 2 deletions common/culture/traditions/00_societal_traditions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ tradition_chivalry = {
}

ai_will_do = {
value = 100
value = 200
# Warcraft
if = {
limit = {
Expand Down Expand Up @@ -874,7 +874,7 @@ tradition_vegetarianism = {
}

ai_will_do = {
value = 75
value = 800
if = {
limit = {
# Warcraft
Expand Down Expand Up @@ -2683,6 +2683,12 @@ tradition_practiced_pirates = {

ai_will_do = {
value = 100
if = {
limit = { # Should be fairly rare for cultures outside of a Berber-like heritage
like_heritage_berber_trigger = yes
}
multiply = 5
}
if = {
limit = {
NOR = {
Expand Down
4 changes: 4 additions & 0 deletions common/culture/traditions/01_fp1_traditions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,15 @@ tradition_fp1_coastal_warriors = {
strong_traits_more_common = yes
trade_ports_stationed_maa_bonus = yes
trade_ports_enabled_for_tribals = yes
unlock_voluntary_laampdom = yes
more_likely_to_be_laamps = yes
}

character_modifier = {
sea_travel_danger = medium_sea_danger_reduction
coastal_sea_travel_danger = medium_sea_danger_reduction
taiga_provisions_use_mult = -0.1
forest_provisions_use_mult = -0.1
}

cost = {
Expand Down
Loading

0 comments on commit 166ca79

Please sign in to comment.