2025-11-22 04:03:03

This commit is contained in:
actions[bot]
2025-11-22 04:03:03 +00:00
parent ce30ec21cf
commit b83219417e
62 changed files with 7392 additions and 1464 deletions

View File

@@ -545,7 +545,7 @@ TIX_bubangzhusading = {
ai_strategy = {
type = dont_defend_ally_borders
id = "SAD"
value = 200
value = 5000
}
ai_strategy = {
type = dont_join_wars_with
@@ -1314,7 +1314,7 @@ TIX_let_SAD_handle_french_front_alone = {
ai_strategy = {
type = dont_defend_ally_borders
id = "SAD"
value = 100
value = 5000
}
}

View File

@@ -2389,6 +2389,9 @@ YUW_fangong = {
SAD = {
controls_state = 14
}
WEX = {
controls_state = 14
}
}
OR = {
TIX = {
@@ -2397,12 +2400,15 @@ YUW_fangong = {
SAD = {
controls_state = 15
}
WEX = {
controls_state = 15
}
}
}
ai_will_do = {
factor = 0
modifier = {
date > 1943.1.1
date > 1942.6.1
add = 100
}
}
@@ -2457,6 +2463,9 @@ YUW_fangong = {
TIX = {
controls_state = 21
}
SAD = {
controls_state = 21
}
WEX = {
controls_state = 21
}
@@ -2465,7 +2474,7 @@ YUW_fangong = {
ai_will_do = {
factor = 0
modifier = {
date > 1943.1.1
date > 1942.6.1
add = 100
}
}
@@ -2514,7 +2523,9 @@ YUW_fangong = {
target = WEX
transfer_troops = no
}
news_event = { id = az_tianjiang.367 days = 1}
hidden_effect = {
news_event = { id = az_tianjiang.367 days = 1 }
}
}
}
YUW_zhaohuiweixipaijianniang = {
@@ -2935,13 +2946,13 @@ TIX_zhanhou = {
}
}
ai_will_do = {
factor = 10
factor = 0
modifier = {
OR = {
date > 1944.1.1
has_war = no
}
factor = 100
add = 100
}
}
fire_only_once = yes

View File

@@ -10,9 +10,16 @@ xingdong_category = {
complete_effect = {
#add_to_variable = {
# var = xzmf_sl
# value = 99
# value = 9999
#}
#add_to_variable = {
# var = zs_sl
# value = 99999
#}
#add_to_variable = {
# var = wz_sl
# value = 999999
#}
}
}
@@ -2244,7 +2251,7 @@ xingdong_category = {
tooltip = ""
check_variable = {
var = xzmf_sl
value = 5
value = 4
compare = greater_than_or_equals
}
}
@@ -2258,19 +2265,61 @@ xingdong_category = {
custom_cost_trigger = {
check_variable = {
var = xzmf_sl
value = 5
value = 4
compare = greater_than_or_equals
}
}
custom_cost_text = mf_shuliang_5
custom_cost_text = mf_shuliang_4
complete_effect = {
custom_effect_tooltip = az_ziyuanzhuanhua_tan_tooltip
add_to_variable = { az_ziyuanzhuanhua_tan = 100 }
add_to_variable = { az_ziyuanzhuanhua_tan = 120 }
force_update_dynamic_modifier = yes
add_to_variable = {
var = xzmf_sl
value = -5
value = -4
}
}
}
mf_jingtongdu = {
icon = xzmf
available = {
custom_trigger_tooltip = {
tooltip = ""
check_variable = {
var = xzmf_sl
value = 2
compare = greater_than_or_equals
}
}
}
ai_will_do = {
factor = 0
}
visible = {
}
days_remove = 120
modifier = {
mass_assault_mastery_gain_factor = 1
grand_battleplan_mastery_gain_factor = 1
superior_firepower_mastery_gain_factor = 1
new_mobile_warfare_mastery_gain_factor = 1
}
custom_cost_trigger = {
check_variable = {
var = xzmf_sl
value = 2
compare = greater_than_or_equals
}
}
custom_cost_text = mf_shuliang_2
complete_effect = {
add_to_variable = {
var = xzmf_sl
value = -2
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -463,6 +463,107 @@ ideas = {
# Special ones that can be applied on other countries through focus system.
country = {
az_hjll_1 = {
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
new_convoy_raiding_mastery_gain_factor = 0.2
new_fleet_in_being_mastery_gain_factor = 0.2
new_base_strike_mastery_gain_factor = 0.2
}
}
az_hjll_2 = {
name = az_hjll_1
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
new_convoy_raiding_mastery_gain_factor = 0.5
new_fleet_in_being_mastery_gain_factor = 0.5
new_base_strike_mastery_gain_factor = 0.5
}
}
az_hjll_3 = {
name = az_hjll_1
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
new_convoy_raiding_mastery_gain_factor = 1
new_fleet_in_being_mastery_gain_factor = 1
new_base_strike_mastery_gain_factor = 1
}
}
az_lltp_zlph = {
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
air_strategic_bomber_night_penalty = -0.5
air_nav_efficiency = 1
air_strategic_bomber_bombing_factor = 1
}
}
az_lltp_zczy = {
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
air_bombing_targetting = 0.3
air_cas_efficiency = 0.3
air_close_air_support_org_damage_factor = 0.3
}
}
az_lltp_lxzz = {
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
air_escort_efficiency = 0.3
air_agility_factor = 0.5
air_mission_efficiency = 0.25
}
}
az_lltp_czjd = {
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
navy_org_factor = 0.5
navy_max_range_factor = 1
naval_speed_factor = 0.25
}
}
az_lltp_myfs = {
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
naval_enemy_fleet_size_ratio_penalty_factor = 0.25
naval_critical_score_chance_factor = 0.5
naval_torpedo_hit_chance_factor = 0.5
}
}
az_lltp_jddj = {
picture = dingzhenai
allowed_civil_war = {
always = yes
}
modifier = {
carrier_traffic = 1
navy_carrier_air_agility_factor = 1
carrier_capacity_penalty_reduction = -0.5
}
}
TY_dingzhenai = {
picture = dingzhenai
allowed_civil_war = {

View File

@@ -434,6 +434,7 @@ ideas = {
}
modifier = {
defensive_war_stability_factor = 0.2
army_core_defence_factor = 0.1
war_support_factor = 0.1
}
}
@@ -447,8 +448,9 @@ ideas = {
has_war = no
}
modifier = {
army_strength_factor = 0.1
defensive_war_stability_factor = 0.3
army_core_defence_factor = 0.05
army_core_defence_factor = 0.2
war_support_factor = 0.3
}
}
@@ -462,8 +464,10 @@ ideas = {
has_war = no
}
modifier = {
army_strength_factor = 0.2
defensive_war_stability_factor = 0.4
army_core_defence_factor = 0.1
army_core_attack_factor = 0.1
army_core_defence_factor = 0.4
war_support_factor = 0.5
}
}
@@ -477,8 +481,10 @@ ideas = {
has_war = no
}
modifier = {
army_strength_factor = 0.4
defensive_war_stability_factor = 0.5
army_core_defence_factor = 0.2
army_core_attack_factor = 0.3
army_core_defence_factor = 0.8
local_org_regain = 0.1
army_org_factor = 0.1
war_support_factor = 0.7
@@ -494,9 +500,10 @@ ideas = {
has_war = no
}
modifier = {
army_strength_factor = 0.6
defensive_war_stability_factor = 0.6
army_core_attack_factor = 0.1
army_core_defence_factor = 0.5
army_core_attack_factor = 0.6
army_core_defence_factor = 1.2
training_time_army_factor = -0.05
surrender_limit = 0.05
local_org_regain = 0.3
@@ -515,9 +522,10 @@ ideas = {
has_war = no
}
modifier = {
army_strength_factor = 0.8
defensive_war_stability_factor = 0.8
army_core_attack_factor = 1
army_core_defence_factor = 1
army_core_defence_factor = 2
training_time_army_factor = -0.1
surrender_limit = 0.1
army_org_factor = 0.5
@@ -535,9 +543,10 @@ ideas = {
has_war = no
}
modifier = {
army_strength_factor = 1
defensive_war_stability_factor = 1
army_core_attack_factor =1
army_core_defence_factor = 1.5
army_core_attack_factor = 1.5
army_core_defence_factor = 3
training_time_army_factor = -0.15
surrender_limit = 0.15
local_org_regain = 0.8
@@ -646,10 +655,10 @@ ideas = {
}
targeted_modifier = {
tag = CHY
defense_bonus_against = 0.2
defense_bonus_against = 0.5
}
modifier = {
army_core_defence_factor = 0.2
army_core_defence_factor = 1
}
}
DOH_xfzr = {
@@ -674,8 +683,8 @@ ideas = {
always = yes
}
modifier = {
army_attack_against_minor_factor = 0.5
army_breakthrough_against_minor_factor = 0.5
army_attack_against_minor_factor = 1
army_breakthrough_against_minor_factor = 1
}
}
DOH_dfgg1 = {

View File

@@ -14,6 +14,7 @@ ideologies = {
}
xiafeizhidu = {
can_be_randomly_selected = no
}
populism = {
@@ -53,17 +54,21 @@ ideologies = {
lend_lease_tension = 0.50
send_volunteers_tension = 0.50
guarantee_tension = 0.25
annex_cost_factor = 0.5
# annex_cost_factor = 0.5 # Deprecated, use common\peace_conference\00_generic_peace.txt instead
civilian_intel_to_others = 20.0
army_intel_to_others = 5.0
navy_intel_to_others = 20.0
airforce_intel_to_others = 5
embargo_cost_factor = -0.5
embargo_threshold_factor = -0.5
}
faction_modifiers = {
faction_trade_opinion_factor = 0.50 #plus 50% trade opinion
}
ai_democratic = yes # uses the democratic AI behaviour
ai_ideology_wanted_units_factor = 2
ai_give_core_state_control_threshold = 0 # Extra threshold value added to DIPLOMATIC_ACTION_PROPOSE_SCORE for this ideology to give back core state control to other country
}
@@ -87,6 +92,10 @@ ideologies = {
}
niulunbaozhidu = {
can_be_randomly_selected = no
}
buddhist_socialism = {
can_be_randomly_selected = no # won't be assigned to randomly generated country leaders
}
}
@@ -104,6 +113,7 @@ ideologies = {
faction_impact_on_world_tension = 0.5
ai_communist = yes # uses the commie AI behaviour
ai_ideology_wanted_units_factor = 2
rules = {
can_force_government = no
@@ -114,18 +124,20 @@ ideologies = {
can_collaborate = yes
modifiers = {
puppet_cost_factor = -0.3
# puppet_cost_factor = -0.3 # Deprecated, use common\peace_conference\00_generic_peace.txt instead
civilian_intel_to_others = 10.0
army_intel_to_others = 7.5
navy_intel_to_others = 12.5
airforce_intel_to_others = 7.5
hidden_modifier = { join_faction_tension = -0.1 }
embargo_threshold_factor = 0.5
lend_lease_tension = 0.50
}
faction_modifiers = {
}
ai_give_core_state_control_threshold = 10
}
fascism = {
@@ -146,7 +158,9 @@ ideologies = {
rexism = {
}
emperor_fascism = {
can_be_randomly_selected = no # won't be assigned to randomly generated country leaders
}
lisha_xierism = {
can_be_randomly_selected = no
}
@@ -166,7 +180,7 @@ ideologies = {
faction_impact_on_world_tension = 1.0
rules = {
can_force_government = no
can_force_government = yes
can_send_volunteers = yes
can_puppet = yes
}
@@ -180,9 +194,13 @@ ideologies = {
navy_intel_to_others = 10.0
airforce_intel_to_others = 10.0
hidden_modifier = { join_faction_tension = -0.1 }
embargo_cost_factor = 1
lend_lease_tension = 0.50
}
ai_fascist = yes # uses the fascist AI behaviour
ai_ideology_wanted_units_factor = 2
ai_give_core_state_control_threshold = 10000
}
neutrality = {
@@ -204,6 +222,10 @@ ideologies = {
centrism = {
}
japan_militarism_ideology = {
can_be_randomly_selected = no # won't be assigned to randomly generated country leaders
}
}
dynamic_faction_names = {
@@ -244,5 +266,8 @@ ideologies = {
}
ai_neutral = yes #
ai_ideology_wanted_units_factor = 2
ai_give_core_state_control_threshold = 10000
}
}

View File

@@ -1630,6 +1630,7 @@
#search_filters = { FOCUS_FILTER_STABILITY }
completion_reward = {
TY_haijunliluntupo = yes
add_ideas = BFL_qtjq
}
}
@@ -1709,6 +1710,7 @@
#search_filters = { FOCUS_FILTER_STABILITY }
completion_reward = {
TY_haijunliluntupo = yes
add_ideas = BFL_jzdjc
}
}
@@ -3555,12 +3557,6 @@
relative_position_id = BFL_kongjunjianshe
cost = 10
available = {
if = {
limit = {
is_ai = no
}
has_air_experience > 299
}
}
ai_will_do = {
factor = 7
@@ -3610,7 +3606,6 @@
ahead_reduction = 2
}
}
air_experience = -300
}
}
focus = {
@@ -3630,6 +3625,7 @@
#search_filters = { FOCUS_FILTER_STABILITY }
completion_reward = {
TY_kongjunliluntupo = yes
swap_ideas = {
remove_idea = BFL_buchengshudekongjun_2
add_idea = BFL_buchengshudekongjun_3

View File

@@ -3553,6 +3553,7 @@
transfer_state = 286
transfer_state = 741
transfer_state = 728
transfer_state = 1017
}
}
focus = {

View File

@@ -5740,21 +5740,7 @@ focus_tree = {
}
#search_filters = { FOCUS_FILTER_STABILITY }
completion_reward = {
custom_effect_tooltip = "允许解锁第二条陆军学说路线"
if = {
limit = {
is_ai = yes
}
set_technology = {
mobile_warfare = 1
}
set_technology = {
mechanised_infantry = 1
}
}
else = {
set_country_flag = TY_army_liluntupo
}
TY_lujunliluntupo = yes
if = {
limit = {
is_ai = yes
@@ -11062,8 +11048,7 @@ focus_tree = {
add_idea = YUW_ywlj_idea1_19
}
}
custom_effect_tooltip = "允许解锁第二条陆军学说路线"
set_country_flag = TY_army_liluntupo
TY_lujunliluntupo = yes
set_technology = {
backhand_blow_for_yuw = 1
popup = no
@@ -11104,8 +11089,7 @@ focus_tree = {
add_idea = YUW_ywlj_idea1_20
}
}
custom_effect_tooltip = "允许解锁第二条陆军学说路线"
set_country_flag = TY_army_liluntupo
TY_lujunliluntupo = yes
set_technology = {
backhand_blow_for_yuw = 1
popup = no

View File

@@ -1,855 +1 @@
##狗屎DLC傻逼代码##
on_actions = {
on_weekly_VEN = {
effect = {
for_each_scope_loop = {
array = global.ven_blockade_countries
if = {
limit = {
ships_in_area = {
area = 53
type = capital_ship
size < 3
}
}
for_each_scope_loop = {
array = ven_countries_that_are_under_embargo
VEN = {
break_embargo = PREV
remove_opinion_modifier = {
target = PREV
modifier = VEN_embargoed
}
remove_opinion_modifier = {
target = PREV
modifier = VEN_embargoed_2
}
}
}
remove_from_array = {
array = global.ven_blockade_countries
value = THIS
}
clear_array = ven_countries_that_are_under_embargo
}
}
#if theres still at least 1 blockading country, keep up the blockade
if = {
limit = {
check_variable = { global.ven_blockade_countries^num > 0 }
VEN = {
NOT = {
has_idea = idea_VEN_blockade_active
}
}
}
VEN = {
swap_ideas = {
remove_idea = idea_VEN_blockade_inactive
add_idea = idea_VEN_blockade_active
}
}
}
else_if = { #If not remove blockade
limit = {
check_variable = { global.ven_blockade_countries^num < 1 }
VEN = {
NOT = {
has_idea = idea_VEN_blockade_inactive
}
}
}
VEN = {
swap_ideas = {
remove_idea = idea_VEN_blockade_active
add_idea = idea_VEN_blockade_inactive
}
}
}
}
}
on_ruling_party_change = {
effect = {
if = {
limit = {
has_dlc = "Trial of Allegiance"
OR = {
original_tag = URG
original_tag = PAR
}
}
if = {
limit = {
has_completed_focus = GUAY_the_permanent_leader
NOT = { has_country_leader_with_trait = JUNO_the_permanent_leader }
}
add_country_leader_trait = JUNO_the_permanent_leader
}
if = {
limit = {
has_completed_focus = GUAY_cult_of_personality
NOT = { has_country_leader_with_trait = JUNO_cult_of_personality }
}
add_country_leader_trait = JUNO_cult_of_personality
}
}
}
effect = {
IF = {
limit = {
NOT = { has_dlc = "Trial of Allegiance" }
original_tag = URG
has_cosmetic_tag = URG_is_unaligned_URG_but_has_normal_URG_flag
}
drop_cosmetic_tag = yes
}
}
effect = {
if = {
limit = {
has_dlc = "Trial of Allegiance"
NOT = {
USA = {
has_government = communism
}
}
capital_scope = {
is_core_of = ROOT
OR = {
is_on_continent = north_america
is_on_continent = south_america
}
}
has_government = communism
date > 1936.05.1
}
USA = {
country_event = {
id = south_american_events.30
days = 7
}
}
}
}
effect = {
if = {
limit = {
has_dlc = "Trial of Allegiance"
BRA = {
has_completed_focus = BRA_expand_fordlandia
NOT = {
OR = {
has_government = communism
has_country_flag = BRA_ford_event_has_happened
}
}
}
USA = {
has_government = communism
}
}
BRA = {
country_event = {
id = JUNO_brazil_events.180
days = 14
}
}
}
}
}
on_startup = {
effect = {
if = {
limit = {
has_dlc = "Trial of Allegiance"
}
every_country = {
limit = {
OR = {
original_tag = URG
original_tag = BRA
original_tag = PAR
original_tag = CHL
original_tag = BOL
original_tag = ARG
original_tag = PRU
original_tag = VEN
original_tag = ECU
original_tag = COL
}
}
add_ai_strategy = {
type = alliance
id = JAP
value = -250
}
add_ai_strategy = {
type = alliance
id = CHI
value = -250
}
add_ai_strategy = {
type = alliance
id = PRC
value = -250
}
add_ai_strategy = {
type = alliance
id = USA
value = -15
}
add_ai_strategy = {
type = alliance
id = GER
value = -15
}
add_ai_strategy = {
type = alliance
id = ENG
value = -15
}
add_ai_strategy = {
type = alliance
id = SOV
value = -50
}
}
}
}
effect = {
#Monroe Doctrine
IF = {
limit = { has_dlc = "Trial of Allegiance" }
every_country = {
limit = {
exists = yes
NOT = { tag = USA }
OR = {
capital_scope = { is_on_continent = south_america }
capital_scope = { is_on_continent = north_america }
tag = CUB
tag = DOM
tag = HAI
}
}
#add_ideas = USA_monroe_doctrine_idea
}
}
}
}
on_peaceconference_ended = {
# Make sure that Uruguay get's their cosmetic tag if it applies
effect = {
IF = {
limit = {
URG = {
NOT = {
has_cosmetic_tag = URG_german
}
is_subject = yes
is_subject_of = GER
}
}
URG = {
set_cosmetic_tag = URG_german
}
}
}
# Make sure that Uruguay drops their cosmetic tag if it applies
effect = {
IF = {
limit = {
URG = {
has_cosmetic_tag = URG_german
is_subject = no
}
}
URG = {
drop_cosmetic_tag = yes
}
}
}
# Make sure that Bolivia get's their araucanian cosmetic tag if it applies
effect = {
IF = {
limit = {
BOL = {
NOT = {
has_cosmetic_tag = BOL_orelia
}
is_subject = yes
is_subject_of = CHL
CHL = {
has_completed_focus = CHL_crown_antoine_as_sovereign_king
}
}
}
BOL = {
set_cosmetic_tag = BOL_orelia
}
}
}
# Make sure that Bolivia drops their araucanian cosmetic tag if it applies
effect = {
IF = {
limit = {
BOL = {
has_cosmetic_tag = BOL_orelia
is_subject = no
}
}
BOL = {
drop_cosmetic_tag = yes
}
}
}
}
on_puppet = { #ROOT = nation being puppeted, FROM = overlord
effect = {
IF = {
limit = {
ROOT = {
original_tag = URG
}
FROM = {
original_tag = GER
}
}
ROOT = {
set_cosmetic_tag = URG_german
}
}
}
# Make sure that Bolivia get's their araucanian cosmetic tag if it applies
effect = {
IF = {
limit = {
ROOT = {
original_tag = BOL
}
FROM = {
original_tag = CHL
}
CHL = {
has_completed_focus = CHL_crown_antoine_as_sovereign_king
}
}
ROOT = {
set_cosmetic_tag = BOL_orelia
}
}
}
}
on_release_as_puppet = { # ROOT is the nation being released, FROM is the overlord.
effect = {
IF = {
limit = {
ROOT = {
original_tag = BOL
}
FROM = {
original_tag = CHL
}
CHL = {
has_completed_focus = CHL_crown_antoine_as_sovereign_king
}
}
ROOT = {
set_cosmetic_tag = BOL_orelia
}
}
}
effect = {
IF = {
limit = {
ROOT = {
original_tag = URG
}
FROM = {
original_tag = GER
}
}
ROOT = {
set_cosmetic_tag = URG_german
}
}
}
effect = {
IF = {
limit = {
ROOT = {
tag = WLA
}
}
WLA = {
load_oob = "WLA_1936"
}
}
}
}
#ROOT is subject FROM is previous overlord
on_subject_free = {
effect = {
IF = {
limit = {
ROOT = {
original_tag = URG
}
FROM = {
original_tag = GER
}
}
ROOT = {
drop_cosmetic_tag = yes
}
}
}
effect = {
IF = {
limit = {
ROOT = {
original_tag = BOL
}
FROM = {
original_tag = CHL
}
}
ROOT = {
drop_cosmetic_tag = yes
}
}
}
effect = {
USA_add_monroe_doctrine_to_target = yes
}
}
# called when a country send volunteers to another
# ROOT is sender, FROM is receiver
on_send_volunteers = { #sets flag for whether Argentina has sent volunteers to Nationalist Spain
effect = {
if = { #Checks that sender is ARG and reciever is SPA
limit = {
original_tag = ARG
FROM = {
tag = SPA
}
}
ROOT = { set_country_flag = ARG_argentinian_volunteers_in_spain }
}
}
effect = {
if = {
limit = {
ROOT = {
is_ai = no
OR = {
tag = CHL
tag = BOL
tag = PRU
tag = ECU
tag = VEN
tag = COL
}
}
FROM = {
tag = GER
}
}
set_global_flag = true_condor_legion_flag
}
}
}
#FROM is war target
#ROOT is country declaring war
on_declare_war = {
effect = {
IF = {
limit = {
ROOT = {
tag = ARG
}
FROM = { tag = URG }
}
BRA = {
country_event = {
id = ARG_political_events.110
hours = 5
}
}
}
}
effect = {
IF = {
limit = {
ROOT = {
tag = BRA
}
FROM = { tag = URG }
}
ARG = {
country_event = {
id = ARG_political_events.110
hours = 5
}
}
}
}
effect = {
IF = {
limit = {
ROOT = {
NOT = { has_idea = SMB_organization_of_american_states_member }
}
FROM = { has_idea = SMB_organization_of_american_states_member }
}
set_variable = {
var = global.org_american_unity_attacked_country
value = FROM
}
every_other_country = {
limit = {
has_idea = SMB_organization_of_american_states_member
NOT = { has_war_with = FROM }
NOT = { tag = FROM }
}
country_event = {
id = JUNO_brazil_events.130
hours = 1
}
}
}
}
effect = {
IF = {
limit = {
ROOT = {
has_idea = SMB_organization_of_american_states_member
}
FROM = { has_idea = SMB_organization_of_american_states_member }
}
ROOT = {
country_event = {
id = JUNO_brazil_events.133
hours = 1
}
}
set_variable = {
var = global.org_american_unity_attacked_country
value = FROM
}
every_other_country = {
limit = {
has_idea = SMB_organization_of_american_states_member
NOT = { has_war_with = FROM }
NOT = { tag = FROM }
}
country_event = {
id = JUNO_brazil_events.130
hours = 2
}
}
}
}
effect = {
IF = {
limit = {
ROOT = {
tag = PAR
}
FROM = {
NOT = {
has_country_flag = PAR_revenge_flag
}
OR = {
tag = BRA
tag = ARG
tag = URG
}
}
}
hidden_effect = {
FROM = {
set_country_flag = PAR_revenge_flag
country_event = {
id = south_american_events.56
days = 31
}
}
}
}
}
}
#ROOT = attacking side
#FROM = defending side
on_declare_war = {
effect = {
IF = {
limit = {
OR = {
FROM = {
has_government = communism
capital_scope = {
is_core_of = PREV
OR = {
is_on_continent = north_america
is_on_continent = south_america
}
}
has_civil_war = yes
original_tag = ROOT
NOT = {
has_government = ROOT
}
}
ROOT = {
has_government = communism
capital_scope = {
is_core_of = PREV
OR = {
is_on_continent = north_america
is_on_continent = south_america
}
}
has_civil_war = yes
original_tag = FROM
NOT = {
has_government = FROM
}
}
}
}
IF = {
limit = {
ROOT = {
has_government = communism
}
}
FROM = {
USA = {
country_event = {
id = south_american_events.32
days = 7
random_days = 5
}
}
}
}
ELSE_IF = {
limit = {
FROM = {
has_government = communism
}
}
ROOT = {
USA = {
country_event = {
id = south_american_events.32
days = 7
random_days = 5
}
}
}
}
}
}
effect = {
IF = {
limit = {
NOT = {
OR = {
ROOT = {
tag = USA
}
FROM = {
tag = USA
}
}
}
USA = {
exists = yes
has_idea = USA_monroe_doctrine_enforcer
NOT = {
OR = {
has_war_with = FROM
has_war_with = ROOT
is_in_faction_with = ROOT
is_in_faction_with = FROM
}
}
}
FROM = {
has_idea = USA_monroe_doctrine_idea
is_in_faction = no
}
}
# Both countries are in Americas
IF = {
limit = {
ROOT = {
has_idea = USA_monroe_doctrine_idea
}
}
# Do Nothing for now, may add more content here in future!
}
# Only defender is in Americas
ELSE = {
FROM = {
USA = {
set_variable = { monroe_defender = PREV }
country_event = {
id = south_american_events.50
days = 1
}
}
}
}
}
}
}
#ROOT is the nation being released, FROM is the overlord
on_release_as_free = {
effect = {
USA_add_monroe_doctrine_to_target = yes
}
effect = {
IF = {
limit = {
ROOT = {
tag = WLA
}
}
WLA = {
load_oob = "WLA_1936"
}
}
}
}
on_liberate = {
effect = {
USA_add_monroe_doctrine_to_target = yes
}
}
on_weekly_ECU = {
effect = {
IF = {
limit = {
AND = {
649 = {
is_owned_and_controlled_by = ROOT
}
305 = {
NOT = {
is_owned_and_controlled_by = ROOT
}
}
490 = {
NOT = {
is_owned_and_controlled_by = ROOT
}
}
}
ROOT = {
NOT = {
has_cosmetic_tag = ECU_galapagos_regime
}
}
}
ROOT = {
set_cosmetic_tag = ECU_galapagos_regime
}
}
}
effect = {
IF = {
limit = {
305 = {
is_owned_and_controlled_by = ROOT
}
ROOT = {
has_cosmetic_tag = ECU_galapagos_regime
}
}
ROOT = {
drop_cosmetic_tag = yes
}
}
}
}
# ROOT is capitulated country, FROM is winner
on_capitulation = {
effect = {
IF = {
limit = {
has_dlc = "Trial of Allegiance"
ROOT = {
original_tag = GER
has_government = fascism
has_country_leader = {
character = GER_adolf_hitler
ruling_only = yes
}
}
ARG = {
has_government = fascism
}
}
ARG = {
country_event = {
id = ARG_political_events.120
days = 14
}
}
}
}
}
}
##狗屎DLC傻逼代码##

File diff suppressed because it is too large Load Diff

View File

@@ -18,10 +18,4 @@ on_actions = {
}
}
}
on_monthly = {
effect = {
}
}
}

View File

@@ -279,216 +279,6 @@ on_actions = {
}
}
}
on_daily_TIX = {
effect = {
if = {
limit = {
date > 1941.6.1
tag = TIX
has_government = fascism
is_puppet = no
not = { controls_state = 64 }
not = { country_exists = WEX }
has_global_flag = yaertahuiyi_chenggong
has_war_with = BFL
has_war_with = BYG
has_war_with = HUJ
surrender_progress > 0.7
BFL = {
surrender_progress < 0.4
}
HUJ = {
surrender_progress < 0.3
}
BYG = {
surrender_progress < 0.1
}
}
set_global_flag = yaertahuiyi_chenggong_shishi
white_peace = {
tag = HUJ
}
white_peace = {
tag = BYG
}
white_peace = {
tag = BFL
}
white_peace = {
tag = YUW
}
white_peace = {
tag = SAD
}
TIX_z23 = {
set_nationality = TIX
}
set_cosmetic_tag = TIX
TIX = {
add_country_leader_role = {
Character = TIX_z23
Promote_leader = yes
Country_leader = {
ideology = leninism
expire = "2000.1.1.1"
traits = {
jjdxxs
}
}
}
}
retire_character = TIX_xipeiershangjiang
release_on_controlled = CZE
release_on_controlled = AUS
release_on_controlled = NOR
release_on_controlled = DEN
release_on_controlled = HOL
release_on_controlled = BEL
release_on_controlled = LUX
CZE = {
annex_country = { target = SLO transfer_troops = no }
transfer_state = 73
transfer_state = 664
}
POL = {
transfer_state = 5
transfer_state = 63
transfer_state = 68
transfer_state = 66
transfer_state = 67
transfer_state = 85
transfer_state = 86
transfer_state = 807
transfer_state = 87
transfer_state = 98
transfer_state = 10
transfer_state = 762
transfer_state = 90
transfer_state = 88
transfer_state = 92
transfer_state = 97
add_state_core = 5
add_state_core = 63
add_state_core = 68
add_state_core = 66
add_state_core = 67
}
GER = {
#set_cosmetic_tag = XTIX
recruit_character = TIX_xipeiershangjiang
add_country_leader_role = {
character = TIX_xipeiershangjiang
promote_leader = yes
country_leader = {
expire = "4999.1.1"
ideology = liberalism
traits = {
}
}
}
set_capital = { state = 51 }
transfer_state = 59
transfer_state = 55
transfer_state = 56
transfer_state = 57
transfer_state = 51
transfer_state = 42
transfer_state = 54
transfer_state = 50
transfer_state = 52
transfer_state = 53
transfer_state = 58
transfer_state = 909
transfer_state = 978
add_state_core = 58
add_state_core = 59
add_state_core = 55
add_state_core = 56
add_state_core = 57
add_state_core = 51
add_state_core = 42
add_state_core = 54
add_state_core = 50
add_state_core = 52
add_state_core = 53
add_state_core = 909
add_state_core = 978
}
51 = {
set_demilitarized_zone = yes
}
42 = {
set_demilitarized_zone = yes
}
BFL = {
#annex_country = { target = FIN transfer_troops = no }
annex_country = { target = UKR transfer_troops = no }
annex_country = { target = LAT transfer_troops = no }
annex_country = { target = EST transfer_troops = no }
annex_country = { target = BLR transfer_troops = no }
annex_country = { target = AZR transfer_troops = no }
annex_country = { target = GEO transfer_troops = no }
annex_country = { target = LIT transfer_troops = no }
transfer_state = 188
transfer_state = 763
transfer_state = 78
transfer_state = 80
transfer_state = 766
add_state_core = 763
set_autonomy = {
target = TIX
autonomy_state = autonomy_integrated_puppet
}
set_autonomy = {
target = POL
autonomy_state = autonomy_integrated_puppet
}
set_autonomy = {
target = CZE
autonomy_state = autonomy_integrated_puppet
}
set_autonomy = {
target = HUN
autonomy_state = autonomy_integrated_puppet
}
set_autonomy = {
target = ROM
autonomy_state = autonomy_integrated_puppet
}
}
set_province_name = { id = 6332 name = "萨悠斯格勒" }
BYG = {
set_autonomy = {
target = GER
autonomy_state = autonomy_integrated_puppet
}
}
HUJ = {
set_autonomy = {
target = IRQ
autonomy_state = autonomy_integrated_puppet
}
}
DEN = {
set_cosmetic_tag = DEN
add_popularity = { ideology = democratic popularity = 0.3 }
set_politics = {
ruling_party = democratic
}
}
GER = {
add_popularity = { ideology = democratic popularity = 0.75 }
load_oob = GER_1939_nsb
}
add_popularity = { ideology = communism popularity = 0.75 }
news_event = { id = az_tianjiang.89 days = 1}
}
}
}
on_capitulation = {
effect = {
if = {
@@ -532,6 +322,11 @@ on_actions = {
TIX_z23 = {
set_nationality = TIX
}
BFL = {
TIX_z23 = {
set_nationality = TIX
}
}
set_cosmetic_tag = TIX
TIX = {
add_country_leader_role = {
@@ -701,7 +496,7 @@ on_actions = {
}
}
}
on_daily_DOH = {
on_monthly_DOH = {
effect = {
if = {
limit = {

View File

@@ -63,140 +63,7 @@ on_actions = {
}
}
}
on_monthly_TIX = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_monthly_BFL = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_monthly_BYG = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_monthly_HUJ = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_monthly_CHY = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_monthly_DOH = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_monthly_SAD = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_monthly_YUW = {
effect = {
if = {
limit = {
AND = {
NOT = { has_global_flag = bilanlianheguojiesan }
is_ai = yes
}
}
add_to_variable = {
var = wz_sl
value = 900
}
}
}
}
on_declare_war = {
effect = {
if = {

View File

@@ -1,4 +1,4 @@
getzhg_event_gerentezhi_se = {
getzhg_event_gerentezhi_se = {SOV
custom_effect_tooltip = getzhg_event_gerentezhi_tt
if = {
limit = { is_navy_leader = yes }
@@ -547,12 +547,66 @@ TY_lujunliluntupo = {
}
}
TY_haijunliluntupo = {
#custom_effect_tooltip = TY_haijunliluntupo_effect_tooltip
custom_effect_tooltip = TY_haijunliluntupo_effect_tooltip
#set_country_flag = TY_navy_liluntupo
if = {
limit = {
AND = {
has_naval_academy = yes
has_doctrine = new_fleet_in_being
}
}
add_ideas = az_lltp_czjd
}
if = {
limit = {
AND = {
has_naval_academy = yes
has_doctrine = new_convoy_raiding
}
}
add_ideas = az_lltp_myfs
}
if = {
limit = {
AND = {
has_naval_academy = yes
has_doctrine = new_base_strike
}
}
add_ideas = az_lltp_jddj
}
}
TY_kongjunliluntupo = {
#custom_effect_tooltip = TY_kongjunliluntupo_effect_tooltip
custom_effect_tooltip = TY_kongjunliluntupo_effect_tooltip
#set_country_flag = TY_air_liluntupo
if = {
limit = {
AND = {
has_air_academy = yes
has_doctrine = new_strategic_destruction
}
}
add_ideas = az_lltp_zlph
}
if = {
limit = {
AND = {
has_air_academy = yes
has_doctrine = new_battlefield_support
}
}
add_ideas = az_lltp_zczy
}
if = {
limit = {
AND = {
has_air_academy = yes
has_doctrine = new_operational_integrity
}
}
add_ideas = az_lltp_lxzz
}
}
shaixuan_leader_seffect = {

View File

@@ -119,10 +119,10 @@ scripted_gui = {
}
check_variable = {
ROOT.ROOT.wz_sl >9999
ROOT.wz_sl >9999
}
check_variable = {
ROOT.ROOT.xzmf_sl >0
ROOT.xzmf_sl >0
}
}
@@ -178,7 +178,7 @@ scripted_gui = {
THIS = {
skill > 8
skill < 10
is_navy_leader = NO
#is_navy_leader = NO
}
}
check_variable = {
@@ -192,15 +192,15 @@ scripted_gui = {
}
}
#lv9haijun
if = {
limit = {
THIS = {
is_navy_leader = yes
skill > 8
}
}
always = NO
}
#if = {
# limit = {
# THIS = {
# is_navy_leader = yes
#skill > 8
# }
# }
# always = NO
#}
#lv10
if = {
limit = {
@@ -242,6 +242,96 @@ scripted_gui = {
limit = {
THIS = {
skill > 11
skill < 13
}
}
check_variable = {
ROOT.wz_sl >59999
}
check_variable = {
ROOT.xzmf_sl >3
}
check_variable = {
ROOT.zs_sl >99
}
}
#lv13
if = {
limit = {
THIS = {
skill > 12
skill < 14
}
}
check_variable = {
ROOT.wz_sl >69999
}
check_variable = {
ROOT.xzmf_sl >4
}
check_variable = {
ROOT.zs_sl >119
}
}
#lv14
if = {
limit = {
THIS = {
skill > 13
skill < 15
}
}
check_variable = {
ROOT.wz_sl >79999
}
check_variable = {
ROOT.xzmf_sl >4
}
check_variable = {
ROOT.zs_sl >119
}
}
#lv15
if = {
limit = {
THIS = {
skill > 14
skill < 16
}
}
check_variable = {
ROOT.wz_sl >89999
}
check_variable = {
ROOT.xzmf_sl >5
}
check_variable = {
ROOT.zs_sl >149
}
}
#lv16
if = {
limit = {
THIS = {
skill > 15
skill < 20
}
}
check_variable = {
ROOT.wz_sl >99999
}
check_variable = {
ROOT.xzmf_sl >6
}
check_variable = {
ROOT.zs_sl >199
}
}
#lv20
if = {
limit = {
THIS = {
skill > 19
}
}
always = NO
@@ -306,8 +396,10 @@ scripted_gui = {
#lv1
if = {
limit = {
skill > 0
skill < 2
THIS = {
skill > 0
skill < 2
}
}
add_to_variable = {
ROOT.wz_sl = -500
@@ -319,10 +411,10 @@ scripted_gui = {
#lv2
else_if = {
limit = {
THIS = {
skill > 1
skill < 3
}
}
add_to_variable = {
ROOT.wz_sl = -1000
@@ -334,10 +426,10 @@ scripted_gui = {
#lv3
else_if = {
limit = {
THIS = {
skill > 2
skill < 4
}
}
add_to_variable = {
ROOT.wz_sl = -3000
@@ -349,10 +441,10 @@ scripted_gui = {
#lv4
else_if = {
limit = {
THIS = {
skill > 3
skill < 5
}
}
add_to_variable = {
ROOT.wz_sl = -6000
@@ -364,10 +456,10 @@ scripted_gui = {
#lv5
else_if = {
limit = {
THIS = {
skill > 4
skill < 6
}
}
add_to_variable = {
ROOT.wz_sl = -10000
@@ -382,10 +474,10 @@ scripted_gui = {
#lv6
else_if = {
limit = {
THIS = {
skill > 5
skill < 7
}
}
add_to_variable = {
ROOT.wz_sl = -15000
@@ -400,10 +492,10 @@ scripted_gui = {
#lv7
else_if = {
limit = {
THIS = {
skill > 6
skill < 8
}
}
add_to_variable = {
ROOT.wz_sl = -20000
@@ -418,10 +510,10 @@ scripted_gui = {
#lv8
else_if = {
limit = {
THIS = {
skill > 7
skill < 9
}
}
add_to_variable = {
@@ -430,30 +522,7 @@ scripted_gui = {
add_to_variable = {
ROOT.xzmf_sl = -2
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
if = {
limit = {
check_variable = {
chenggonggailv > 20
}
}
add_skill_level = 1
}
else = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
add_skill_level = 1
}
#lv9
@@ -473,27 +542,7 @@ scripted_gui = {
add_to_variable = {
ROOT.zs_sl = -20
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
if = {
limit = {
check_variable = {
chenggonggailv > 25
}
}
add_skill_level = 1
}
else = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
add_skill_level = 1
}
#lv10
else_if = {
@@ -512,27 +561,7 @@ scripted_gui = {
add_to_variable = {
ROOT.zs_sl = -60
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
min = 0
max = 100
}
if = {
limit = {
check_variable = {
chenggonggailv > 30
}
}
add_skill_level = 1
}
else = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
add_skill_level = 1
}
#lv11
else_if = {
@@ -551,6 +580,101 @@ scripted_gui = {
add_to_variable = {
ROOT.zs_sl = -100
}
add_skill_level = 1
}
#lv12
else_if = {
limit = {
THIS = {
skill > 11
skill < 13
}
}
add_to_variable = {
ROOT.wz_sl = -60000
}
add_to_variable = {
ROOT.xzmf_sl = -4
}
add_to_variable = {
ROOT.zs_sl = -100
}
add_skill_level = 1
}
#lv13
else_if = {
limit = {
THIS = {
skill > 12
skill < 14
}
}
add_to_variable = {
ROOT.wz_sl = -70000
}
add_to_variable = {
ROOT.xzmf_sl = -4
}
add_to_variable = {
ROOT.zs_sl = -120
}
add_skill_level = 1
}
#lv14
else_if = {
limit = {
THIS = {
skill > 13
skill < 15
}
}
add_to_variable = {
ROOT.wz_sl = -80000
}
add_to_variable = {
ROOT.xzmf_sl = -5
}
add_to_variable = {
ROOT.zs_sl = -120
}
add_skill_level = 1
}
#lv15
else_if = {
limit = {
THIS = {
skill > 14
skill < 16
}
}
add_to_variable = {
ROOT.wz_sl = -90000
}
add_to_variable = {
ROOT.xzmf_sl = -6
}
add_to_variable = {
ROOT.zs_sl = -150
}
add_skill_level = 1
}
#lv16
else_if = {
limit = {
THIS = {
skill > 15
skill < 20
}
}
add_to_variable = {
ROOT.wz_sl = -100000
}
add_to_variable = {
ROOT.xzmf_sl = -7
}
add_to_variable = {
ROOT.zs_sl = -200
}
randomize_temp_variable = {
var = chenggonggailv
distribution = uniform
@@ -566,7 +690,7 @@ scripted_gui = {
if = {
limit = {
check_variable = {
chenggonggailv > 40
chenggonggailv > 50
}
}
@@ -578,7 +702,7 @@ scripted_gui = {
PREV = { unit_leader_event = getzhg_event.2501 }
}
}
}
}
az_single_leader_xiujia_click = {

View File

@@ -781,17 +781,16 @@ defined_text = {
trigger = {
skill > 8
skill < 10
is_navy_leader = NO
}
localization_key = qianghua_cost_tooltip_lv9
}
text = {
trigger = {
skill > 8
is_navy_leader = yes
}
localization_key = qianghua_cost_tooltip_lv9_haijun
}
#text = {
# trigger = {
# skill > 8
# is_navy_leader = yes
# }
# localization_key = qianghua_cost_tooltip_lv9_haijun
#}
text = {
trigger = {
skill > 9
@@ -809,9 +808,44 @@ defined_text = {
text = {
trigger = {
skill > 11
skill < 13
}
localization_key = qianghua_cost_tooltip_lv12
}
text = {
trigger = {
skill > 12
skill < 14
}
localization_key = qianghua_cost_tooltip_lv13
}
text = {
trigger = {
skill > 13
skill < 15
}
localization_key = qianghua_cost_tooltip_lv14
}
text = {
trigger = {
skill > 14
skill < 16
}
localization_key = qianghua_cost_tooltip_lv15
}
text = {
trigger = {
skill > 15
skill < 20
}
localization_key = qianghua_cost_tooltip_lv16
}
text = {
trigger = {
skill > 19
}
localization_key = qianghua_cost_tooltip_lv20
}
}
defined_text = {

View File

@@ -17,6 +17,8 @@ shijianniangguojia_trigger = {
if = {
limit = { has_global_flag = MOD_azurlane_tianjiangjianniang }
custom_trigger_tooltip = {
tooltip = shijianniangguojia_trigger_tooltip
OR = {
tag = BYG
tag = HUJ
@@ -32,6 +34,7 @@ shijianniangguojia_trigger = {
tag = DH1
is_ai = NO
}
}
}
if = {
limit = { has_global_flag = MOD_azurlane_sairenzhizai }

View File

@@ -93,12 +93,10 @@ technologies = {
always = no
}
start_year = 1936
show_effect_as_desc = no
army_org_factor = 0.5
category_all_armor = {
max_strength = 3
max_strength = 4
}
category_all_infantry = {
max_strength = 10
@@ -116,18 +114,18 @@ technologies = {
always = no
}
start_year = 1936
show_effect_as_desc = yes
army_org_factor = 1
category_all_armor = {
max_strength = 4
}
category_all_infantry = {
max_strength = 11
max_strength = 15
}
category_artillery = {
max_strength = 4
max_strength = 2.4
}
}

View File

@@ -1,8 +0,0 @@
#technologies = {
# #重樱特殊科技
# mijibubin_chy = {
# infantry = {
# combat_width = -0.6
# }
# }
#}