432
src/common/ai_strategy/DH1.txt
Executable file
@@ -0,0 +1,432 @@
|
||||
DH1_zhongnanbandao = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_completed_focus = DH1_zhongnanbandao
|
||||
}
|
||||
abort = {
|
||||
DH1 = {
|
||||
controls_state = VIN.core_states
|
||||
controls_state = BRM.core_states
|
||||
controls_state = LAO.core_states
|
||||
controls_state = SIA.core_states
|
||||
controls_state = MAL.core_states
|
||||
}
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "VIN"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "HUJ"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "YUW"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "BRM"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "LAO"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "SIA"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "MAL"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "POR"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = ignore
|
||||
id = "DOH"
|
||||
value = 1000
|
||||
}
|
||||
}
|
||||
DH1_nanyacidalu = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_completed_focus = DH1_nanyacidalu
|
||||
}
|
||||
abort = {
|
||||
DH1 = {
|
||||
controls_state = RAJ.core_states
|
||||
controls_state = BAN.core_states
|
||||
controls_state = PAK.core_states
|
||||
}
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "RAJ"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "POR"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "HUJ"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "BAN"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "PAK"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = ignore
|
||||
id = "DOH"
|
||||
value = 1000
|
||||
}
|
||||
}
|
||||
DH1_xinanshibian = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_completed_focus = DH1_xinanshibian
|
||||
}
|
||||
abort = {
|
||||
has_country_flag = DH1_xinanshibian_success
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "DOH"
|
||||
value = 200
|
||||
}
|
||||
}
|
||||
DH1_you_should_be_prepared_for_war = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
always = yes
|
||||
}
|
||||
abort = {
|
||||
always = no
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = force_build_armies
|
||||
value = 1000
|
||||
}
|
||||
}
|
||||
|
||||
DH1_unit_production_at_week = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
num_of_military_factories < 39
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
abort = {
|
||||
num_of_military_factories > 39
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = garrison
|
||||
value = -100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = cavalry
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = paratroopers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = mountaineers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = marines
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = armor
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = infantry
|
||||
value = 1000
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = infantry
|
||||
value = 60
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = artillery
|
||||
value = 10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = armor
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = ignore_army_incompetence
|
||||
value = 10000
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = force_build_armies
|
||||
value = 100
|
||||
}
|
||||
}
|
||||
|
||||
DH1_unit_production_at_strong = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
num_of_military_factories > 40
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
abort = {
|
||||
num_of_military_factories < 40
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = garrison
|
||||
value = -100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = cavalry
|
||||
value = -100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = paratroopers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = mountaineers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = marines
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = infantry
|
||||
value = 20
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio #模板倾向
|
||||
id = infantry
|
||||
value = 100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = template_prio #修改模板倾向
|
||||
id = infantry
|
||||
value = 100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio #模板倾向
|
||||
id = armor
|
||||
value = 900
|
||||
}
|
||||
ai_strategy = {
|
||||
type = template_prio #修改模板倾向
|
||||
id = armor
|
||||
value = 900
|
||||
}
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = train
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
|
||||
DH1_naval_role_ratios_historical_strong = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_dlc = "Man the Guns"
|
||||
num_of_naval_factories > 4
|
||||
}
|
||||
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bb
|
||||
value = 10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bc
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_carrier
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_submarine
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_screen
|
||||
value = 60
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_light
|
||||
value = 30
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_heavy
|
||||
value = -15
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = unit_ratio
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
|
||||
DH1_naval_role_ratios_historical_week = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_dlc = "Man the Guns"
|
||||
num_of_naval_factories < 5
|
||||
}
|
||||
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bb
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bc
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_carrier
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_submarine
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_screen
|
||||
value = 150
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_light
|
||||
value = 30
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_heavy
|
||||
value = -15
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = unit_ratio
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
@@ -627,7 +627,7 @@ characters={
|
||||
portraits = {
|
||||
army = {
|
||||
large="gfx/leaders/DOH/JS9.png"
|
||||
small="gfx/interface/ideas/idea_JS9.png"
|
||||
small="gfx/interface/ideas/idea_js9.png"
|
||||
}
|
||||
}
|
||||
corps_commander = {
|
||||
@@ -670,7 +670,7 @@ characters={
|
||||
portraits = {
|
||||
army = {
|
||||
large="gfx/leaders/DOH/NZ75.png"
|
||||
small="gfx/interface/ideas/idea_NZ75.png"
|
||||
small="gfx/interface/ideas/idea_nz75.png"
|
||||
}
|
||||
}
|
||||
corps_commander = {
|
||||
@@ -713,7 +713,7 @@ characters={
|
||||
portraits = {
|
||||
army = {
|
||||
large="gfx/leaders/DOH/QBU88.png"
|
||||
small="gfx/interface/ideas/idea_QBU88.png"
|
||||
small="gfx/interface/ideas/idea_qbu88.png"
|
||||
}
|
||||
}
|
||||
corps_commander = {
|
||||
|
||||
@@ -128,6 +128,12 @@ DH1_yuanzheng_decision_category = {
|
||||
}
|
||||
add = 100
|
||||
}
|
||||
modifier = {
|
||||
DH1 = {
|
||||
has_idea = DH1_AI_zhongshijingong
|
||||
}
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
|
||||
cost = 15
|
||||
@@ -136,7 +142,7 @@ DH1_yuanzheng_decision_category = {
|
||||
fire_only_once = no
|
||||
|
||||
days_remove = @border_incident_escalation_countdown
|
||||
days_re_enable = 60
|
||||
days_re_enable = 30
|
||||
|
||||
war_with_target_on_remove = yes
|
||||
|
||||
|
||||
@@ -1177,6 +1177,30 @@ ideas = {
|
||||
navy_visibility = -0.1
|
||||
}
|
||||
}
|
||||
DOH_hailufuhe_idea_4 = {
|
||||
picture = generic_coastal_navy
|
||||
allowed_civil_war = {
|
||||
always = yes
|
||||
}
|
||||
modifier = {
|
||||
air_escort_efficiency = 0.1
|
||||
convoy_escort_efficiency = 0.1
|
||||
convoy_retreat_speed = 0.2
|
||||
navy_max_range_factor = 0.25
|
||||
transport_capacity = -0.5
|
||||
navy_org_factor = 0.20
|
||||
navy_fuel_consumption_factor = -0.1
|
||||
navy_visibility = -0.1
|
||||
}
|
||||
equipment_bonus = {
|
||||
convoy = {
|
||||
naval_speed = 0.20
|
||||
surface_visibility = -0.25
|
||||
lg_attack = 1
|
||||
anti_air_attack = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
# DOH_yyhj = {
|
||||
# picture = eng_steady_as_she_goes
|
||||
# allowed_civil_war = {
|
||||
|
||||
@@ -57,32 +57,30 @@ az_DOH_railway_organization = {
|
||||
trait = {
|
||||
token = DOH_wuzhuangyunshuchuan_trait
|
||||
name = DOH_wuzhuangyunshuchuan_trait
|
||||
position = { x = 0 y = 0 }
|
||||
position = { x = 0 y = 1 }
|
||||
parent = {
|
||||
traits = { DOH_yunshujiandui_trait }
|
||||
}
|
||||
icon = GFX_generic_mio_trait_icon_lg_attack
|
||||
limit_to_equipment_type = {
|
||||
convoy
|
||||
}
|
||||
equipment_bonus = {
|
||||
naval_speed = 0.20
|
||||
surface_visibility = -0.25
|
||||
lg_attack = 1
|
||||
anti_air_attack = 1
|
||||
}
|
||||
available = {
|
||||
DOH = {
|
||||
has_completed_focus = DOH_yunshujiandui
|
||||
has_completed_focus = DOH_ninghaixiaxiyang
|
||||
}
|
||||
}
|
||||
on_complete = {
|
||||
DOH = {
|
||||
swap_ideas = {
|
||||
remove_idea = DOH_hailufuhe_idea_3
|
||||
add_idea = DOH_hailufuhe_idea_4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
trait = {
|
||||
token = DOH_yunshujiandui_trait
|
||||
name = DOH_yunshujiandui_trait
|
||||
parent = {
|
||||
traits = { DOH_wuzhuangyunshuchuan_trait }
|
||||
}
|
||||
icon = GFX_generic_mio_trait_icon_build_cost_ic
|
||||
relative_position_id = DOH_wuzhuangyunshuchuan_trait
|
||||
position = { x = 0 y = 1}
|
||||
position = { x = 0 y = 0}
|
||||
limit_to_equipment_type = {
|
||||
convoy
|
||||
}
|
||||
|
||||
@@ -3827,6 +3827,9 @@ focus_tree = {
|
||||
set_state_category = large_city
|
||||
}
|
||||
DOH_neibufenqi_jianqin_effect = yes
|
||||
every_military_industrial_organization = {
|
||||
add_mio_size = 3
|
||||
}
|
||||
hidden_effect = {
|
||||
set_victory_points = {
|
||||
province = 12055 # 徐州
|
||||
|
||||
@@ -173,7 +173,7 @@ DOH_mofifier_effect = {
|
||||
limit = {
|
||||
has_country_flag = DOH_auto_conv_com_arm
|
||||
check_variable = {
|
||||
var:num_equipment@doh_civ_equipment_1 > 0
|
||||
var:num_equipment@doh_civ_equipment_1 > 179
|
||||
}
|
||||
}
|
||||
set_temp_variable = {
|
||||
@@ -211,7 +211,7 @@ DOH_mofifier_effect = {
|
||||
limit = {
|
||||
has_country_flag = DOH_auto_conv_arm
|
||||
check_variable = {
|
||||
var:num_equipment@doh_civ_equipment_1 > 0
|
||||
var:num_equipment@doh_civ_equipment_1 > 71
|
||||
}
|
||||
}
|
||||
set_temp_variable = {
|
||||
@@ -235,10 +235,6 @@ DOH_mofifier_effect = {
|
||||
type = arms_factory
|
||||
level = temp_var:az_doh_factroies_add
|
||||
}
|
||||
add_offsite_building = {
|
||||
type = industrial_complex
|
||||
level = temp_var:az_doh_factroies_add
|
||||
}
|
||||
add_timed_idea = {
|
||||
idea = DOH_czdswgy
|
||||
days = 10
|
||||
|
||||
381
src/events/DH1_yuanzheng.txt
Executable file
@@ -0,0 +1,381 @@
|
||||
# some changes from Border Conflicts everywhere by Blue
|
||||
add_namespace = az_NSB_border_conflict_won_attacker
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_won_attacker.1
|
||||
title = az_NSB_border_conflict_won_attacker.1.t
|
||||
desc = az_NSB_border_conflict_won_attacker.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
save_event_target_as = our_country
|
||||
#BCE
|
||||
FROM = { save_event_target_as = our_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
FROM.FROM = { save_event_target_as = their_country }
|
||||
#BCE
|
||||
FROM.FROM.FROM = {
|
||||
save_event_target_as = their_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
|
||||
remove_targeted_decision = { target = event_target:their_country decision = az_NSB_border_conflict_time_until_cancelled }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = az_NSB_border_conflict_won_attacker.1.a
|
||||
# BCE
|
||||
add_political_power = 50
|
||||
add_war_support = .02
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
FROM.FROM.num_owned_states > 1
|
||||
}
|
||||
}
|
||||
transfer_state = FROM.FROM.FROM
|
||||
}
|
||||
else = {
|
||||
FROM.FROM = { ROOT = { annex_country = { target = PREV } } }
|
||||
}
|
||||
# BCE
|
||||
custom_effect_tooltip = az_NSB_buildings_damaged
|
||||
hidden_effect = {
|
||||
FROM.FROM.FROM = {
|
||||
random_list = {
|
||||
60 = { damage_building = { type = arms_factory damage = 0.6 } }
|
||||
30 = { damage_building = { type = arms_factory damage = 0.3 } }
|
||||
10 = { damage_building = { type = industrial_complex damage = 0.9 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_conflict_won_defender
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_won_defender.1
|
||||
title = az_NSB_border_conflict_won_defender.1.t
|
||||
desc = az_NSB_border_conflict_won_defender.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
hidden_effect = {
|
||||
save_event_target_as = our_country
|
||||
FROM = {
|
||||
save_event_target_as = our_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
FROM.FROM = { save_event_target_as = their_country }
|
||||
FROM.FROM.FROM = {
|
||||
save_event_target_as = their_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
set_country_flag = show_effect_tooltips
|
||||
clear_variable = attacker_state_vs_@FROM.FROM
|
||||
clear_variable = defender_state_vs_@FROM.FROM
|
||||
remove_targeted_decision = { target = event_target:their_country decision = az_NSB_border_conflict_time_until_cancelled }
|
||||
}
|
||||
}
|
||||
|
||||
#Same effect as attacker. Tooltip for their effects
|
||||
option = {
|
||||
name = az_NSB_border_conflict_won_defender.1.a
|
||||
add_political_power = 0
|
||||
army_experience = 0
|
||||
add_war_support = 0
|
||||
add_doctrine_cost_reduction = {
|
||||
name = defensive_border_conflict_won
|
||||
cost_reduction = 0.25
|
||||
uses = 1
|
||||
category = land_doctrine
|
||||
}
|
||||
if = {
|
||||
limit = { has_country_flag = show_effect_tooltips }
|
||||
event_target:their_country = {
|
||||
effect_tooltip = {
|
||||
add_political_power = 0
|
||||
army_experience = 0
|
||||
}
|
||||
}
|
||||
clr_country_flag = show_effect_tooltips
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_conflict_lost_attacker
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_lost_attacker.1
|
||||
title = az_NSB_border_conflict_lost_attacker.1.t
|
||||
desc = az_NSB_border_conflict_lost_attacker.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
save_event_target_as = our_country
|
||||
FROM = { save_event_target_as = our_state }
|
||||
FROM.FROM = { save_event_target_as = their_country }
|
||||
FROM.FROM.FROM = { save_event_target_as = their_state }
|
||||
set_country_flag = show_effect_tooltips
|
||||
remove_targeted_decision = { target = event_target:their_country decision = az_NSB_border_conflict_time_until_cancelled }
|
||||
}
|
||||
|
||||
#Same effect as defender. Tooltip for their effects
|
||||
option = {
|
||||
name = az_NSB_border_conflict_lost_attacker.1.a
|
||||
add_political_power = -30
|
||||
army_experience = 10
|
||||
add_war_support = -.02
|
||||
|
||||
### ideology loss from Border Conflicts Everywhere by Blue
|
||||
|
||||
custom_effect_tooltip = az_NSB_buildings_damaged
|
||||
hidden_effect = {
|
||||
FROM = {
|
||||
random_list = {
|
||||
60 = { damage_building = { type = arms_factory damage = 0.6 } }
|
||||
30 = { damage_building = { type = arms_factory damage = 0.3 } }
|
||||
5 = { damage_building = { type = industrial_complex damage = 0.9 } }
|
||||
5 = { add_manpower = -500 }
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { has_country_flag = show_effect_tooltips }
|
||||
event_target:their_country = {
|
||||
effect_tooltip = {
|
||||
add_political_power = 150
|
||||
army_experience = 30
|
||||
add_doctrine_cost_reduction = {
|
||||
name = defensive_border_conflict_won
|
||||
cost_reduction = 0.25
|
||||
uses = 1
|
||||
category = land_doctrine
|
||||
}
|
||||
}
|
||||
}
|
||||
clr_country_flag = show_effect_tooltips
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_conflict_lost_defender
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_lost_defender.1
|
||||
title = az_NSB_border_conflict_lost_defender.1.t
|
||||
desc = az_NSB_border_conflict_lost_defender.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
hidden_effect = {
|
||||
save_event_target_as = our_country
|
||||
FROM = {
|
||||
save_event_target_as = our_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
FROM.FROM = { save_event_target_as = their_country }
|
||||
FROM.FROM.FROM = {
|
||||
save_event_target_as = their_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
set_country_flag = show_effect_tooltips
|
||||
clear_variable = attacker_state_vs_@FROM.FROM
|
||||
clear_variable = defender_state_vs_@FROM.FROM
|
||||
remove_targeted_decision = { target = event_target:their_country decision = az_NSB_border_conflict_time_until_cancelled }
|
||||
}
|
||||
}
|
||||
|
||||
#Same effect as attacker. Tooltip for their effects
|
||||
option = {
|
||||
name = az_NSB_border_conflict_lost_defender.1.a
|
||||
if = {
|
||||
limit = { has_country_flag = show_effect_tooltips }
|
||||
effect_tooltip = {
|
||||
add_political_power = 50
|
||||
#BCE
|
||||
add_manpower = -500
|
||||
add_war_support = .10
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
num_owned_states > 1
|
||||
}
|
||||
}
|
||||
FROM.FROM = { transfer_state = FROM }
|
||||
}
|
||||
else = {
|
||||
FROM.FROM = { annex_country = { target = ROOT } }
|
||||
}
|
||||
}
|
||||
clr_country_flag = show_effect_tooltips
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_conflict_canceled_attacker
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_canceled_attacker.1
|
||||
title = az_NSB_border_conflict_canceled_attacker.1.t
|
||||
desc = az_NSB_border_conflict_canceled_attacker.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
save_event_target_as = our_country
|
||||
FROM = { save_event_target_as = our_state }
|
||||
FROM.FROM = { save_event_target_as = their_country }
|
||||
FROM.FROM.FROM = { save_event_target_as = their_state }
|
||||
set_country_flag = show_effect_tooltips
|
||||
}
|
||||
|
||||
option = {
|
||||
name = az_NSB_border_conflict_canceled_attacker.1.a
|
||||
army_experience = 15
|
||||
if = {
|
||||
limit = { has_country_flag = show_effect_tooltips }
|
||||
event_target:their_country = {
|
||||
effect_tooltip = {
|
||||
army_experience = 30
|
||||
add_political_power = 50
|
||||
}
|
||||
}
|
||||
clr_country_flag = show_effect_tooltips
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_conflict_canceled_defender
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_canceled_defender.1
|
||||
title = az_NSB_border_conflict_canceled_defender.1.t
|
||||
desc = az_NSB_border_conflict_canceled_defender.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
hidden_effect = {
|
||||
save_event_target_as = our_country
|
||||
FROM = {
|
||||
save_event_target_as = our_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
FROM.FROM = { save_event_target_as = their_country }
|
||||
FROM.FROM.FROM = {
|
||||
save_event_target_as = their_state
|
||||
clr_state_flag = border_incident_active
|
||||
}
|
||||
set_country_flag = show_effect_tooltips
|
||||
clear_variable = attacker_state_vs_@FROM.FROM
|
||||
clear_variable = defender_state_vs_@FROM.FROM
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = az_NSB_border_conflict_canceled_defender.1.a
|
||||
army_experience = 30
|
||||
add_political_power = 50
|
||||
if = {
|
||||
limit = { has_country_flag = show_effect_tooltips }
|
||||
event_target:their_country = {
|
||||
effect_tooltip = {
|
||||
army_experience = 15
|
||||
}
|
||||
}
|
||||
clr_country_flag = show_effect_tooltips
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_incident_defender_warning
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_incident_defender_warning.1
|
||||
title = az_NSB_border_incident_defender_warning.1.t
|
||||
desc = az_NSB_border_incident_defender_warning.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
#Event targets saved
|
||||
#attacker_state
|
||||
#defender_state
|
||||
immediate = {
|
||||
save_event_target_as = our_country
|
||||
FROM = { save_event_target_as = their_country }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = az_NSB_border_incident_defender_warning.1.a
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_conflict_escalation
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_escalation.1
|
||||
title = az_NSB_border_conflict_escalation.1.t
|
||||
desc = az_NSB_border_conflict_escalation.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
#Event targets saved
|
||||
#attacker_state
|
||||
#defender_state
|
||||
immediate = {
|
||||
save_event_target_as = our_country
|
||||
FROM = { save_event_target_as = their_country }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = az_NSB_border_conflict_escalation.1.a
|
||||
}
|
||||
}
|
||||
|
||||
add_namespace = az_NSB_border_conflict_escalate_to_war
|
||||
|
||||
country_event = {
|
||||
id = az_NSB_border_conflict_escalate_to_war.1
|
||||
title = az_NSB_border_conflict_escalate_to_war.1.t
|
||||
desc = az_NSB_border_conflict_escalate_to_war.1.desc
|
||||
|
||||
picture = GFX_decision_dh1decision
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
#Event targets saved
|
||||
#attacker_state
|
||||
#defender_state
|
||||
immediate = {
|
||||
save_event_target_as = our_country
|
||||
FROM = { save_event_target_as = their_country }
|
||||
}
|
||||
|
||||
option = {
|
||||
name = az_NSB_border_conflict_escalate_to_war.1.a
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 324 B |
|
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 324 B |
@@ -442,6 +442,8 @@
|
||||
DOH_hailufuhe_idea_2_desc: "$DOH_hailufuhe_desc$"
|
||||
DOH_hailufuhe_idea_3: "海路复合"
|
||||
DOH_hailufuhe_idea_3_desc: "$DOH_hailufuhe_desc$"
|
||||
DOH_hailufuhe_idea_4: "海路复合"
|
||||
DOH_hailufuhe_idea_4_desc: "$DOH_hailufuhe_desc$"
|
||||
DOH_dhgytx: "东煌工业体系"
|
||||
DOH_dhgytx_1: "东煌工业体系"
|
||||
DOH_dhgytx_2: "东煌工业体系"
|
||||
@@ -944,6 +946,5 @@
|
||||
DOH_loong_event.3001.a: "要她们深刻反省!"
|
||||
DOH_loong_event.3001.b: "保持现状就好。"
|
||||
DOH_loong_event.3002.t: "北联的重建"
|
||||
DOH_loong_event.3001.d: "红色北方联合已经重建,北联舰娘向我们道别。"
|
||||
DOH_loong_event.3001.a: "山高水远,江湖再见!"
|
||||
DOH_loong_event.3001.b: "保持现状就好。"
|
||||
DOH_loong_event.3002.d: "红色北方联合已经重建,北联舰娘向我们道别。"
|
||||
DOH_loong_event.3002.a: "山高水远,江湖再见!"
|
||||