Skip to content

Commit

Permalink
Extract files from game [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
matanki-saito committed Jun 14, 2024
1 parent 7a599e5 commit f72dee5
Show file tree
Hide file tree
Showing 97 changed files with 1,521 additions and 1,009 deletions.
8 changes: 6 additions & 2 deletions resource/gamedir/common/achievements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8210,9 +8210,9 @@ achievement_narcissism = {
any_army = {
general_with_steam_name = yes
}
has_country_flag = general_with_steam_name_won_battle
custom_trigger_tooltip = {
tooltip = general_with_steam_name_won_battle_tt
has_country_flag = general_with_steam_name_won_battle
}
}
OR = {
Expand All @@ -8232,7 +8232,7 @@ achievement_narcissism = {
has_leader = "Hawky"
#Tinto
has_leader = "Johan"
has_leader = "Pav�a"
has_leader = "Pav�a"
has_leader = "Aldaron"
has_leader = "SaintDaveUK"
has_leader = "Gnivom"
Expand Down Expand Up @@ -12644,6 +12644,8 @@ achievement_there_khan_only_be_one = {
has_reform = steppe_horde
has_reform = great_mongol_state_reform
}
NOT = { has_country_flag = was_native_country } #Just to make sure that natives which get steppe hordes from other hordes does not break the achievement
NOT = { has_country_flag = populists_in_government }
}
}
happened = {
Expand All @@ -12656,6 +12658,8 @@ achievement_there_khan_only_be_one = {
has_reform = steppe_horde
has_reform = great_mongol_state_reform
}
NOT = { has_country_flag = was_native_country }
NOT = { has_country_flag = populists_in_government }
}
}
}
Expand Down
13 changes: 12 additions & 1 deletion resource/gamedir/common/ages/00_default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,18 @@ age_of_reformation = {
}

obj_colonial_empire = {
colony = 5
calc_true_if = {
all_subject_country = {
OR = {
is_subject_of_type = colony
is_subject_of_type = crown_colony
is_subject_of_type = private_enterprise
is_subject_of_type = self_governing_colony
is_subject_of_type = european_colony
}
}
amount = 5
}
}

obj_force_converted = {
Expand Down
8 changes: 7 additions & 1 deletion resource/gamedir/common/disasters/german_revolution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ german_revolt = {
NOT = { exists = AUH }
NOT = { has_country_flag = hun_austria_hungary_revolt_flag }
has_estate = estate_nobles
NOT = { exists = HAB }
OR = {
NOT = { exists = HAB }
HAB = {
is_subject = yes
NOT = { is_subject_of = ROOT }
}
}
}

can_start = {
Expand Down
9 changes: 8 additions & 1 deletion resource/gamedir/common/disasters/hungarian_revolution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ hungarian_revolt = {
}
is_free_or_tributary_trigger = yes
tag = HAB
NOT = { exists = HUN }
OR = {
NOT = { exists = HUN }
HUN = {
is_subject = yes
NOT = { is_subject_of = ROOT }
}
}
NOT = { exists = AUH }
NOT = { has_country_flag = hab_austria_hungary_revolt_flag }
has_estate = estate_nobles
Expand Down Expand Up @@ -98,6 +104,7 @@ hungarian_revolt = {
custom_trigger_tooltip = {
tooltip = HUNGARIAN_REVOLUTION_VICTORY_OF_THE_REVOLUTION
exists = HUN
HUN = { is_subject = no }
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,7 @@ estate_vaisyas_discover_X_in_america = {
num_of_conquistadors = 1
num_of_explorers = 1
}
has_any_exploration_idea = yes
num_of_ports = 1
any_province = {
range = root
Expand Down Expand Up @@ -1248,7 +1249,7 @@ estate_vaisyas_discover_X_in_america = {
fail_if = {
OR = {
NOT = { num_of_ports = 1 }
NOT = { has_idea = quest_for_the_new_world }
has_not_any_exploration_ideas = yes
}
}
failing_effect = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,7 @@ estate_burghers_discover_X_in_america = {
num_of_conquistadors = 1
num_of_explorers = 1
}
has_any_exploration_idea = yes
num_of_ports = 1
any_province = {
range = root
Expand Down
88 changes: 26 additions & 62 deletions resource/gamedir/common/estate_agendas/09_eunuchs_agendas.txt
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,18 @@ estate_eunuchs_porcelain_tower_agenda = {
}
}
}
1821 = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 2
}
NOT = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 3
}
}
}
}
else = {
1821 = {
Expand All @@ -951,74 +963,26 @@ estate_eunuchs_porcelain_tower_agenda = {
estate = estate_eunuchs
}
}
else = {
if = {
limit = {
has_dlc = "Leviathan"
1821 = {
NOT = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 1
}
}
}
}
1821 = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 1
}
}
}
else_if = {
limit = {
has_dlc = "Leviathan"
1821 = {
NOT = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 2
}
}
}
}
1821 = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 2
}
}
else_if = {
limit = {
has_dlc = "Leviathan"
}
else_if = {
limit = {
has_dlc = "Leviathan"
1821 = {
NOT = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 3
}
}
}
}
1821 = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 3
}
1821 = {
has_great_project = {
type = porcelain_tower_nanjing
tier = 3
}
}
else = {
1821 = {
OR = {
NOT = { has_building = university }
NOT = { development = 40 }
}
}
else = {
1821 = {
OR = {
NOT = { has_building = university }
NOT = { development = 40 }
}
}
is_at_war = no
}
is_at_war = no
}
task_completed_effect = {
on_completed_agenda_effect = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ estate_rajput_land_rights = {
}
penalties = {
}

benefits = {
governing_capacity = 100
}
conditional_modifier = {
trigger = { has_country_flag = ned_land_rights_buff_flag }
modifier = {
governing_capacity = 50
}
}
ai_will_do = {
factor = 5
modifier = {
Expand Down Expand Up @@ -794,6 +801,8 @@ estate_rajput_subject_rights = {
is_subject_of_type = march
is_subject_of_type = client_march
is_subject_of_type = personal_union
is_subject_of_type = incorporated_vassal
is_subject_of_type = integrated_personal_union
}
}
NOT = { has_estate = estate_nobles }
Expand All @@ -810,6 +819,8 @@ estate_rajput_subject_rights = {
is_subject_of_type = march
is_subject_of_type = client_march
is_subject_of_type = personal_union
is_subject_of_type = incorporated_vassal
is_subject_of_type = integrated_personal_union
}
}
}
Expand Down Expand Up @@ -870,6 +881,8 @@ estate_rajput_better_integration = {
is_subject_of_type = daimyo_vassal
is_subject_of_type = personal_union
is_subject_of_type = appanage
is_subject_of_type = incorporated_vassal
is_subject_of_type = integrated_personal_union
}
}
NOT = { has_estate = estate_nobles }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ estate_brahmins_land_rights = {
}
penalties = {
}

