diff --git a/src/common/decisions/SIR_sairenmod_decisions.txt b/src/common/decisions/SIR_sairenmod_decisions.txt index 3c81644..8fd6d4a 100755 --- a/src/common/decisions/SIR_sairenmod_decisions.txt +++ b/src/common/decisions/SIR_sairenmod_decisions.txt @@ -1,5 +1,24 @@ #购买武器(1政治点=15的IC产能) 1军工满效率每天5IC产出 10把步枪(净生产量+三分之一) 1.42火炮(净生产量+五分之一) 2卡车(净生产量+四分之一) siren_category = { + siren_liluntup_jy = { + icon = hude + visible = { + has_global_flag = az_chiji_flag + } + available = { + shisairen_trigger = yes + date > 1939.1.1 + } + ai_will_do = { + factor = 1001 + } + fire_only_once = yes + complete_effect = { + TY_lujunliluntupo = yes + TY_haijunliluntupo = yes + TY_kongjunliluntupo = yes + } + } siren_ludiyaosai = { icon = hude visible = { diff --git a/src/common/decisions/az_chiji_decisions.txt b/src/common/decisions/az_chiji_decisions.txt index bbf6f9c..24efc6b 100755 --- a/src/common/decisions/az_chiji_decisions.txt +++ b/src/common/decisions/az_chiji_decisions.txt @@ -73,16 +73,38 @@ az_chiji_tyjy = { if = { limit = { is_ai = yes - not = { tag = SR2 } - not = { tag = TI1 } + #not = { tag = SR2 } + #not = { tag = TI1 } not = { tag = TI2 } not = { tag = SA4 } not = { tag = YU5 } not = { tag = HU4 } not = { tag = SA1 } + not = { tag = BF1 } + not = { tag = BF2 } + not = { tag = BF3 } } has_war = no } + if = { + limit = { + is_ai = yes + OR = { + tag = BF1 + tag= BF2 + } + } + date > 1936.5.1 + not = { has_war_with = SOV } + not = { has_war_with = RKM } + } + if = { + limit = { + is_ai = yes + tag= BF3 + } + not = { has_war_with = SOV } + } if = { limit = { OR = { @@ -164,7 +186,7 @@ az_chiji_tyjy = { is_neighbor_of = ROOT is_subject = no not = { is_in_faction_with = ROOT } - not = { has_government = ROOT } + #not = { has_government = ROOT } shijianniangguojia_trigger = yes } } @@ -178,7 +200,8 @@ az_chiji_tyjy = { not = { tag = YU3 } not = { tag = TI3 } not = { tag = SA1 } - is_ai = no + not = { tag = BY2 } + not = { tag = BF4 } } date > 1937.6.1 } @@ -196,6 +219,7 @@ az_chiji_tyjy = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT + has_government = ROOT has_non_aggression_pact_with = ROOT } } @@ -271,20 +295,16 @@ az_chiji_tyjy = { has_war_with = ROOT is_in_faction_with = ROOT is_subject_of = ROOT - has_non_aggression_pact_with = ROOT } } } } ai_will_do = { - factor = 0 - modifier = { - has_war = no - add = 100 - } + factor = 100 } fire_only_once = yes days_remove = 7 + days_re_enable = 90 war_with_target_on_remove = yes remove_effect = { declare_war_on = { @@ -493,6 +513,7 @@ az_chiji_tyjy = { add_ideas = YUW_jjggA1 add_ideas = YUW_zymygg add_ideas = YUW_gr + add_ideas = YUW_slsywm } if = { limit = { @@ -502,6 +523,7 @@ az_chiji_tyjy = { add_ideas = YUW_ywzq add_ideas = YUW_zypg add_ideas = YUW_xingfenzhidu_idea + add_ideas = YUW_slsywm } remove_ideas = az_chiji_ty_idea_jianniang if = { diff --git a/src/common/decisions/sairen_jiefang_decisions.txt b/src/common/decisions/sairen_jiefang_decisions.txt index 3af762c..1ec81e1 100755 --- a/src/common/decisions/sairen_jiefang_decisions.txt +++ b/src/common/decisions/sairen_jiefang_decisions.txt @@ -184,10 +184,12 @@ jiefanglingtu_category = { tingzhijinggong = { icon = generic_form_nation available = { + date < 1939.12.1 has_capitulated = NO is_subject = NO } visible = { + date < 1939.12.1 has_global_flag = az_chiji_flag not = { has_country_flag = AL_win_or_die @@ -353,6 +355,7 @@ jiefanglingtu_category = { tingzhijinggong_leader = { icon = generic_form_nation available = { + date < 1939.12.1 AND = { custom_trigger_tooltip = { tooltip = tingzhijinggong_leader_trigger_tooltip @@ -366,6 +369,7 @@ jiefanglingtu_category = { } visible = { + date < 1939.12.1 has_global_flag = az_chiji_flag not = { has_country_flag = AL_win_or_die diff --git a/src/common/decisions/tianjiang_decision.txt b/src/common/decisions/tianjiang_decision.txt index bfcd763..3cccb77 100755 --- a/src/common/decisions/tianjiang_decision.txt +++ b/src/common/decisions/tianjiang_decision.txt @@ -15970,6 +15970,7 @@ AZ_meizhoutiaozhan_jyz = { } } not = { has_global_flag = modoption_dingzhenai_on } + not = { has_global_flag = az_chiji_flag } } complete_effect = { #activate_mission = AZ_meizhoutiaozhan_jy_wanmei_time diff --git a/src/common/factions/templates/az_templates.txt b/src/common/factions/templates/az_templates.txt index b1c5600..fc0cca8 100755 --- a/src/common/factions/templates/az_templates.txt +++ b/src/common/factions/templates/az_templates.txt @@ -84,7 +84,7 @@ faction_template_srlm = { default_rules = { call_to_war_rule_independent_only - joining_rule_non_communist + joining_rule_same_ideology faction_peace_rule_conquest_focus change_leader_rule_manpower change_leader_rule_manifest_below_35 diff --git a/src/common/ideas/az_chiji_ideas.txt b/src/common/ideas/az_chiji_ideas.txt index 5b4d682..393d5ad 100755 --- a/src/common/ideas/az_chiji_ideas.txt +++ b/src/common/ideas/az_chiji_ideas.txt @@ -35,6 +35,7 @@ ideas = { #army_defence_factor = 0.25 annex_cost_factor = -0.1 industrial_capacity_dockyard = 2 + pocket_penalty = 2 } } az_chiji_ty_idea_jianniang = { @@ -60,9 +61,10 @@ ideas = { army_attack_factor = 1 army_defence_factor = 1 breakthrough_factor = 1 - supply_consumption_factor = -0.5 + supply_consumption_factor = -0.8 annex_cost_factor = -0.1 industrial_capacity_dockyard = 5 + pocket_penalty = 5 } } } diff --git a/src/common/national_focus/az_generic.txt b/src/common/national_focus/az_generic.txt new file mode 100755 index 0000000..81e320f --- /dev/null +++ b/src/common/national_focus/az_generic.txt @@ -0,0 +1,2112 @@ +focus_tree = { + id = az_generic_focus + + country = { + factor = 0 + #modifier = { + # tag = BOW + # add = 20 + #} + } + + default = no + reset_on_civilwar = no + + initial_show_position = { + focus = industrial_effort + } + + #shared_focus = HABSBURG_part_of_something_bigger + + focus = { + id = az_army_effort + icon = GFX_goal_generic_allies_build_infantry + x = 1 + y = 0 + cost = 10 + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + army_experience = 200 + add_doctrine_cost_reduction = { + name = land_doc_bonus + cost_reduction = 0.5 + uses = 2 + category = land_doctrine + } + } + } + + focus = { + id = az_equipment_effort + icon = GFX_goal_generic_small_arms + prerequisite = { focus = az_army_effort } + x = -1 + y = 1 + relative_position_id = az_army_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + + add_breakthrough_progress = { + specialization = specialization_land + value = 1 + } + + add_tech_bonus = { + name = infantry_artillery_bonus + bonus = 1.0 + uses = 2 + category = infantry_weapons + category = artillery + } + + } + } + + focus = { + id = az_motorization_effort + icon = GFX_goal_generic_army_motorized + prerequisite = { focus = az_army_effort } + bypass = { has_tech = motorised_infantry } + x = 1 + y = 1 + relative_position_id = az_army_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = motorized_bonus + bonus = 1.0 + technology = motorised_infantry + } + } + } + + focus = { + id = az_doctrine_effort + icon = GFX_goal_generic_army_doctrines + prerequisite = { focus = az_army_effort } + x = 0 + y = 2 + relative_position_id = az_army_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + army_experience = 200 + add_doctrine_cost_reduction = { + name = land_doc_bonus + cost_reduction = 0.5 + uses = 2 + category = land_doctrine + } + } + } + + focus = { + id = az_equipment_effort_2 + icon = GFX_goal_generic_army_artillery + prerequisite = { focus = az_equipment_effort } + x = 0 + y = 2 + relative_position_id = az_equipment_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + + add_breakthrough_progress = { + specialization = specialization_land + value = 1 + } + + add_tech_bonus = { + name = infantry_artillery_bonus + bonus = 1.0 + uses = 2 + category = infantry_weapons + category = artillery + } + + } + } + + focus = { + id = az_mechanization_effort + icon = GFX_goal_generic_build_tank + prerequisite = { focus = az_motorization_effort } + x = 0 + y = 2 + relative_position_id = az_motorization_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = motorized_bonus + ahead_reduction = 3 + uses = 1 + category = motorized_equipment + } + IF = { + limit = { + has_tech = motorised_infantry + } + add_equipment_to_stockpile = { + type = motorized_equipment + amount = 100 + } + } + } + } + + focus = { + id = az_doctrine_effort_2 + icon = GFX_goal_generic_army_doctrines + prerequisite = { focus = az_doctrine_effort } + x = 0 + y = 2 + relative_position_id = az_doctrine_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + army_experience = 200 + add_mastery_bonus = { + bonus = 1 + days = 365 + name = "重视军事学说" + folder = land + index = 1 + } + } + } + + focus = { + id = az_equipment_effort_3 + icon = GFX_goal_generic_army_artillery2 + prerequisite = { focus = az_equipment_effort_2 } + x = 0 + y = 2 + relative_position_id = az_equipment_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + + add_breakthrough_progress = { + specialization = specialization_land + value = 1 + } + + add_tech_bonus = { + name = infantry_artillery_bonus + ahead_reduction = 2 + uses = 2 + category = infantry_weapons + category = artillery + } + + } + } + + focus = { + id = az_armor_effort + icon = GFX_goal_generic_army_tanks + prerequisite = { focus = az_mechanization_effort } + x = 0 + y = 2 + relative_position_id = az_mechanization_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = armor_bonus + bonus = 1.5 + uses = 4 + category = armor + } + } + } + + focus = { + id = az_special_forces + icon = GFX_goal_generic_special_forces + prerequisite = { focus = az_equipment_effort_3 } + prerequisite = { focus = az_doctrine_effort_2 } + prerequisite = { focus = az_armor_effort } + x = 1 + y = 1 + relative_position_id = az_equipment_effort_3 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + #add_ideas = special_forces + TY_lujunliluntupo = yes + add_tech_bonus = { + name = special_forces_bonus + bonus = 3.0 + uses = 2 + technology = paratroopers + technology = paratroopers2 + technology = marines + technology = marines2 + technology = tech_mountaineers + technology = tech_mountaineers2 + } + } + } + + focus = { + id = az_aviation_effort + icon = GFX_goal_generic_build_airforce + x = 5 + y = 0 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + + complete_tooltip = { + air_experience = 200 + if = { limit = { has_country_flag = aviation_effort_AB } + add_building_construction = { + type = air_base + level = 5 + instant_build = yes + } + } + add_doctrine_cost_reduction = { + name = air_doc_bonus + cost_reduction = 0.5 + uses = 2 + category = air_doctrine + } + } + + completion_reward = { + air_experience = 200 + + if = { + limit = { + capital_scope = { + NOT = { + free_building_slots = { + building = air_base + size > 1 + } + } + } + } + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = air_base + size > 1 + } + } + add_building_construction = { + type = air_base + level = 5 + instant_build = yes + } + ROOT = { set_country_flag = aviation_effort_AB } + } + } + if = { + limit = { + capital_scope = { + free_building_slots = { + building = air_base + size > 1 + } + } + } + capital_scope = { + add_building_construction = { + type = air_base + level = 5 + instant_build = yes + } + ROOT = { set_country_flag = aviation_effort_AB } + } + } + add_doctrine_cost_reduction = { + name = air_doc_bonus + cost_reduction = 0.5 + uses = 2 + category = air_doctrine + } + } + } + + focus = { + id = az_fighter_focus + icon = GFX_goal_generic_air_fighter + prerequisite = { focus = az_aviation_effort } + mutually_exclusive = { focus = az_bomber_focus } + x = -1 + y = 1 + relative_position_id = az_aviation_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = fighter_bonus + bonus = 2.0 + uses = 2 + category = light_fighter + category = cat_heavy_fighter + } + } + } + + focus = { + id = az_bomber_focus + icon = GFX_goal_generic_air_bomber + prerequisite = { focus = az_aviation_effort } + mutually_exclusive = { focus = az_fighter_focus } + x = 1 + y = 1 + relative_position_id = az_aviation_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = bomber_bonus + bonus = 2.0 + uses = 2 + category = cat_strategic_bomber + category = tactical_bomber + } + } + } + + focus = { + id = az_aviation_effort_2 + icon = GFX_goal_generic_air_doctrine + prerequisite = { focus = az_bomber_focus focus = az_fighter_focus } + x = -1 + y = 1 + relative_position_id = az_bomber_focus + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + + complete_tooltip = { + air_experience = 200 + if = { limit = { has_country_flag = aviation_effort_2_AB } + add_building_construction = { + type = air_base + level = 5 + instant_build = yes + } + } + add_doctrine_cost_reduction = { + name = air_doc_bonus + cost_reduction = 0.5 + uses = 2 + category = air_doctrine + } + } + completion_reward = { + air_experience = 200 + if = { + limit = { + capital_scope = { + OR = { + NOT = { is_controlled_by = ROOT } + NOT = { + free_building_slots = { + building = air_base + size > 1 + } + } + } + } + } + random_owned_controlled_state = { + limit = { + free_building_slots = { + building = air_base + size > 1 + } + } + add_building_construction = { + type = air_base + level = 5 + instant_build = yes + } + ROOT = { set_country_flag = aviation_effort_2_AB } + } + } + if = { + limit = { + capital_scope = { + is_controlled_by = ROOT + free_building_slots = { + building = air_base + size > 1 + } + } + } + capital_scope = { + add_building_construction = { + type = air_base + level = 5 + instant_build = yes + } + ROOT = { set_country_flag = aviation_effort_2_AB } + } + } + add_doctrine_cost_reduction = { + name = air_doc_bonus + cost_reduction = 0.5 + uses = 2 + category = air_doctrine + } + } + } + + focus = { + id = az_CAS_effort + icon = GFX_goal_generic_CAS + prerequisite = { focus = az_aviation_effort_2 } + prerequisite = { focus = az_motorization_effort } + x = -1 + y = 1 + relative_position_id = az_aviation_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = CAS_bonus + bonus = 1.0 + ahead_reduction = 2 + uses = 2 + category = cas_bomber + } + } + } + + focus = { + id = az_rocket_effort + icon = GFX_focus_rocketry + prerequisite = { focus = az_aviation_effort_2 } + prerequisite = { focus = az_infrastructure_effort } + x = 0 + y = 2 + relative_position_id = az_aviation_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + TY_kongjunliluntupo = yes + add_breakthrough_progress = { + specialization = specialization_air + value = 1.5 + } + + add_tech_bonus = { + name = jet_rocket_bonus + ahead_reduction = 2 + uses = 2 # was 2 + category = rocketry + category = jet_technology + } + + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.25 + always = yes + } + } + } + + focus = { + id = az_NAV_effort + icon = GFX_goal_generic_air_naval_bomber + prerequisite = { focus = az_aviation_effort_2 } + prerequisite = { focus = az_flexible_navy } + x = 1 + y = 1 + relative_position_id = az_aviation_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = nav_bomber_bonus + bonus = 1.0 + ahead_reduction = 2 + uses = 2 + category = naval_bomber + } + } + } + + focus = { + id = az_naval_effort + icon = GFX_goal_generic_construct_naval_dockyard + x = 9 + y = 0 + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + + available = { + any_controlled_state = { + is_coastal = yes + } + } + + complete_tooltip = { + navy_experience = 200 + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = dockyard + level = 6 + instant_build = yes + } + } + + completion_reward = { + navy_experience = 200 + if = { + limit = { + NOT = { + any_owned_state = { + dockyard > 0 + free_building_slots = { + building = dockyard + size > 5 + include_locked = yes + } + } + } + any_owned_state = { + is_coastal = yes + } + } + random_owned_controlled_state = { + limit = { + is_coastal = yes + free_building_slots = { + building = dockyard + size > 5 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = dockyard + level = 6 + instant_build = yes + } + } + set_country_flag = naval_effort_built + } + if = { + limit = { + NOT = { has_country_flag = naval_effort_built } + any_owned_state = { + dockyard > 0 + free_building_slots = { + building = dockyard + size > 5 + include_locked = yes + } + } + } + random_owned_controlled_state = { + limit = { + dockyard > 0 + free_building_slots = { + building = dockyard + size > 5 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = dockyard + level = 6 + instant_build = yes + } + } + set_country_flag = naval_effort_built + } + if = { + limit = { + NOT = { has_country_flag = naval_effort_built } + NOT = { + any_owned_state = { + free_building_slots = { + building = dockyard + size > 5 + include_locked = yes + } + } + } + } + random_state = { + limit = { + controller = { tag = ROOT } + free_building_slots = { + building = dockyard + size > 5 + include_locked = yes + } + } + add_extra_state_shared_building_slots = 6 + add_building_construction = { + type = dockyard + level = 6 + instant_build = yes + } + } + } + } + } + + focus = { + id = az_flexible_navy + icon = GFX_goal_generic_build_navy + prerequisite = { focus = az_naval_effort } + mutually_exclusive = { focus = az_large_navy } + x = -1 + y = 1 + relative_position_id = az_naval_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + all_owned_state = { + OR = { + is_coastal = no + dockyard < 1 + } + } + } + } + + completion_reward = { + + add_mastery_bonus = { + name = flexible_navy + bonus = 1 + days = 480 + grand_doctrine = new_convoy_raiding + } + add_mastery_bonus = { + name = flexible_navy + bonus = 1 + days = 480 + grand_doctrine = new_base_strike + } + + add_doctrine_cost_reduction = { + name = flexible_navy + cost_reduction = 0.5 + uses = 4 + category = naval_doctrine + } + } + } + + focus = { + id = az_large_navy + icon = GFX_goal_generic_navy_doctrines_tactics + prerequisite = { focus = az_naval_effort } + mutually_exclusive = { focus = az_flexible_navy } + x = 1 + y = 1 + relative_position_id = az_naval_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + all_owned_state = { + OR = { + is_coastal = no + dockyard < 1 + } + } + } + } + + + completion_reward = { + + add_mastery_bonus = { + name = large_navy + bonus = 1 + days = 480 + grand_doctrine = new_fleet_in_being + } + add_mastery_bonus = { + name = large_navy + bonus = 1 + days = 480 + grand_doctrine = new_base_strike + } + add_doctrine_cost_reduction = { + name = large_navy + cost_reduction = 0.5 + uses = 4 + category = naval_doctrine + } + } + } + + focus = { + id = az_submarine_effort + icon = GFX_goal_generic_navy_submarine + prerequisite = { focus = az_flexible_navy focus = large_navy } + x = 0 + y = 1 + relative_position_id = az_flexible_navy + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + all_owned_state = { + OR = { + is_coastal = no + dockyard < 1 + } + } + } + } + + completion_reward = { + add_tech_bonus = { + name = ss_bonus + bonus = 1.0 + ahead_reduction = 2 + uses = 2 + category = ss_tech + } + } + } + + focus = { + id = az_cruiser_effort + icon = GFX_goal_generic_navy_cruiser + prerequisite = { focus = az_large_navy focus = az_flexible_navy } + x = 0 + y = 1 + relative_position_id = az_large_navy + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + all_owned_state = { + OR = { + is_coastal = no + dockyard < 1 + } + } + } + } + + completion_reward = { + add_tech_bonus = { + name = cr_bonus + bonus = 2.0 + ahead_reduction = 2 + uses = 2 + category = ca_tech + } + } + } + + focus = { + id = az_destroyer_effort + icon = GFX_goal_generic_wolf_pack + prerequisite = { focus = az_submarine_effort } + x = 0 + y = 1 + relative_position_id = az_submarine_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + all_owned_state = { + OR = { + is_coastal = no + dockyard < 1 + } + } + } + } + + completion_reward = { + add_tech_bonus = { + name = dd_bonus + bonus = 2.0 + ahead_reduction = 2 + uses = 2 + category = dd_tech + } + } + } + + focus = { + id = az_capital_ships_effort + icon = GFX_goal_generic_navy_battleship + prerequisite = { focus = az_cruiser_effort } + x = 0 + y = 1 + relative_position_id = az_cruiser_effort + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + all_owned_state = { + OR = { + is_coastal = no + dockyard < 1 + } + } + } + } + + completion_reward = { + navy_experience = 200 + TY_haijunliluntupo = yes + add_tech_bonus = { + name = capital_ships_bonus + bonus = 2.0 + ahead_reduction = 2 + uses = 2 + category = bc_tech + category = bb_tech + category = cv_tech + } + } + } + + focus = { + id = az_industrial_effort + icon = GFX_goal_generic_production + x = 13 + y = 0 + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_tech_bonus = { + name = industrial_bonus + bonus = 3.0 + uses = 2 + category = industry + } + } + + ai_will_do = { + factor = 3 + modifier = { + shijianniangguojia_trigger = yes + add = 100 + } + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + factor = 6 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + is_subject_of = RAJ + } + modifier = { + factor = 0 + date < 1939.1.1 + OR = { + # we dont want chinese minors to go crazy on slots early since they get eaten + tag = GXC + tag = YUN + tag = SHX + tag = XSM + tag = BEL + tag = LUX + tag = HOL + tag = DEN + + # we also dont want tiny nations to go crazy with slots right away + num_of_controlled_states < 2 + } + NOT = { + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + } + } + } + } + + focus = { + id = az_construction_effort + icon = GFX_goal_generic_construct_civ_factory + prerequisite = { focus = az_industrial_effort } + x = -1 + y = 1 + relative_position_id = az_industrial_effort + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + + + ai_will_do = { + factor = 2 + modifier = { + shijianniangguojia_trigger = yes + add = 100 + } + modifier = { + factor = 6 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + is_subject_of = RAJ + } + } + + bypass = { + + } + + completion_reward = { + add_offsite_building = { type = industrial_complex level = 10 } + } + } + + focus = { + id = az_production_effort + icon = GFX_goal_generic_construct_mil_factory + prerequisite = { focus = az_industrial_effort } + x = 1 + y = 1 + relative_position_id = az_industrial_effort + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 2 + modifier = { + shijianniangguojia_trigger = yes + add = 100 + } + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + factor = 5 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + is_subject_of = RAJ + } + } + + bypass = { + + } + + completion_reward = { + add_offsite_building = { type = arms_factory level = 10 } + } + } + + focus = { + id = az_construction_effort_2 + icon = GFX_goal_generic_construct_civ_factory + prerequisite = { focus = az_construction_effort } + x = 0 + y = 1 + relative_position_id = az_construction_effort + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 2 + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + factor = 5 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + is_subject_of = RAJ + } + } + + + completion_reward = { + add_offsite_building = { type = industrial_complex level = 10 } + } + } + + focus = { + id = az_production_effort_2 + icon = GFX_goal_generic_construct_mil_factory + prerequisite = { focus = az_production_effort } + x = 0 + y = 1 + relative_position_id = az_production_effort + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 2 + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + factor = 5 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + is_subject_of = RAJ + } + } + + completion_reward = { + add_offsite_building = { type = arms_factory level = 10 } + } + } + + focus = { + id = az_infrastructure_effort + icon = GFX_goal_generic_construct_infrastructure + prerequisite = { focus = az_construction_effort_2 } + x = 0 + y = 1 + relative_position_id = az_construction_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + ai_will_do = { + base = 2 + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + shijianniangguojia_trigger = yes + add = 100 + } + } + + completion_reward = { + every_owned_state = { + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + } + } + + focus = { + id = az_production_effort_3 + icon = GFX_goal_generic_construct_mil_factory + prerequisite = { focus = az_production_effort_2 } + x = 0 + y = 1 + relative_position_id = az_production_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 2 + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + factor = 5 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + is_subject_of = RAJ + } + } + + + completion_reward = { + add_offsite_building = { type = arms_factory level = 10 } + } + } + + focus = { + id = az_infrastructure_effort_2 + icon = GFX_goal_generic_construct_infrastructure + prerequisite = { focus = az_infrastructure_effort } + x = 0 + y = 1 + relative_position_id = az_infrastructure_effort + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + ai_will_do = { + base = 2 + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + shijianniangguojia_trigger = yes + add = 100 + } + } + + completion_reward = { + every_owned_state = { + add_building_construction = { + type = infrastructure + level = 1 + instant_build = yes + } + } + } + } + + focus = { + id = az_construction_effort_3 + icon = GFX_goal_generic_construct_civ_factory + prerequisite = { focus = az_infrastructure_effort } + x = 2 + y = 1 + relative_position_id = az_infrastructure_effort + cost = 10 + + search_filters = { FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 2 + modifier = { + factor = 6 + original_tag = SIA + } + modifier = { + add = 5 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + } + } + + completion_reward = { + add_offsite_building = { type = industrial_complex level = 20 } + } + } + + focus = { + id = az_nuclear_effort + icon = GFX_focus_wonderweapons + prerequisite = { focus = az_infrastructure_effort_2 } + x = -2 + y = 1 + relative_position_id = az_infrastructure_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + + add_breakthrough_progress = { + specialization = specialization_nuclear + value = 2 + } + + add_tech_bonus = { + name = nuclear_bonus + ahead_reduction = 2 # was 2 + category = nuclear + } + + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.25 + always = yes + } + } + } + + focus = { + id = az_extra_tech_slot + icon = GFX_focus_research + prerequisite = { focus = az_infrastructure_effort_2 } + x = 0 + y = 1 + relative_position_id = az_infrastructure_effort_2 + cost = 10 + ai_will_do = { + base = 2 + modifier = { + factor = 6 + original_tag = SIA + } + } + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_research_slot = 1 + } + } + + focus = { + id = az_extra_tech_slot_2 + icon = GFX_focus_research + prerequisite = { focus = az_extra_tech_slot } + available = { + num_of_factories > 299 + } + cancel_if_invalid = no + continue_if_invalid = yes + x = 0 + y = 1 + relative_position_id = az_extra_tech_slot + cost = 10 + ai_will_do = { + base = 2 + modifier = { + factor = 6 + original_tag = SIA + } + } + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + add_research_slot = 1 + } + } + + focus = { + id = az_secret_weapons + icon = GFX_goal_generic_secret_weapon + prerequisite = { focus = az_infrastructure_effort_2 } + x = 2 + y = 1 + relative_position_id = az_infrastructure_effort_2 + cost = 10 + + search_filters = { FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + + add_ideas = generic_secret_weapons_ns + + add_tech_bonus = { + name = secret_bonus + bonus = 0.5 + uses = 4 + category = electronics + } + + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.25 + always = yes + } + } + } + + focus = { + id = az_political_effort + icon = GFX_goal_generic_demand_territory + x = 19 + y = 0 + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_political_power = 200 + } + } + + focus = { + id = az_collectivist_ethos + icon = GFX_goal_generic_national_unity #icon = GFX_goal_tripartite_pact + prerequisite = { focus = az_political_effort } + mutually_exclusive = { focus = az_liberty_ethos} + available = { + OR = { + has_government = fascism + has_government = communism + has_government = neutrality + } + } + x = -1 + y = 1 + relative_position_id = az_political_effort + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 5 + modifier = { + factor = 0 + OR = { + AND = { + is_historical_focus_on = yes + has_government = neutrality + } + has_idea = neutrality_idea + } + } + modifier = { + factor = 20 + has_idea = SOV_russian_political_influence + } + } + + completion_reward = { + add_political_power = 100 + add_war_support = 0.2 + } + } + + focus = { + id = az_nationalism_focus + icon = GFX_goal_support_fascism #icon = GFX_goal_tripartite_pact + prerequisite = { focus = az_collectivist_ethos } + mutually_exclusive = { focus = az_internationalism_focus } + available = { + OR = { + has_government = fascism + has_government = neutrality + } + } + x = -2 + y = 1 + relative_position_id = az_collectivist_ethos + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 5 + modifier = { + factor = 2 + any_neighbor_country = { + is_major = yes + has_government = fascism + } + } + modifier = { + factor = 0 + AND = { + is_historical_focus_on = yes + NOT = { has_government = fascism } + } + } + modifier = { + factor = 10 + has_idea = SOV_russian_political_influence + } + } + + completion_reward = { + add_war_support = 0.2 + add_popularity = { ideology = fascism popularity = 0.2 } + } + } + + focus = { + id = az_internationalism_focus + icon = GFX_goal_support_communism #icon = GFX_goal_tripartite_pact + prerequisite = { focus = az_collectivist_ethos } + mutually_exclusive = { focus = az_nationalism_focus } + available = { + if = { + limit = { original_tag = CHI } + has_government = communism + else = { + OR = { + has_government = communism + has_government = neutrality + } + } + } + } + x = 0 + y = 1 + relative_position_id = az_collectivist_ethos + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 5 + modifier = { + factor = 2 + any_neighbor_country = { + is_major = yes + has_government = communism + } + } + modifier = { + factor = 0 + AND = { + is_historical_focus_on = yes + NOT = { has_government = communism } + } + } + } + + completion_reward = { + add_stability = 0.1 + add_war_support = 0.1 + add_popularity = { ideology = communism popularity = 0.2 } + } + } + + focus = { + id = az_liberty_ethos + icon = GFX_goal_support_democracy + prerequisite = { focus = az_political_effort } + mutually_exclusive = { focus = az_collectivist_ethos } + available = { + OR = { + has_government = democratic + has_government = neutrality + } + } + x = 1 + y = 1 + relative_position_id = az_political_effort + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 95 + modifier = { + factor = 0.05 + is_historical_focus_on = yes + original_tag = SIA + } + modifier = { + factor = 0.05 + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + is_subject_of = RAJ + } + modifier = { + factor = 0.1 + any_neighbor_country = { + is_major = yes + OR = { + has_government = communism + has_government = fascism + } + } + NOT = { + any_neighbor_country = { + is_major = yes + has_government = democratic + } + } + } + } + + completion_reward = { + add_political_power = 150 + } + } + + focus = { + id = az_militarism + icon = GFX_goal_generic_political_pressure + prerequisite = { focus = az_nationalism_focus } + x = 0 + y = 1 + relative_position_id = az_nationalism_focus + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + if = { + limit = { has_idea = neutrality_idea } + remove_ideas = neutrality_idea + } + add_ideas = militarism_focus + army_experience = 100 + add_political_power = 100 + set_rule = { can_send_volunteers = yes } + } + } + + focus = { + id = az_political_correctness + icon = GFX_goal_generic_dangerous_deal + prerequisite = { focus = az_internationalism_focus } + x = 0 + y = 1 + relative_position_id = az_internationalism_focus + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + if = { + limit = { has_idea = neutrality_idea } + remove_ideas = neutrality_idea + } + add_political_power = 200 + add_ideas = idea_political_correctness + } + } + + focus = { + id = az_neutrality_focus + icon = GFX_goal_generic_neutrality_focus + prerequisite = { focus = az_liberty_ethos } + mutually_exclusive = { focus = az_interventionism_focus } + x = 0 + y = 1 + relative_position_id = az_liberty_ethos + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + available = { + shijianniangguojia_trigger = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + tag = AUS + } + modifier = { + shijianniangguojia_trigger = yes + factor = 0 + } + modifier = { + shijianniangguojia_trigger = no + factor = 50 + } + modifier = { + factor = 0 + original_tag = SIA + } + modifier = { + factor = 0 + tag = SAU + is_in_faction_with = SOV + SOV = { has_government = communism } + } + } + + completion_reward = { + if = { + limit = { NOT = { has_idea = neutrality_idea } } + add_ideas = neutrality_idea + } + } + } + + focus = { + id = az_interventionism_focus + icon = GFX_goal_generic_political_pressure + prerequisite = { focus = az_liberty_ethos } + mutually_exclusive = { focus = az_neutrality_focus } + x = 2 + y = 1 + relative_position_id = az_liberty_ethos + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + has_idea = neutrality_idea + } + } + + completion_reward = { + if = { + limit = { has_idea = neutrality_idea } + remove_ideas = neutrality_idea + } + set_rule = { can_send_volunteers = yes } + add_political_power = 200 + } + } + + focus = { + id = az_military_youth + icon = GFX_goal_generic_more_territorial_claims + prerequisite = { focus = az_militarism } + x = 0 + y = 1 + relative_position_id = az_militarism + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = military_youth_focus + if = { + limit = { has_government = fascism } + add_popularity = { + ideology = fascism + popularity = 0.2 + } + } + if = { + limit = { has_government = communism } + add_popularity = { + ideology = communism + popularity = 0.2 + } + } + } + } + + focus = { + id = az_deterrence + icon = GFX_goal_generic_defence + prerequisite = { focus = az_neutrality_focus } + x = 0 + y = 1 + relative_position_id = az_neutrality_focus + cost = 10 + + search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } + + available_if_capitulated = yes + + completion_reward = { + add_stability = 0.5 + } + } + + focus = { + id = az_volunteer_corps + icon = GFX_goal_generic_allies_build_infantry + prerequisite = { focus = az_interventionism_focus } + x = 0 + y = 1 + relative_position_id = az_interventionism_focus + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = volunteer_corps_focus + } + } + + focus = { + id = az_paramilitarism + icon = GFX_goal_generic_military_sphere + prerequisite = { focus = az_military_youth } + x = 0 + y = 1 + relative_position_id = az_military_youth + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = paramilitarism_focus + } + } + + focus = { + id = az_indoctrination_focus + icon = GFX_goal_generic_propaganda + prerequisite = { focus = az_political_correctness } + x = 0 + y = 1 + relative_position_id = az_political_correctness + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = indoctrination_focus + add_political_power = 200 + } + } + + focus = { + id = az_foreign_expeditions + icon = GFX_goal_generic_more_territorial_claims + prerequisite = { focus = az_volunteer_corps } + x = 0 + y = 1 + relative_position_id = az_volunteer_corps + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = foreign_expeditions_focus + } + } + + focus = { + id = az_why_we_fight + icon = GFX_goal_generic_propaganda + prerequisite = { focus = az_foreign_expeditions focus = az_deterrence } + available = { + OR = { + threat > 0.75 + has_defensive_war = yes + } + } + + continue_if_invalid = yes + + x = -2 + y = 1 + relative_position_id = az_foreign_expeditions + cost = 10 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = why_we_fight_focus + add_ideas = deterrence + if = { + limit = { NOT = { has_idea = neutrality_idea } } + set_war_support = 2 + } + } + } + + focus = { + id = az_political_commissars + icon = GFX_goal_generic_forceful_treaty + prerequisite = { focus = az_indoctrination_focus } + available = { + } + x = 0 + y = 1 + relative_position_id = az_indoctrination_focus + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = political_commissars_focus + if = { + limit = { has_government = fascism } + add_popularity = { + ideology = fascism + popularity = 0.2 + } + } + if = { + limit = { has_government = communism } + add_popularity = { + ideology = communism + popularity = 0.2 + } + } + add_political_power = 200 + } + } + + focus = { + id = az_ideological_fanaticism + icon = GFX_goal_generic_demand_territory + prerequisite = { focus = az_paramilitarism focus = az_political_commissars } + x = 1 + y = 1 + relative_position_id = az_paramilitarism + cost = 5 + + search_filters = { FOCUS_FILTER_POLITICAL } + + available_if_capitulated = yes + + completion_reward = { + add_ideas = ideological_fanaticism_focus + hidden_effect = { + set_rule = { can_use_kamikaze_pilots = yes } + } + custom_effect_tooltip = kamikaze_focus_tooltip + } + } + + focus = { + id = az_technology_sharing + icon = GFX_goal_generic_scientific_exchange + prerequisite = { focus = az_ideological_fanaticism focus = az_why_we_fight } + available = { + #has_war = yes + is_in_faction = yes + OR = { + num_of_factories > 50 + any_other_country = { + is_in_faction_with = ROOT + num_of_factories > 50 + } + } + } + x = 2 + y = 1 + relative_position_id = az_ideological_fanaticism + cost = 10 + + search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH } + + available_if_capitulated = yes + + completion_reward = { + + if = { + limit = { + original_research_slots < 3 + } + add_research_slot = 1 + } + + if = { + limit = { + original_research_slots > 2 + } + add_breakthrough_progress = { + specialization = specialization_air + value = 0.5 + } + add_breakthrough_progress = { + specialization = specialization_nuclear + value = 0.5 + } + add_tech_bonus = { + name = electronics_bonus + bonus = 1.0 + uses = 2 + category = electronics + } + add_tech_bonus = { + name = industrial_bonus + bonus = 1.0 + uses = 2 + category = industry + } + add_tech_bonus = { + name = infantry_artillery_bonus #@# + bonus = 1.0 + uses = 2 + category = infantry_weapons + category = artillery + } + } + } + } + +} diff --git a/src/common/scripted_effects/az_chiji_scripted_effects.txt b/src/common/scripted_effects/az_chiji_scripted_effects.txt index 901175d..06a016d 100755 --- a/src/common/scripted_effects/az_chiji_scripted_effects.txt +++ b/src/common/scripted_effects/az_chiji_scripted_effects.txt @@ -207,7 +207,7 @@ az_liekai_scripted_effects = { release = GDL } SPR = { - release = EQG + #release = EQG release = WES release = MOR } @@ -649,7 +649,7 @@ az_liekai_scripted_effects = { BYG = { release = HAW release = PUE - release = PAN + #release = PAN release = GUM } USA = { @@ -711,13 +711,14 @@ az_liekai_scripted_effects = { } CAN = { release = QUE + transfer_state = 463 } QUE = { transfer_state = 332 transfer_state = 331 transfer_state = 464 transfer_state = 465 - transfer_state = 276 + #transfer_state = 276 } #塞壬部分 every_country = { @@ -827,6 +828,7 @@ az_liekai_scripted_effects = { transfer_state = 691 } SR2 = { + transfer_state = 297 transfer_state = 709 transfer_state = 707 transfer_state = 710 @@ -903,7 +905,6 @@ az_liekai_scripted_effects = { not = { tag = SIR } } add_ideas = az_chiji_ty_idea - load_focus_tree = generic_focus country_event = { id = azevent.102 days = 60 @@ -3001,7 +3002,7 @@ az_liekai_scripted_effects = { } } BY2 = { - transfer_state = 463 + transfer_state = 685 inherit_technology = BYG add_country_leader_role = { character = BYG_kelifulan @@ -3314,6 +3315,29 @@ az_shuaxinzhong_scripted_effects = { az_jianniangguo_tech = 1 popup = no } + #资源转化动态变量 + add_dynamic_modifier = { + modifier = az_ziyuanzhuanhua_amount + } + #舰娘休假 + add_dynamic_modifier = { + modifier = az_jianniangxiujia_modifier + } + set_variable = { + az_kaicaimofangkuang_modifier_var = 10 + } + add_ideas = TY_haijunkeyan + division_template = { + name = "填线步兵师" + regiments = { + infantry = { x = 0 y = 0 } + infantry = { x = 0 y = 1 } + infantry = { x = 0 y = 2 } + infantry = { x = 1 y = 0 } + infantry = { x = 1 y = 1 } + infantry = { x = 1 y = 2 } + } + } division_template = { name = "通用步兵师" regiments = { @@ -3341,6 +3365,16 @@ az_shuaxinzhong_scripted_effects = { LUX = { remove_state_core = 28 } + every_country = { + limit = { + not = { tag = SIR } + not = { tag = SR1 } + not = { tag = SR2 } + not = { tag = SR3 } + not = { tag = SR4 } + } + load_focus_tree = az_generic_focus + } #舰娘国部分 every_country = { limit = { @@ -3444,66 +3478,112 @@ az_shuaxinzhong_scripted_effects = { } } } - if = { - limit = { - TI1 = { - is_ai = yes - } - TI2 = { - is_ai = yes - } - TI3 = { - is_ai = yes - } - } - TI2 = { - every_controlled_state = { - create_unit = { - division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 1 start_equipment_factor = 1" - owner = PREV - count = 15 - } - } + SA1 = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 0.7 start_equipment_factor = 1" + owner = PREV + count = 5 + } } } - if = { - limit = { - BF1 = { - is_ai = yes - } - BF2 = { - is_ai = yes - } - BF3 = { - is_ai = yes - } + SA2 = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步兵师\" division_template = \"通用步兵师\" start_experience_factor = 0.7 start_equipment_factor = 1" + owner = PREV + count = 5 + } } - BF1 = { - every_controlled_state = { - create_unit = { - division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 1 start_equipment_factor = 1" - owner = PREV - count = 15 - } - } + } + TI3 = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 0.5 start_equipment_factor = 1" + owner = PREV + count = 10 + } } - BF2 = { - every_controlled_state = { - create_unit = { - division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 1 start_equipment_factor = 1" - owner = PREV - count = 10 - } - } + } + TI2 = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 0.7 start_equipment_factor = 1" + owner = PREV + count = 15 + } } - BF3 = { - every_controlled_state = { - create_unit = { - division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 1 start_equipment_factor = 1" - owner = PREV - count = 10 - } - } + } + BF1 = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 0.7 start_equipment_factor = 1" + owner = PREV + count = 20 + } + } + } + BF2 = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 0.7 start_equipment_factor = 1" + owner = PREV + count = 15 + } + } + } + BF3 = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步炮师\" division_template = \"通用步炮师\" start_experience_factor = 0.7 start_equipment_factor = 1" + owner = PREV + count = 15 + } + } + } + BY1 = { + every_controlled_state = { + create_unit = { + division = "name = \"填线步兵师\" division_template = \"填线步兵师\" start_experience_factor = 0.3 start_equipment_factor = 1" + owner = PREV + count = 30 + } + } + } + BY4 = { + every_controlled_state = { + create_unit = { + division = "name = \"填线步兵师\" division_template = \"填线步兵师\" start_experience_factor = 0.3 start_equipment_factor = 1" + owner = PREV + count = 30 + } + } + } + BY3 = { + every_controlled_state = { + create_unit = { + division = "name = \"填线步兵师\" division_template = \"填线步兵师\" start_experience_factor = 0.3 start_equipment_factor = 1" + owner = PREV + count = 30 + } + } + } + BY5 = { + every_controlled_state = { + create_unit = { + division = "name = \"填线步兵师\" division_template = \"填线步兵师\" start_experience_factor = 0.3 start_equipment_factor = 1" + owner = PREV + count = 30 + } + } + } + JAP = { + every_controlled_state = { + create_unit = { + division = "name = \"通用步兵师\" division_template = \"通用步兵师\" start_experience_factor = 0.3 start_equipment_factor = 1" + owner = PREV + count = 5 + } } } RNG = { diff --git a/src/events/az_chiji.txt b/src/events/az_chiji.txt index c31d255..b89c902 100755 --- a/src/events/az_chiji.txt +++ b/src/events/az_chiji.txt @@ -1,4 +1,19 @@ add_namespace = az_chiji +country_event = { + id = az_chiji.0 + title = "吃鸡通用国策测试" + desc = "测试吃鸡通用国策" + picture = GFX_aze_kaixuan + is_triggered_only = yes + option = { + name = "111" + load_focus_tree = az_generic_focus + ai_chance = { + factor = 100 + } + } +} + country_event = { id = az_chiji.1 title = "吃鸡测试" diff --git a/src/localisation/simp_chinese/az_chiji_l_simp_chinese.yml b/src/localisation/simp_chinese/az_chiji_l_simp_chinese.yml index fb92efd..543f16d 100755 --- a/src/localisation/simp_chinese/az_chiji_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/az_chiji_l_simp_chinese.yml @@ -54,6 +54,127 @@ az_zsxzjy_hu45: "确保殖民地秩序" az_zsxzjy_by12345: "统一北美大陆" az_zsxzjy_by12345_desc: "唯有战争能给出答案。" +#通用国策 + shijianniangguojia_trigger_tooltip_NOT: "不是舰娘国或玩家" + az_army_effort: "重视陆军" + az_army_effort_desc: "尽管空战与海战技术不断发展,地面战斗仍是未来战争的关键。如若我们做好准备,就可避免再次陷入堑壕战的地狱。" + az_equipment_effort: "重视装备" + az_equipment_effort_desc: "陆军装备日新月异,我们将致力于为战士们研发出最好的装备。" + az_motorization_effort: "重视摩托化" + az_motorization_effort_desc: "机动与防护对于步兵接战的安全性来说至关重要,专注于发展摩托化技术能使我们能够迅速采取行动。" + az_doctrine_effort: "重视军事学说" + az_doctrine_effort_desc: "世界大战时的军事学说已经落伍,我们必须动用智库来勾勒出未来军事理论的轮廓。" + az_equipment_effort_2: "重视装备 II" + az_equipment_effort_2_desc: "我们必须继续努力,来让我军步兵和支援部队拥有站在时代前沿的装备。" + az_mechanization_effort: "重视机械化" + az_mechanization_effort_desc: "重新思考摩托化步兵的可能性,当前我们可以生产更多类型的步兵载具。" + az_doctrine_effort_2: "重视军事学说 II" + az_doctrine_effort_2_desc: "战场在间战的时期发生了变化,这在最近的战争中更为明显。我们必须不断地重新审视自己的理论来适应这样的变化。" + az_equipment_effort_3: "重视装备 III" + az_equipment_effort_3_desc: "我们应该自主研制达到世界领先水平的步兵武器,而不是购买或仿制外国货。" + az_armor_effort: "重视装甲部队" + az_armor_effort_desc: "应用我们从步兵机械化过程中获得的经验以改进我们的装甲车辆。" + az_special_forces: "特种部队" + az_special_forces_desc: "我们需要精锐的部队,因此应当优先发展山地部队和伞兵部队。" + az_aviation_effort: "重视空军" + az_aviation_effort_tt: "没有足够的建筑位可以用于建造§Y空军基地§!" + az_aviation_effort_desc: "空军技术是所有军事技术中发展最快的。任何一个现代化国家都应该掌握先进的航空技术。" + az_fighter_focus: "专注战斗机" + az_fighter_focus_desc: "在世界大战中,空战越来越频繁,所以如果我们能在战斗机的研发中取得优势,那么在未来的空军战场中也就能取得更大的优势。" + az_bomber_focus: "专注轰炸机" + az_bomber_focus_desc: "当后人谈及此时战争的恐怖之处时,一定会提到那些从天而降的炸弹。而我们则应尽最大的努力使这些故事是由我们的敌人来讲述的。" + az_aviation_effort_2: "重视空军 II" + az_aviation_effort_2_desc: "航空学说的进一步发展可以帮助我们的空军与其他部队配合。" + az_CAS_effort: "重视近距支援机" + az_CAS_effort_desc: "现代化战争不仅需要地面的支援,还需要空中支援。" + az_rocket_effort: "重视火箭" + az_rocket_effort_desc: "火箭与喷气式引擎技术所提供的高移动速度能够被运用在载人以及无人运输工具上。应用这些技术将打敌人一个措手不及。" + az_NAV_effort: "重视海军轰炸机" + az_NAV_effort_desc: "新时代海战的一部分发生在水下,而另一部分则发生在空中。" + az_naval_effort: "重视海军" + az_naval_effort_tt: "没有足够的建筑位可以用于建造§Y海军船坞§!" + az_naval_effort_desc: "我们首要目标是扩建我们的海军。所以应该将所有资源投入到新船坞建设和水面舰艇的研究中。" + az_flexible_navy: "机动舰队" + az_flexible_navy_desc: "重新设计海战以诠释潜艇技术的进步,这将使我们更有效地打击敌人的护航舰队。" + az_large_navy: "大舰队" + az_large_navy_desc: "我们的海军学说理论将被调整,我们将更为重视大战舰,并注重兼顾护航舰队的安全,这会助益我们研发相关任务所需的舰船。" + az_submarine_effort: "重视潜艇" + az_submarine_effort_desc: "潜艇是自鱼雷艇发明以来海军装备最惊人的发展。我们不仅要注重反潜,还要利用它袭扰敌舰。" + az_cruiser_effort: "重视巡洋舰" + az_cruiser_effort_desc: "在研发出更先进的战列舰之前,暂以排水量较小的巡洋舰替代之。" + az_destroyer_effort: "重视驱逐舰" + az_destroyer_effort_desc: "研究潜艇的设计和战术时,我们也学会了如何应对这些战术。而驱逐舰将成为其中关键。" + az_capital_ships_effort: "重视主力舰" + az_capital_ships_effort_desc: "拥有最多战列舰的国家才能统领海洋。战列舰与航空母舰分别代表了新旧两种海军主力。" + az_industrial_effort: "重视工业" + az_industrial_effort_desc: "将我们政策的效力集中用在民用工业建设上以获得跳跃式发展。" + az_industrial_effort_2: "重视工业 II" + az_industrial_effort_2_desc: "凭借钢铁般的意志和不懈的工作热情,我们必能带领人民再一次完成巨大的工业进步。" + az_construction_effort: "重视建设" + az_construction_effort_tt: "没有足够的建筑位可以用于建造§Y民用工厂§!" + az_construction_effort_desc: "即使战争的阴云逐渐笼罩着整个世界,我们也不能忽视民用工业的生产能力。" + az_production_effort: "重视军备" + az_production_effort_tt: "没有足够的建筑位可以用于建造§Y军用工厂§!" + az_production_effort_desc: "如果你能生产拖拉机,你就能生产坦克!我们决不允许军事生产能力拖后腿。" + az_construction_effort_2: "重视建设 II" + az_construction_effort_2_desc: "当我们的工厂继续扩建之后,我们就能加快贸易物资的生产,并加大工业建设力度。" + az_production_effort_2: "重视军备 II" + az_production_effort_2_desc: "用民用工厂生产军械是低效的。我们应该专注于军事工业的建设。" + az_production_effort_3: "重视军备 III" + az_production_effort_3_desc: "继续努力扩建军用工厂可以帮我们满足新装备的需求。" + az_infrastructure_effort: "重视基建" + az_infrastructure_effort_desc: "没有合格基础设施建设的国家无法推进先进的项目或工程。" + az_infrastructure_effort_2: "重视基建 II" + az_infrastructure_effort_2_desc: "继续基础设施的扩建可以满足高科技秘密工程的运输和通讯需求。" + az_construction_effort_3: "重视建设 III" + az_construction_effort_3_desc: "我们的基础设施网络的扩建显著提升了我们的建设能力。" + az_nuclear_effort: "重视核研究" + az_nuclear_effort_desc: "我们即将获得一项足以改变世界的技术,我们不能让其他国家点燃可能在某天毁灭地球的火种。" + az_extra_tech_slot: "增加科研槽" + az_extra_tech_slot_desc: "我国工业不断扩张,各行各业不断进步,这使得我们能够同时进行更多科研项目。" + az_extra_tech_slot_2: "增加科研槽 II" + az_extra_tech_slot_2_desc: "我国的快速工业化让我们在科研上有了新的突破。" + az_technology_sharing: "科技共享" + az_technology_sharing_desc: "通过与盟友共享研发的技术,我们的整个阵营可以在战时更有效地进行科研。" + az_secret_weapons: "秘密武器" + az_secret_weapons_desc: "虽然集中所有资源生产坦克飞机充满了诱惑力,但赢得战争的秘密却在那些新的科技领域之中:电子、火箭和核武器。" + az_political_effort: "重视政治" + az_political_effort_desc: "要想改变世界,就得先改变我们的国家。应当把加强我们的政治地位视作首要任务。" + az_collectivist_ethos: "集体主义精神" + az_collectivist_ethos_desc: "我们的敌人或许能分裂并征服那些较小的国家,但我们的人民已经团结一致,人人为我,我为人人。" + az_liberty_ethos: "自由主义精神" + az_liberty_ethos_desc: "过分的追求一致会扼杀人们的精神,我们将维护个体的独立自由。" + az_militarism: "军国主义" + az_militarism_desc: "那些认为兵者乃不祥之器的人在面对战争时必然犹豫不决。我们的文化中将根植入军国主义而使全民皆兵。" + az_political_correctness: "政治正确" + az_political_correctness_desc: "那些持有轻微异议或反对观点的人似乎总是认为有人搞了一个大阴谋迫害他们。这似乎是一个好主意。" + az_neutrality_focus: "保持中立" + az_neutrality_focus_desc: "当别人认为在全球性冲突中选择站队需要勇气与智慧时,我们却明白拒绝站队需要更多的勇气与智慧。" + az_interventionism_focus: "干涉主义" + az_interventionism_focus_desc: "我们重视所有人的自由,不仅仅是我们自己公民的。如果制止暴政意味着战争,那我们就选择战争吧。" + az_military_youth: "青年入伍" + az_military_youth_desc: "通过建立让年轻人接受纪律教育与政治教育的组织,我们能在其心中早早地种下忠诚与自我牺牲的种子。" + az_deterrence: "保持威慑" + az_deterrence_desc: "在被孤立的情况下我们很难从战争中获益。幸运的是,我们明白最好的防御就是让所有人不会敢于侵犯我们的威慑。" + az_volunteer_corps: "志愿部队" + az_volunteer_corps_desc: "虽说逼迫我们的人民为了自由的理想而去牺牲是十分讽刺的,但为那些希望帮助外国人取得自由的人提供一个机会就是另外一回事了。" + az_paramilitarism: "准军事组织" + az_paramilitarism_desc: "军事纪律在军事以外的地方也能有许多应用。随着为了补充我国武装部队而发展准军事化部队,更多的人民能够得到军事训练。" + az_indoctrination_focus: "意识形态灌输" + az_indoctrination_focus_desc: "既然我们的意识形态是基于真理的,那么我们也可以将它当做真理来进行教育。媒体和教育系统必须要反映这一点。" + az_foreign_expeditions: "赴外远征军" + az_foreign_expeditions_desc: "既然我们的敌人已经准备好为了他们的信念而干涉遥远的冲突,我们也应该准备好为了我们的信念而做出同样的牺牲。" + az_why_we_fight: "我们为何而战" + az_why_we_fight_effect: "如果我们没有§Y外交中立§!民族精神,则将可以创建阵营。\n" + az_why_we_fight_desc: "这个世界开始变得越来越危险了。我们的人民必须意识到那些利欲熏心的独裁者们所犯下的暴行。是时候让我们的人民团结于我们的事业之下,让他们准备好为我们的自由而战了。" + az_political_commissars: "政治委员" + az_political_commissars_desc: "为了保证军队能够深刻贯彻落实我们的政策,我们将会在部队体系中加入政治军官的任命。" + az_internationalism_focus: "国际主义" + az_internationalism_focus_desc: "意识形态没有国界。其他国家也许可以称自己为主权国家,但我们的信念是远远高于这种主张的。" + az_nationalism_focus: "民族主义" + az_nationalism_focus_desc: "我们的国家是独一无二的,我们在政治上的成就也不可能发生在任何其他地方。我们必须要不惜代价为之奋斗。" + az_ideological_fanaticism: "意识形态狂热主义" + az_ideological_fanaticism_desc: "为我们在政治上的价值观和目标而牺牲比为任何一种古老的信仰而牺牲都要来的值得。所有信仰我们的理念的人都应该准备好随时面对死亡,而对那些在信念上犹豫不定的人来说——你们最好现在就准备面对死亡。" #吃鸡TAG名字 YU1: "自由鸢尾" YU1_ADJ: "自由鸢尾" diff --git a/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml b/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml index 43ddcab..0f21419 100755 --- a/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml @@ -711,7 +711,7 @@ YUW_zjyuwmz:0"拯救鸢尾民主" YUW_zjyuwmz_desc:0"§R如果霞飞不是领导人,那么这个民族精神将消失。§!" YUW_slsywm:0"胜利属于我们" - YUW_slsywm_desc:0"我们取得了最终的胜利,这是属于维希教廷的时代!" + YUW_slsywm_desc:0"我们取得了最终的胜利,这是属于[FROM.getname]的时代!" YUW_fxby:0"分析败因" YUW_zzbj:0"战争布局" YUW_yzbl:0"远征北联"