benefits = {
governing_capacity = 100
}
conditional_modifier = {
trigger = { has_country_flag = ned_land_rights_buff_flag }
modifier = {
governing_capacity = 50
}
}
ai_will_do = {
factor = 5
modifier = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ estate_maratha_land_rights = {
}
penalties = {
}

benefits = {
governing_capacity = 100
}
conditional_modifier = {
trigger = { has_country_flag = ned_land_rights_buff_flag }
modifier = {
governing_capacity = 50
}
}
ai_will_do = {
factor = 5
modifier = {
Expand Down Expand Up @@ -857,6 +864,8 @@ estate_maratha_subject_rights = {
is_subject_of_type = march
is_subject_of_type = client_march
is_subject_of_type = personal_union
is_subject_of_type = incorporated_vassal
is_subject_of_type = integrated_personal_union
}
}
NOT = { has_estate = estate_nobles }
Expand All @@ -874,6 +883,8 @@ estate_maratha_subject_rights = {
is_subject_of_type = march
is_subject_of_type = client_march
is_subject_of_type = personal_union
is_subject_of_type = incorporated_vassal
is_subject_of_type = integrated_personal_union
}
}
}
Expand Down Expand Up @@ -934,6 +945,8 @@ estate_maratha_better_integration = {
is_subject_of_type = daimyo_vassal
is_subject_of_type = personal_union
is_subject_of_type = appanage
is_subject_of_type = incorporated_vassal
is_subject_of_type = integrated_personal_union
}
}
NOT = { has_estate = estate_nobles }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ estate_vaisyas_land_rights = {
}
penalties = {
}

benefits = {
governing_capacity = 100
}
conditional_modifier = {
trigger = { has_country_flag = ned_land_rights_buff_flag }
modifier = {
governing_capacity = 50
}
}
ai_will_do = {
factor = 5
modifier = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@ estate_church_land_rights = {
stability_cost_modifier = -0.05
}
}

benefits = {
governing_capacity = 100
}
conditional_modifier = {
trigger = { has_country_flag = ned_land_rights_buff_flag }
modifier = {
governing_capacity = 50
}
}
conditional_modifier = {
trigger = { has_government_mechanic = russian_modernization_mechanic }
modifier = { monthly_russian_modernization = -0.03 }
Expand Down
Loading

0 comments on commit f72dee5

Please sign in to comment.