From c41fa5619fd809a9b8819049fce8078dab7a4f15 Mon Sep 17 00:00:00 2001 From: "actions[bot]" Date: Wed, 31 Jul 2024 22:56:52 +0800 Subject: [PATCH] 2024-07-31 22:56:52 --- src/common/ideas/doh.txt | 2 + .../organizations/DOH_organization.txt | 574 +-- src/common/national_focus/donghuang_new.txt | 69 +- .../az_AL_scripted_effects.txt | 3498 ----------------- src/events/DOH_shijian.txt | 2 + 5 files changed, 404 insertions(+), 3741 deletions(-) delete mode 100755 src/common/scripted_effects/az_AL_scripted_effects.txt diff --git a/src/common/ideas/doh.txt b/src/common/ideas/doh.txt index 9e7d6d0..7d62c1f 100755 --- a/src/common/ideas/doh.txt +++ b/src/common/ideas/doh.txt @@ -685,6 +685,8 @@ ideas = { research_speed_factor = -0.25 industrial_capacity_factory = -0.15 production_speed_buildings_factor = -0.1 + army_attack_factor = -0.1 + army_defence_factor = -0.05 } } DOH_dfgg2 = { diff --git a/src/common/military_industrial_organization/organizations/DOH_organization.txt b/src/common/military_industrial_organization/organizations/DOH_organization.txt index 3a9b9a6..d6e9fda 100755 --- a/src/common/military_industrial_organization/organizations/DOH_organization.txt +++ b/src/common/military_industrial_organization/organizations/DOH_organization.txt @@ -1,13 +1,10 @@ ##################### - ### ## # # # # ## - # # # ## # # # # - # #### # ## ## # - # # # # # # # # - # # # # # # # ## - - #################### - +# # # ## # # # # +# #### # ## ## # +# # # # # # # # +# # # # # # # ## +#################### DOH_shanghai_tank = { include = generic_tank_organization icon = GFX_idea_osaka_army_arsenal @@ -44,13 +41,14 @@ DOH_shanghai_tank = { name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=8 y=0 } - + position = { + x = 8 + y = 0 + } available = { - FROM = { + FROM = { OR = { - has_completed_focus = CHY_gongyejituan + has_completed_focus = CHY_gongyejituan OR = { is_ally_with = CHY has_country_flag = chy_jungongyuanzhu_flag @@ -58,26 +56,28 @@ DOH_shanghai_tank = { } } } - equipment_bonus = { reliability = 0.05 maximum_speed = 0.05 - } - + } production_bonus = { production_resource_need_factor = -0.25 production_capacity_factor = 0.05 production_efficiency_gain_factor = 0.05 production_efficiency_cap_factor = 0.05 } - organization_modifier = { military_industrial_organization_research_bonus = 0.15 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } } - DOH_baotoudiyijixiechang_organization = { +DOH_baotoudiyijixiechang_organization = { include = generic_tank_refurbishment_plant_organization icon = GFX_idea_generic_tank_manufacturer_3 allowed = { @@ -93,14 +93,15 @@ DOH_shanghai_tank = { has_completed_focus = DOH_donghuanggongyetixi } } - add_trait = { + add_trait = { token = jishugaijing name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=0 } - + position = { + x = 9 + y = 0 + } available = { FROM = { OR = { @@ -109,52 +110,59 @@ DOH_shanghai_tank = { } } } - equipment_bonus = { hardness = 0.04 reliability = 0.15 - } + } production_bonus = { production_resource_need_factor = -0.5 production_cost_factor = -0.05 production_efficiency_cap_factor = 0.1 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } } ##################### - - ## # # ### ### ## +## # # ### ### ## # # # # # # # - # #### # ### # - # # # # # # +# #### # ### # +# # # # # # ## # # ### # ## - ##################### DOH_dalianzaochuan_organization = { include = generic_battle_line_ship_organization icon = GFX_idea_generic_navy_bonus - allowed = { + allowed = { tag = DOH } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - - position = { x=8 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi1_get + } + } } - equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -170,26 +178,30 @@ DOH_dalianzaochuan_organization = { } } } - add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - - position = { x=9 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi2_get + } + } } - equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -205,14 +217,15 @@ DOH_dalianzaochuan_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_wuhai name = jishujiaoliu_wuhai icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=0 } - + position = { + x = 9 + y = 0 + } available = { FROM = { OR = { @@ -226,31 +239,35 @@ DOH_dalianzaochuan_organization = { reliability = 0.15 max_strength = 0.2 surface_visibility = -0.1 - } + } } add_trait = { token = jishugaijing name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=7 y=4 } - + position = { + x = 7 + y = 4 + } available = { FROM = { num_of_naval_factories > 85 has_tech = keyantech_daodan } } - equipment_bonus = { naval_light_gun_hit_chance_factor = 0.3 naval_heavy_gun_hit_chance_factor = 0.3 surface_visibility = -0.3 night_penalty = -0.3 - } + } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } - available = { owner = { AND = { @@ -266,30 +283,36 @@ DOH_dalianzaochuan_organization = { } } } + DOH_hudong_organization = { include = generic_escort_ship_organization icon = GFX_idea_escort_effort_focus - allowed = { + allowed = { tag = DOH } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - - position = { x=8 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi1_get + } + } } - equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -305,26 +328,30 @@ DOH_hudong_organization = { } } } - add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - - position = { x=9 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi2_get + } + } } - equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -345,9 +372,10 @@ DOH_hudong_organization = { name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=2 } - + position = { + x = 9 + y = 2 + } available = { FROM = { num_of_naval_factories > 60 @@ -364,16 +392,21 @@ DOH_hudong_organization = { production_bonus = { production_capacity_factor = 0.05 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } - - add_trait = { + add_trait = { token = jishujiaoliu_wuhe name = jishujiaoliu_wuhe icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=0 } - + position = { + x = 9 + y = 0 + } available = { FROM = { OR = { @@ -386,9 +419,14 @@ DOH_hudong_organization = { build_cost_ic = -0.05 reliability = 0.15 sub_detection = 0.3 - } + } production_bonus = { - production_capacity_factor = 0.10 + production_capacity_factor = 0.1 + } + on_complete = { + ROOT = { + add_mio_size = 1 + } } } available = { @@ -410,31 +448,35 @@ DOH_hudong_organization = { } ## 武昌造船厂 - DOH_wuchangzaochuanchang_organization = { include = generic_submarine_organization icon = GFX_idea_generic_sea_focused_navy - allowed = { + allowed = { tag = DOH } - trait = { + trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - - position = { x=8 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi1_get + } + } } - equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -450,26 +492,30 @@ DOH_wuchangzaochuanchang_organization = { } } } - trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - - position = { x=9 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi2_get + } + } } - equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -485,14 +531,15 @@ DOH_wuchangzaochuanchang_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_zuoshibao name = jishujiaoliu_zuoshibao icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=0 } - + position = { + x = 9 + y = 0 + } available = { FROM = { OR = { @@ -502,14 +549,14 @@ DOH_wuchangzaochuanchang_organization = { } } equipment_bonus = { - build_cost_ic = 0.10 + build_cost_ic = 0.1 reliability = 0.15 max_strength = 0.25 maximum_speed = 0.1 sub_visibility = -0.15 naval_torpedo_hit_chance_factor = 0.15 torpedo_attack = 0.15 - } + } production_bonus = { production_capacity_factor = 0.05 } @@ -524,9 +571,10 @@ DOH_wuchangzaochuanchang_organization = { name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=2 } - + position = { + x = 9 + y = 2 + } available = { FROM = { num_of_naval_factories > 85 @@ -541,17 +589,16 @@ DOH_wuchangzaochuanchang_organization = { torpedo_attack = 0.15 } production_bonus = { - production_capacity_factor = 0.10 + production_capacity_factor = 0.1 } } - available = { owner = { OR = { is_ai = yes AND = { num_of_factories > 300 - num_of_naval_factories > 20 + num_of_naval_factories > 20 } } controls_state = 620 @@ -566,7 +613,7 @@ DOH_wuchangzaochuanchang_organization = { DOH_jiangnan_shipyard_group_organization = { include = generic_task_force_ship_organization icon = GFX_idea_generic_naval_manufacturer_1 - allowed = { + allowed = { tag = DOH } available = { @@ -574,24 +621,29 @@ DOH_jiangnan_shipyard_group_organization = { controls_state = 613 } } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - - position = { x=8 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi1_get + } + } } - equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -607,26 +659,30 @@ DOH_jiangnan_shipyard_group_organization = { } } } - add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - - position = { x=9 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi2_get + } + } } - equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -642,14 +698,15 @@ DOH_jiangnan_shipyard_group_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_hengxuhe name = jishujiaoliu_hengxuhe icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=0 } - + position = { + x = 9 + y = 0 + } available = { FROM = { OR = { @@ -660,8 +717,8 @@ DOH_jiangnan_shipyard_group_organization = { } equipment_bonus = { build_cost_ic = 0.05 - max_strength = 0.10 - maximum_speed = 0.10 + max_strength = 0.1 + maximum_speed = 0.1 surface_visibility = -0.2 carrier_size = 1 anti_air_attack = 0.1 @@ -670,15 +727,21 @@ DOH_jiangnan_shipyard_group_organization = { production_bonus = { production_capacity_factor = 0.05 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } add_trait = { token = jishugaijing name = "整修江南制造局" icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=2 } - + position = { + x = 9 + y = 2 + } available = { FROM = { num_of_naval_factories > 85 @@ -695,33 +758,43 @@ DOH_jiangnan_shipyard_group_organization = { production_bonus = { production_capacity_factor = 0.05 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } } DOH_dagu_shipyard_organization = { include = generic_raider_ship_organization icon = GFX_idea_generic_naval_manufacturer_3 - allowed = { + allowed = { tag = DOH } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - - position = { x=8 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi1_get + } + } } - equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -737,26 +810,30 @@ DOH_dagu_shipyard_organization = { } } } - add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - - position = { x=9 y=4 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + FROM = { + OR = { + tag = BLI + has_country_flag = buligongyi2_get + } + } } - equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -772,14 +849,15 @@ DOH_dagu_shipyard_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_zuoshibao name = jishujiaoliu_zuoshibao icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=0 } - + position = { + x = 9 + y = 0 + } available = { FROM = { OR = { @@ -794,16 +872,22 @@ DOH_dagu_shipyard_organization = { maximum_speed = 0.2 surface_visibility = -0.1 surface_detection = 0.1 - } + } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } add_trait = { token = jishugaijing name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=2 } - + position = { + x = 9 + y = 2 + } available = { FROM = { num_of_naval_factories > 85 @@ -816,85 +900,91 @@ DOH_dagu_shipyard_organization = { surface_visibility = -0.2 surface_detection = 0.2 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } - available = { - owner = { OR = { + owner = { + OR = { has_completed_focus = DOH_xindonghuang has_completed_focus = DOH_yixianwansui - } } + } + } } } ########################### - ### # ## # # ### ## # # # # # ## # # # ### # #### # ## ## # # # # # # # # # # ### # # # # ### ## - ########################### - DOH_camco_medium_organization = { include = generic_medium_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_yixianwansui + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan } } } + DOH_camco_fighter_organization = { include = generic_light_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_yixianwansui + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_tieyuan } } } + DOH_camco_cas_organization = { include = generic_cas_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_yixianwansui + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan } } } + DOH_camco_heavy_organization = { include = generic_heavy_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_yixianwansui + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan OR = { @@ -904,17 +994,14 @@ DOH_camco_heavy_organization = { } } } -################################### +################################### # # ## ### ### ### ### ### # ## ## # # # # # # # # # # # # #### # ## ### # ## # # # # # # # # # # # # # # # # # ### # # ### ### ### - - ################################### - DOH_taiyuan_arsenal_organization = { icon = GFX_idea_generic_artillery_manufacturer_1 allowed = { @@ -939,14 +1026,15 @@ DOH_taiyuan_arsenal_organization = { token = generic_mio_trait_improved_direct_fire_targeting name = generic_mio_trait_improved_direct_fire_targeting icon = GFX_generic_mio_department_icon_anti_tank - - position = { x=-1 y=3 } - relative_position_id = generic_mio_trait_improved_hydraulic_recoil_system - - all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + position = { + x = -1 + y = 3 } - limit_to_equipment_type = { + relative_position_id = generic_mio_trait_improved_hydraulic_recoil_system + all_parents = { + generic_mio_trait_improved_hydraulic_recoil_system + } + limit_to_equipment_type = { anti_tank_equipment } available = { @@ -961,18 +1049,23 @@ DOH_taiyuan_arsenal_organization = { ap_attack = 0.05 hard_attack = 0.05 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } - add_trait = { token = generic_mio_trait_advanced_anti_air_targeting name = generic_mio_trait_advanced_anti_air_targeting icon = GFX_generic_mio_department_icon_anti_air - - position = { x=1 y=0 } + position = { + x = 1 + y = 0 + } relative_position_id = generic_mio_trait_improved_direct_fire_targeting - all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + generic_mio_trait_improved_hydraulic_recoil_system } available = { FROM = { @@ -982,45 +1075,48 @@ DOH_taiyuan_arsenal_organization = { } } } - limit_to_equipment_type = { + limit_to_equipment_type = { anti_air_equipment } - equipment_bonus = { air_attack = 0.07 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } - add_trait = { token = generic_mio_trait_advanced_trajectory_calculations name = generic_mio_trait_advanced_trajectory_calculations icon = GFX_generic_mio_department_icon_artillery - - position = { x=2 y=0 } - relative_position_id = generic_mio_trait_improved_direct_fire_targeting - - all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + position = { + x = 2 + y = 0 } - - limit_to_equipment_type = { + relative_position_id = generic_mio_trait_improved_direct_fire_targeting + all_parents = { + generic_mio_trait_improved_hydraulic_recoil_system + } + limit_to_equipment_type = { artillery_equipment rocket_artillery_equipment } - equipment_bonus = { hard_attack = 1 breakthrough = 0.05 } } - add_trait = { + add_trait = { token = jishugaijing name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - - position = { x=9 y=0 } - + position = { + x = 9 + y = 0 + } available = { FROM = { OR = { @@ -1029,7 +1125,6 @@ DOH_taiyuan_arsenal_organization = { } } } - equipment_bonus = { soft_attack = 0.05 hard_attack = 0.05 @@ -1040,12 +1135,13 @@ DOH_taiyuan_arsenal_organization = { } } } + DOH_liaoning_arsenal_organization = { include = generic_motorized_mechanized_organization icon = GFX_idea_generic_motorized_equipment_manufacturer_1 allowed = { - tag = DOH - } + tag = DOH + } available = { owner = { controls_state = 715 @@ -1059,7 +1155,10 @@ DOH_liaoning_arsenal_organization = { token = DOH_motorized name = jishujiaoliu_richan icon = GFX_generic_mio_trait_icon_unique - position = { x = 0 y = 2 } + position = { + x = 0 + y = 2 + } available = { DOH = { OR = { @@ -1071,17 +1170,23 @@ DOH_liaoning_arsenal_organization = { equipment_bonus = { hardness = 0.05 defense = 0.1 - fuel_consumption = -0.10 + fuel_consumption = -0.1 build_cost_ic = 0.05 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } } + DOH_hanyan_arsenal_organization = { include = generic_infantry_equipment_organization icon = GFX_idea_generic_infantry_equipment_manufacturer_1 allowed = { - tag = DOH - } + tag = DOH + } available = { owner = { controls_state = 620 @@ -1105,8 +1210,8 @@ DOH_hanyan_arsenal_organization = { } } equipment_bonus = { - soft_attack = 0.10 - hard_attack = 0.10 + soft_attack = 0.1 + hard_attack = 0.1 ap_attack = 1 defense = 0.05 build_cost_ic = 0.05 @@ -1114,6 +1219,11 @@ DOH_hanyan_arsenal_organization = { mutually_exclusive = { DOH_infantry_mio_jishugaijing_2 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } add_trait = { token = DOH_infantry_mio_jishugaijing_2 @@ -1135,9 +1245,14 @@ DOH_hanyan_arsenal_organization = { production_bonus = { production_cost_factor = -0.03 production_conversion_speed_factor = 0.3 - production_efficiency_cap_factor = 0.10 + production_efficiency_cap_factor = 0.1 production_efficiency_gain_factor = 0.05 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } add_trait = { token = DOH_infantry_mio_jishugaijing_3 @@ -1170,12 +1285,13 @@ DOH_hanyan_arsenal_organization = { } } } + DOH_mukden_arsenal_organization = { include = DOH_hanyan_arsenal_organization icon = GFX_idea_generic_infantry_equipment_manufacturer_2 allowed = { - tag = DOH - } + tag = DOH + } available = { owner = { controls_state = 716 @@ -1185,4 +1301,4 @@ DOH_mukden_arsenal_organization = { } } } -} \ No newline at end of file +} diff --git a/src/common/national_focus/donghuang_new.txt b/src/common/national_focus/donghuang_new.txt index 08a6ff3..4c7b31a 100755 --- a/src/common/national_focus/donghuang_new.txt +++ b/src/common/national_focus/donghuang_new.txt @@ -343,22 +343,10 @@ focus_tree = { } completion_reward = { add_ideas = DOH_zzyf - effect_tooltip = { - if = { - limit = { - NOT = { - has_completed_focus = DOH_dulizizhudejungong - } - } - DOH_dongfangguguo_dengji = yes - } - } - hidden_effect = { - DOH_dongfangguguo_dengji = yes - } every_military_industrial_organization = { - add_mio_size = 5 + add_mio_size = 1 } + DOH_neibufenqi_jianqin_few_effect = yes } } focus = { @@ -853,6 +841,12 @@ focus_tree = { human_wave_tactics_for_doh = 1 popup = no } + custom_effect_tooltip = DOH_dashijiyoujizhan_tooltip + hidden_effect = { + set_technology = { + DOH_dashijiyoujizhan_tech = 1 + } + } } } } @@ -887,6 +881,26 @@ focus_tree = { add_potential_special_forces_tree = yes add_potential_special_forces_tree = yes DOH_neibufenqi_jianqin_effect = yes + if = { + limit = { + NOT = { + has_completed_focus = DOH_wanguolaichao + } + } + effect_tooltip = { + if = { + limit = { + NOT = { + has_completed_focus = DOH_special_force + } + } + DOH_dongfangguguo_dengji = yes + } + } + hidden_effect = { + DOH_dongfangguguo_dengji = yes + } + } } } focus = { @@ -2658,6 +2672,9 @@ focus_tree = { factor = 15 } completion_reward = { + every_military_industrial_organization = { + add_mio_size = 2 + } add_ideas = DOH_hailufuhe_idea_0 swap_ideas = { remove_idea = DOH_dhgytx @@ -3096,6 +3113,9 @@ focus_tree = { } completion_reward = { add_research_slot = 1 + every_military_industrial_organization = { + add_mio_size = 2 + } } } focus = { @@ -5491,6 +5511,27 @@ focus_tree = { add_idea = DOH_tcsg } DOH_neibufenqi_jianqin_effect = yes + if = { + limit = { + NOT = { + has_completed_focus = DOH_special_force + } + } + effect_tooltip = { + if = { + limit = { + NOT = { + has_completed_focus = DOH_wanguolaichao + } + } + DOH_dongfangguguo_dengji = yes + } + } + hidden_effect = { + DOH_dongfangguguo_dengji = yes + } + } + } } focus = { diff --git a/src/common/scripted_effects/az_AL_scripted_effects.txt b/src/common/scripted_effects/az_AL_scripted_effects.txt deleted file mode 100755 index 2ffc4aa..0000000 --- a/src/common/scripted_effects/az_AL_scripted_effects.txt +++ /dev/null @@ -1,3498 +0,0 @@ - -AL_factory_3_1 = { - custom_effect_tooltip = AL_factory_3_1 - set_variable = { AL_arms_factory_once = 0 } - set_variable = { AL_industrial_complex_once = 0 } - every_owned_state = { - set_temp_variable = { AL_temp_state_1 = arms_factory_level } - set_temp_variable = { AL_temp_state_2 = industrial_complex_level } - divide_temp_variable = { AL_temp_state_1 = 3 } - divide_temp_variable = { AL_temp_state_2 = 3 } - set_temp_variable = { AL_temp_state_11 = AL_temp_state_1 } - set_temp_variable = { AL_temp_state_21 = AL_temp_state_2 } - round_temp_variable = AL_temp_state_1 - round_temp_variable = AL_temp_state_2 - if = { - limit = { check_variable = { AL_temp_state_1 > AL_temp_state_11 } } - subtract_from_temp_variable = { AL_temp_state_1 = 1 } - } - if = { - limit = { check_variable = { AL_temp_state_2 > AL_temp_state_21 } } - subtract_from_temp_variable = { AL_temp_state_2 = 1 } - } - ROOT = { - add_to_variable = { AL_arms_factory_once = AL_temp_state_1 } - add_to_variable = { AL_industrial_complex_once = AL_temp_state_2 } - } - } - country_event = AL_event.1 -} - - - -AL_tech_get = { - - if = { - limit = { - has_country_flag = AL_CHY_all_get - } - add_tech_bonus = { - bonus = 1.0 - uses = 2 - ahead_reduction = 2 - category = naval_equipment - } - } - - if = { - limit = { - has_country_flag = AL_DOH_all_get - } - add_tech_bonus = { - name = "技术合作" - bonus = 1.0 - uses = 2 - ahead_reduction = 2 - category = infantry_weapons - } - } - - if = { - limit = { - has_country_flag = AL_BFL_all_get - } - add_doctrine_cost_reduction = { - name = "技术合作" - cost_reduction = 0.75 - uses = 2 - category = land_doctrine - } - } - - if = { - limit = { - has_country_flag = AL_BYG_all_get - } - add_tech_bonus = { - name = "技术合作" - bonus = 1.0 - uses = 2 - ahead_reduction = 2 - category = industry - } - } - - if = { - limit = { - has_country_flag = AL_SAD_all_get - } - add_tech_bonus = { - name = "技术合作" - bonus = 1.0 - uses = 2 - ahead_reduction = 2 - category = support_tech - } - } - - if = { - limit = { - has_country_flag = AL_TIX_all_get - } - add_tech_bonus = { - name = "技术合作" - bonus = 1.0 - uses = 1 - ahead_reduction = 2 - category = armor - } - } - - if = { - limit = { - has_country_flag = AL_YUW_all_get - } - add_tech_bonus = { - name = "技术合作" - bonus = 1.0 - uses = 2 - ahead_reduction = 2 - category = artillery - } - } - - if = { - limit = { - has_country_flag = AL_HUJ_all_get - } - add_tech_bonus = { - name = "技术合作" - bonus = 1.0 - uses = 1 - ahead_reduction = 2 - category = air_equipment - } - } - - -} - -AL_buligongyi = { - if = { - limit = { - TAG = BLI - } - add_stability = 0.4 - add_war_support = 0.4 - add_political_power = 300 - } - else = { - custom_effect_tooltip = AL_buligongyi_get - set_country_flag = buligongyi1_get - set_country_flag = buligongyi2_get - } -} - -AL_chuizhigongye = { - if = { - limit = { - TAG = BLI - } - add_offsite_building = { - type = arms_factory - level = 6 - } - add_offsite_building = { - type = industrial_complex - level = 6 - } - add_offsite_building = { - type = dockyard - level = 6 - } - add_offsite_building = { - type = synthetic_refinery - level = 2 - } - } - else = { - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = arms_factory - size > 1 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 2 - add_building_construction = { - type = arms_factory - level = 2 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - free_building_slots = { - building = industrial_complex - size > 1 - include_locked = yes - } - } - add_extra_state_shared_building_slots = 2 - add_building_construction = { - type = industrial_complex - level = 2 - instant_build = yes - } - } - } -} - -zhenghe_tank_set = { - set_variable = { zhenghe_tank_HUJ_days_remove = 120 } - set_variable = { zhenghe_tank_HUJ_cost = 100 } - set_variable = { zhenghe_tank_BFL_days_remove = 120 } - set_variable = { zhenghe_tank_BFL_cost = 100 } - set_variable = { zhenghe_tank_CHY_days_remove = 120 } - set_variable = { zhenghe_tank_CHY_cost = 100 } - set_variable = { zhenghe_tank_DOH_days_remove = 120 } - set_variable = { zhenghe_tank_DOH_cost = 100 } - set_variable = { zhenghe_tank_TIX_days_remove = 120 } - set_variable = { zhenghe_tank_TIX_cost = 100 } - set_variable = { zhenghe_tank_SAD_days_remove = 120 } - set_variable = { zhenghe_tank_SAD_cost = 100 } - set_variable = { zhenghe_tank_YUW_days_remove = 120 } - set_variable = { zhenghe_tank_YUW_cost = 100 } - set_variable = { zhenghe_tank_BYG_days_remove = 120 } - set_variable = { zhenghe_tank_BYG_cost = 100 } - add_dynamic_modifier = { - modifier = AL_tank_all_modifier - } - - - - if = { - limit = { - TAG = CHY - } - subtract_from_variable = { zhenghe_tank_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_CHY_cost = 75 } - } - if = { - limit = { - TAG = HUJ - } - subtract_from_variable = { zhenghe_tank_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_HUJ_cost = 75 } - } - if = { - limit = { - TAG = TIX - } - subtract_from_variable = { zhenghe_tank_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_TIX_cost = 75 } - } - if = { - limit = { - TAG = YUW - } - subtract_from_variable = { zhenghe_tank_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_YUW_cost = 75 } - } - if = { - limit = { - TAG = SAD - } - subtract_from_variable = { zhenghe_tank_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_SAD_cost = 75 } - } - if = { - limit = { - TAG = BYG - } - subtract_from_variable = { zhenghe_tank_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_BYG_cost = 75 } - } - if = { - limit = { - TAG = BFL - } - subtract_from_variable = { zhenghe_tank_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_BFL_cost = 75 } - } - if = { - limit = { - TAG = DOH - } - subtract_from_variable = { zhenghe_tank_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_DOH_cost = 75 } - } - - - - if = { - limit = { - has_country_flag = AL_HUJ_tank - } - subtract_from_variable = { zhenghe_tank_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_HUJ_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BFL_tank - } - subtract_from_variable = { zhenghe_tank_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_BFL_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_CHY_tank - } - subtract_from_variable = { zhenghe_tank_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_CHY_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_DOH_tank - } - subtract_from_variable = { zhenghe_tank_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_DOH_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_TIX_tank - } - subtract_from_variable = { zhenghe_tank_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_TIX_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_SAD_tank - } - subtract_from_variable = { zhenghe_tank_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_SAD_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_YUW_tank - } - subtract_from_variable = { zhenghe_tank_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_YUW_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BYG_tank - } - subtract_from_variable = { zhenghe_tank_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_tank_BYG_cost = 75 } - } - -} - -zhenghe_gongye_set = { - set_variable = { zhenghe_gongye_HUJ_days_remove = 120 } - set_variable = { zhenghe_gongye_HUJ_cost = 100 } - set_variable = { zhenghe_gongye_BFL_days_remove = 120 } - set_variable = { zhenghe_gongye_BFL_cost = 100 } - set_variable = { zhenghe_gongye_CHY_days_remove = 120 } - set_variable = { zhenghe_gongye_CHY_cost = 100 } - set_variable = { zhenghe_gongye_DOH_days_remove = 120 } - set_variable = { zhenghe_gongye_DOH_cost = 100 } - set_variable = { zhenghe_gongye_TIX_days_remove = 120 } - set_variable = { zhenghe_gongye_TIX_cost = 100 } - set_variable = { zhenghe_gongye_SAD_days_remove = 120 } - set_variable = { zhenghe_gongye_SAD_cost = 100 } - set_variable = { zhenghe_gongye_YUW_days_remove = 120 } - set_variable = { zhenghe_gongye_YUW_cost = 100 } - set_variable = { zhenghe_gongye_BYG_days_remove = 120 } - set_variable = { zhenghe_gongye_BYG_cost = 100 } - add_dynamic_modifier = { - modifier = AL_gongye_all_modifier - } - - if = { - limit = { - TAG = CHY - } - subtract_from_variable = { zhenghe_gongye_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_CHY_cost = 75 } - } - if = { - limit = { - TAG = HUJ - } - subtract_from_variable = { zhenghe_gongye_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_HUJ_cost = 75 } - } - if = { - limit = { - TAG = TIX - } - subtract_from_variable = { zhenghe_gongye_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_TIX_cost = 75 } - } - if = { - limit = { - TAG = YUW - } - subtract_from_variable = { zhenghe_gongye_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_YUW_cost = 75 } - } - if = { - limit = { - TAG = SAD - } - subtract_from_variable = { zhenghe_gongye_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_SAD_cost = 75 } - } - if = { - limit = { - TAG = BYG - } - subtract_from_variable = { zhenghe_gongye_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_BYG_cost = 75 } - } - if = { - limit = { - TAG = BFL - } - subtract_from_variable = { zhenghe_gongye_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_BFL_cost = 75 } - } - if = { - limit = { - TAG = DOH - } - subtract_from_variable = { zhenghe_gongye_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_DOH_cost = 75 } - } - - - - - if = { - limit = { - has_country_flag = AL_HUJ_gongye - } - subtract_from_variable = { zhenghe_gongye_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_HUJ_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BFL_gongye - } - subtract_from_variable = { zhenghe_gongye_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_BFL_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_CHY_gongye - } - subtract_from_variable = { zhenghe_gongye_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_CHY_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_DOH_gongye - } - subtract_from_variable = { zhenghe_gongye_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_DOH_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_TIX_gongye - } - subtract_from_variable = { zhenghe_gongye_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_TIX_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_SAD_gongye - } - subtract_from_variable = { zhenghe_gongye_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_SAD_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_YUW_gongye - } - subtract_from_variable = { zhenghe_gongye_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_YUW_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BYG_gongye - } - subtract_from_variable = { zhenghe_gongye_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_gongye_BYG_cost = 75 } - } - -} - -zhenghe_ship_set = { - set_variable = { zhenghe_ship_HUJ_days_remove = 120 } - set_variable = { zhenghe_ship_HUJ_cost = 100 } - set_variable = { zhenghe_ship_BFL_days_remove = 120 } - set_variable = { zhenghe_ship_BFL_cost = 100 } - set_variable = { zhenghe_ship_CHY_days_remove = 120 } - set_variable = { zhenghe_ship_CHY_cost = 100 } - set_variable = { zhenghe_ship_DOH_days_remove = 120 } - set_variable = { zhenghe_ship_DOH_cost = 100 } - set_variable = { zhenghe_ship_TIX_days_remove = 120 } - set_variable = { zhenghe_ship_TIX_cost = 100 } - set_variable = { zhenghe_ship_SAD_days_remove = 120 } - set_variable = { zhenghe_ship_SAD_cost = 100 } - set_variable = { zhenghe_ship_YUW_days_remove = 120 } - set_variable = { zhenghe_ship_YUW_cost = 100 } - set_variable = { zhenghe_ship_BYG_days_remove = 120 } - set_variable = { zhenghe_ship_BYG_cost = 100 } - add_dynamic_modifier = { - modifier = AL_ship_all_modifier - } - - if = { - limit = { - TAG = CHY - } - subtract_from_variable = { zhenghe_ship_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_CHY_cost = 75 } - } - if = { - limit = { - TAG = HUJ - } - subtract_from_variable = { zhenghe_ship_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_HUJ_cost = 75 } - } - if = { - limit = { - TAG = TIX - } - subtract_from_variable = { zhenghe_ship_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_TIX_cost = 75 } - } - if = { - limit = { - TAG = YUW - } - subtract_from_variable = { zhenghe_ship_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_YUW_cost = 75 } - } - if = { - limit = { - TAG = SAD - } - subtract_from_variable = { zhenghe_ship_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_SAD_cost = 75 } - } - if = { - limit = { - TAG = BYG - } - subtract_from_variable = { zhenghe_ship_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_BYG_cost = 75 } - } - if = { - limit = { - TAG = BFL - } - subtract_from_variable = { zhenghe_ship_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_BFL_cost = 75 } - } - if = { - limit = { - TAG = DOH - } - subtract_from_variable = { zhenghe_ship_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_DOH_cost = 75 } - } - - - - - - - - if = { - limit = { - has_country_flag = AL_HUJ_ship - } - subtract_from_variable = { zhenghe_ship_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_HUJ_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BFL_ship - } - subtract_from_variable = { zhenghe_ship_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_BFL_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_CHY_ship - } - subtract_from_variable = { zhenghe_ship_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_CHY_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_DOH_ship - } - subtract_from_variable = { zhenghe_ship_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_DOH_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_TIX_ship - } - subtract_from_variable = { zhenghe_ship_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_TIX_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_SAD_ship - } - subtract_from_variable = { zhenghe_ship_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_SAD_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_YUW_ship - } - subtract_from_variable = { zhenghe_ship_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_YUW_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BYG_ship - } - subtract_from_variable = { zhenghe_ship_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_ship_BYG_cost = 75 } - } - -} - -zhenghe_plane_set = { - set_variable = { zhenghe_plane_HUJ_days_remove = 120 } - set_variable = { zhenghe_plane_HUJ_cost = 100 } - set_variable = { zhenghe_plane_BFL_days_remove = 120 } - set_variable = { zhenghe_plane_BFL_cost = 100 } - set_variable = { zhenghe_plane_CHY_days_remove = 120 } - set_variable = { zhenghe_plane_CHY_cost = 100 } - set_variable = { zhenghe_plane_DOH_days_remove = 120 } - set_variable = { zhenghe_plane_DOH_cost = 100 } - set_variable = { zhenghe_plane_TIX_days_remove = 120 } - set_variable = { zhenghe_plane_TIX_cost = 100 } - set_variable = { zhenghe_plane_SAD_days_remove = 120 } - set_variable = { zhenghe_plane_SAD_cost = 100 } - set_variable = { zhenghe_plane_YUW_days_remove = 120 } - set_variable = { zhenghe_plane_YUW_cost = 100 } - set_variable = { zhenghe_plane_BYG_days_remove = 120 } - set_variable = { zhenghe_plane_BYG_cost = 100 } - add_dynamic_modifier = { - modifier = AL_plane_all_modifier - } - - if = { - limit = { - TAG = CHY - } - subtract_from_variable = { zhenghe_plane_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_CHY_cost = 75 } - } - if = { - limit = { - TAG = HUJ - } - subtract_from_variable = { zhenghe_plane_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_HUJ_cost = 75 } - } - if = { - limit = { - TAG = TIX - } - subtract_from_variable = { zhenghe_plane_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_TIX_cost = 75 } - } - if = { - limit = { - TAG = YUW - } - subtract_from_variable = { zhenghe_plane_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_YUW_cost = 75 } - } - if = { - limit = { - TAG = SAD - } - subtract_from_variable = { zhenghe_plane_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_SAD_cost = 75 } - } - if = { - limit = { - TAG = BYG - } - subtract_from_variable = { zhenghe_plane_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_BYG_cost = 75 } - } - if = { - limit = { - TAG = BFL - } - subtract_from_variable = { zhenghe_plane_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_BFL_cost = 75 } - } - if = { - limit = { - TAG = DOH - } - subtract_from_variable = { zhenghe_plane_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_DOH_cost = 75 } - } - - - if = { - limit = { - has_country_flag = AL_HUJ_plane - } - subtract_from_variable = { zhenghe_plane_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_HUJ_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BFL_plane - } - subtract_from_variable = { zhenghe_plane_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_BFL_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_CHY_plane - } - subtract_from_variable = { zhenghe_plane_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_CHY_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_DOH_plane - } - subtract_from_variable = { zhenghe_plane_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_DOH_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_TIX_plane - } - subtract_from_variable = { zhenghe_plane_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_TIX_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_SAD_plane - } - subtract_from_variable = { zhenghe_plane_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_SAD_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_YUW_plane - } - subtract_from_variable = { zhenghe_plane_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_YUW_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BYG_plane - } - subtract_from_variable = { zhenghe_plane_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_plane_BYG_cost = 75 } - } - -} - -zhenghe_junxu_set = { - set_variable = { zhenghe_junxu_HUJ_days_remove = 120 } - set_variable = { zhenghe_junxu_HUJ_cost = 100 } - set_variable = { zhenghe_junxu_BFL_days_remove = 120 } - set_variable = { zhenghe_junxu_BFL_cost = 100 } - set_variable = { zhenghe_junxu_CHY_days_remove = 120 } - set_variable = { zhenghe_junxu_CHY_cost = 100 } - set_variable = { zhenghe_junxu_DOH_days_remove = 120 } - set_variable = { zhenghe_junxu_DOH_cost = 100 } - set_variable = { zhenghe_junxu_TIX_days_remove = 120 } - set_variable = { zhenghe_junxu_TIX_cost = 100 } - set_variable = { zhenghe_junxu_SAD_days_remove = 120 } - set_variable = { zhenghe_junxu_SAD_cost = 100 } - set_variable = { zhenghe_junxu_YUW_days_remove = 120 } - set_variable = { zhenghe_junxu_YUW_cost = 100 } - set_variable = { zhenghe_junxu_BYG_days_remove = 120 } - set_variable = { zhenghe_junxu_BYG_cost = 100 } - add_dynamic_modifier = { - modifier = AL_junxu_all_modifier - } - - if = { - limit = { - TAG = CHY - } - subtract_from_variable = { zhenghe_junxu_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_CHY_cost = 75 } - } - if = { - limit = { - TAG = HUJ - } - subtract_from_variable = { zhenghe_junxu_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_HUJ_cost = 75 } - } - if = { - limit = { - TAG = TIX - } - subtract_from_variable = { zhenghe_junxu_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_TIX_cost = 75 } - } - if = { - limit = { - TAG = YUW - } - subtract_from_variable = { zhenghe_junxu_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_YUW_cost = 75 } - } - if = { - limit = { - TAG = SAD - } - subtract_from_variable = { zhenghe_junxu_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_SAD_cost = 75 } - } - if = { - limit = { - TAG = BYG - } - subtract_from_variable = { zhenghe_junxu_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_BYG_cost = 75 } - } - if = { - limit = { - TAG = BFL - } - subtract_from_variable = { zhenghe_junxu_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_BFL_cost = 75 } - } - if = { - limit = { - TAG = DOH - } - subtract_from_variable = { zhenghe_junxu_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_DOH_cost = 75 } - } - - - - if = { - limit = { - has_country_flag = AL_HUJ_junxu - } - subtract_from_variable = { zhenghe_junxu_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_HUJ_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BFL_junxu - } - subtract_from_variable = { zhenghe_junxu_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_BFL_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_CHY_junxu - } - subtract_from_variable = { zhenghe_junxu_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_CHY_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_DOH_junxu - } - subtract_from_variable = { zhenghe_junxu_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_DOH_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_TIX_junxu - } - subtract_from_variable = { zhenghe_junxu_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_TIX_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_SAD_junxu - } - subtract_from_variable = { zhenghe_junxu_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_SAD_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_YUW_junxu - } - subtract_from_variable = { zhenghe_junxu_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_YUW_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BYG_junxu - } - subtract_from_variable = { zhenghe_junxu_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_junxu_BYG_cost = 75 } - } - -} - -AL_modifier_reset = { - -#######联合制造商###### - if = { - limit = { - check_variable = { AL_zhenghe_tank = 8 } - NOT = { - has_country_flag = AL_zhenghe_tank - } - } - country_event = AL_event.37 - set_country_flag = AL_zhenghe_tank - } - if = { - limit = { - check_variable = { AL_zhenghe_ship = 8 } - NOT = { - has_country_flag = AL_zhenghe_ship - } - } - country_event = AL_event.40 - set_country_flag = AL_zhenghe_ship - } - if = { - limit = { - check_variable = { AL_zhenghe_plane = 8 } - NOT = { - has_country_flag = AL_zhenghe_plane - } - } - country_event = AL_event.39 - set_country_flag = AL_zhenghe_plane - } - if = { - limit = { - check_variable = { AL_zhenghe_junxu = 8 } - NOT = { - has_country_flag = AL_zhenghe_junxu - } - } - country_event = AL_event.38 - set_country_flag = AL_zhenghe_junxu - } - if = { - limit = { - check_variable = { AL_zhenghe_gongye = 8 } - NOT = { - has_country_flag = AL_zhenghe_gongye - } - } - country_event = AL_event.36 - set_country_flag = AL_zhenghe_gongye - } - -} - - -AL_lianhejun_up = { - if = { - limit = { - has_idea = AL_lianhejun_0 - } - swap_ideas = { - remove_idea = AL_lianhejun_0 - add_idea = AL_lianhejun_1 - } - } - else_if = { - limit = { - has_idea = AL_lianhejun_1 - } - swap_ideas = { - remove_idea = AL_lianhejun_1 - add_idea = AL_lianhejun_2 - } - } - else_if = { - limit = { - has_idea = AL_lianhejun_2 - } - swap_ideas = { - remove_idea = AL_lianhejun_2 - add_idea = AL_lianhejun_3 - } - } - else_if = { - limit = { - has_idea = AL_lianhejun_3 - } - swap_ideas = { - remove_idea = AL_lianhejun_3 - add_idea = AL_lianhejun_4 - } - } - else_if = { - limit = { - has_idea = AL_lianhejun_4 - } - swap_ideas = { - remove_idea = AL_lianhejun_4 - add_idea = AL_lianhejun_5 - } - } - else_if = { - limit = { - has_idea = AL_lianhejun_5 - } - swap_ideas = { - remove_idea = AL_lianhejun_5 - add_idea = AL_lianhejun_6 - } - } - else_if = { - limit = { - has_idea = AL_lianhejun_6 - } - swap_ideas = { - remove_idea = AL_lianhejun_6 - add_idea = AL_lianhejun_7 - } - } - else_if = { - limit = { - has_idea = AL_lianhejun_7 - } - swap_ideas = { - remove_idea = AL_lianhejun_7 - add_idea = AL_lianhejun_8 - } - } -} - - -AL_army_cost_set = { - set_variable = { zhenghe_jundui_HUJ_days_remove = 120 } - set_variable = { zhenghe_jundui_HUJ_cost = 100 } - set_variable = { zhenghe_jundui_BFL_days_remove = 120 } - set_variable = { zhenghe_jundui_BFL_cost = 100 } - set_variable = { zhenghe_jundui_CHY_days_remove = 120 } - set_variable = { zhenghe_jundui_CHY_cost = 100 } - set_variable = { zhenghe_jundui_DOH_days_remove = 120 } - set_variable = { zhenghe_jundui_DOH_cost = 100 } - set_variable = { zhenghe_jundui_TIX_days_remove = 120 } - set_variable = { zhenghe_jundui_TIX_cost = 100 } - set_variable = { zhenghe_jundui_SAD_days_remove = 120 } - set_variable = { zhenghe_jundui_SAD_cost = 100 } - set_variable = { zhenghe_jundui_YUW_days_remove = 120 } - set_variable = { zhenghe_jundui_YUW_cost = 100 } - set_variable = { zhenghe_jundui_BYG_days_remove = 120 } - set_variable = { zhenghe_jundui_BYG_cost = 100 } - if = { - limit = { - TAG = CHY - } - subtract_from_variable = { zhenghe_jundui_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_CHY_cost = 75 } - } - if = { - limit = { - TAG = HUJ - } - subtract_from_variable = { zhenghe_jundui_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_HUJ_cost = 75 } - } - if = { - limit = { - TAG = TIX - } - subtract_from_variable = { zhenghe_jundui_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_TIX_cost = 75 } - } - if = { - limit = { - TAG = YUW - } - subtract_from_variable = { zhenghe_jundui_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_YUW_cost = 75 } - } - if = { - limit = { - TAG = SAD - } - subtract_from_variable = { zhenghe_jundui_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_SAD_cost = 75 } - } - if = { - limit = { - TAG = BYG - } - subtract_from_variable = { zhenghe_jundui_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_BYG_cost = 75 } - } - if = { - limit = { - TAG = BFL - } - subtract_from_variable = { zhenghe_jundui_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_BFL_cost = 75 } - } - if = { - limit = { - TAG = DOH - } - subtract_from_variable = { zhenghe_jundui_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_DOH_cost = 75 } - } - - - - if = { - limit = { - has_country_flag = AL_HUJ_all_get - } - subtract_from_variable = { zhenghe_jundui_HUJ_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_HUJ_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BFL_all_get - } - subtract_from_variable = { zhenghe_jundui_BFL_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_BFL_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_CHY_all_get - } - subtract_from_variable = { zhenghe_jundui_CHY_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_CHY_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_DOH_all_get - } - subtract_from_variable = { zhenghe_jundui_DOH_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_DOH_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_TIX_all_get - } - subtract_from_variable = { zhenghe_jundui_TIX_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_TIX_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_SAD_all_get - } - subtract_from_variable = { zhenghe_jundui_SAD_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_SAD_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_YUW_all_get - } - subtract_from_variable = { zhenghe_jundui_YUW_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_YUW_cost = 75 } - } - if = { - limit = { - has_country_flag = AL_BYG_all_get - } - subtract_from_variable = { zhenghe_jundui_BYG_days_remove = 60 } - subtract_from_variable = { zhenghe_jundui_BYG_cost = 75 } - } - -} - -AL_guojizongdui_back = { - - - - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队\" division_template = \"国际纵队\" start_experience_factor = 0.8 start_equipment_factor = 0.9" - owner = ROOT - } - } - if = { - limit = { - has_country_flag = AL_DOH_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 东煌\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 东煌\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } - - if = { - limit = { - has_country_flag = AL_YUW_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 鸢尾\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 鸢尾\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } - - if = { - limit = { - has_country_flag = AL_BFL_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 北方联合\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 北方联合\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } - - if = { - limit = { - has_country_flag = AL_SAD_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 撒丁\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 撒丁\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } - - if = { - limit = { - has_country_flag = AL_BYG_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 白鹰\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 白鹰\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } - - if = { - limit = { - has_country_flag = AL_HUJ_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 皇家\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 皇家\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } - - if = { - limit = { - has_country_flag = AL_TIX_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 铁血\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 铁血\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } - - if = { - limit = { - has_country_flag = AL_CHY_all_get - } - random_owned_state = { - limit = { - is_capital = yes - } - create_unit = { - division = "name = \"国际纵队 重樱\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - create_unit = { - division = "name = \"国际纵队 重樱\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - } -} - - - - - - -AL_guojizongdui_zengyuan = { - if = { - limit = { - ROOT = { - has_country_flag = AL_DOH_all_get - } - } - create_unit = { - division = "name = \"国际纵队 东煌\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - - if = { - limit = { - ROOT = { - has_country_flag = AL_YUW_all_get - } - } - create_unit = { - division = "name = \"国际纵队 鸢尾\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - - if = { - limit = { - ROOT = { - has_country_flag = AL_BFL_all_get - } - } - create_unit = { - division = "name = \"国际纵队 北方联合\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - - if = { - limit = { - ROOT = { - has_country_flag = AL_SAD_all_get - } - } - create_unit = { - division = "name = \"国际纵队 撒丁\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - - if = { - limit = { - ROOT = { - has_country_flag = AL_BYG_all_get - } - } - create_unit = { - division = "name = \"国际纵队 白鹰\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - - if = { - limit = { - ROOT = { - has_country_flag = AL_HUJ_all_get - } - } - create_unit = { - division = "name = \"国际纵队 皇家\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - - if = { - limit = { - ROOT = { - has_country_flag = AL_TIX_all_get - } - } - create_unit = { - division = "name = \"国际纵队 铁血\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } - - if = { - limit = { - ROOT = { - has_country_flag = AL_CHY_all_get - } - } - create_unit = { - division = "name = \"国际纵队 重樱\" division_template = \"国际纵队主力\" start_experience_factor = 1 start_equipment_factor = 0.9" - owner = ROOT - } - } -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -#####################################彩蛋#################################### - -jiuzhen = { - clamp_variable = { var = data_X min = 0.8 max = 1.2 } - clamp_variable = { var = data_S min = 0 max = 1200 } - clamp_variable = { var = data_N min = 0 max = 1200 } - clamp_variable = { var = data_L min = 0 max = 1200 } - clamp_variable = { var = data_G min = 0 max = 1200 } - clamp_variable = { var = data_Z min = 0 max = 1200 } -} - - get_skill = { - random_list = { - 1 = { set_country_flag = URA_skill_1 set_country_flag = skill_1 modifier = { factor = 0 has_country_flag = URA_skill_1 } } - 1 = { set_country_flag = URA_skill_2 set_country_flag = skill_2 modifier = { factor = 0 has_country_flag = URA_skill_2 } } - 1 = { set_country_flag = URA_skill_3 set_country_flag = skill_3 modifier = { factor = 0 has_country_flag = URA_skill_3 } } - 1 = { set_country_flag = URA_skill_4 set_country_flag = skill_4 modifier = { factor = 0 has_country_flag = URA_skill_4 } } - 1 = { set_country_flag = URA_skill_5 set_country_flag = skill_5 modifier = { factor = 0 has_country_flag = URA_skill_5 } } - 1 = { set_country_flag = URA_skill_6 set_country_flag = skill_6 modifier = { factor = 0 has_country_flag = URA_skill_6 } } - 1 = { set_country_flag = URA_skill_7 set_country_flag = skill_7 modifier = { factor = 0 has_country_flag = URA_skill_7 } } - 1 = { set_country_flag = URA_skill_8 set_country_flag = skill_8 modifier = { factor = 0 has_country_flag = URA_skill_8 } } - 1 = { set_country_flag = URA_skill_9 set_country_flag = skill_9 modifier = { factor = 0 has_country_flag = URA_skill_9 } } - 1 = { set_country_flag = URA_skill_10 set_country_flag = skill_10 modifier = { factor = 0 has_country_flag = URA_skill_10 } } - 1 = { set_country_flag = URA_skill_11 set_country_flag = skill_11 modifier = { factor = 0 has_country_flag = URA_skill_11 } } - 1 = { set_country_flag = URA_skill_12 set_country_flag = skill_12 modifier = { factor = 0 has_country_flag = URA_skill_12 } } - 1 = { set_country_flag = URA_skill_13 set_country_flag = skill_13 modifier = { factor = 0 has_country_flag = URA_skill_13 } } - 1 = { set_country_flag = URA_skill_14 set_country_flag = skill_14 modifier = { factor = 0 has_country_flag = URA_skill_14 } } - 1 = { set_country_flag = URA_skill_15 set_country_flag = skill_15 modifier = { factor = 0 has_country_flag = URA_skill_15 } } - 1 = { set_country_flag = URA_skill_16 set_country_flag = skill_16 modifier = { factor = 0 has_country_flag = URA_skill_16 } } - 1 = { set_country_flag = URA_skill_17 set_country_flag = skill_17 modifier = { factor = 0 has_country_flag = URA_skill_17 } } - 1 = { set_country_flag = URA_skill_18 set_country_flag = skill_18 modifier = { factor = 0 has_country_flag = URA_skill_18 } } - 1 = { set_country_flag = URA_skill_19 set_country_flag = skill_19 modifier = { factor = 0 has_country_flag = URA_skill_19 } } - 1 = { set_country_flag = URA_skill_20 set_country_flag = skill_20 modifier = { factor = 0 has_country_flag = URA_skill_20 } } - 1 = { set_country_flag = URA_skill_21 set_country_flag = skill_21 modifier = { factor = 0 has_country_flag = URA_skill_21 } } - 1 = { set_country_flag = URA_skill_22 set_country_flag = skill_22 modifier = { factor = 0 has_country_flag = URA_skill_22 } } - 1 = { set_country_flag = URA_skill_23 set_country_flag = skill_23 modifier = { factor = 0 has_country_flag = URA_skill_23 } } - 1 = { set_country_flag = URA_skill_24 set_country_flag = skill_24 modifier = { factor = 0 has_country_flag = URA_skill_24 } } - 1 = { set_country_flag = URA_skill_25 set_country_flag = skill_25 modifier = { factor = 0 has_country_flag = URA_skill_25 } } - 1 = { set_country_flag = URA_skill_26 set_country_flag = skill_26 modifier = { factor = 0 has_country_flag = URA_skill_26 } } - 1 = { set_country_flag = URA_skill_27 set_country_flag = skill_27 modifier = { factor = 0 has_country_flag = URA_skill_27 } } - 1 = { set_country_flag = URA_skill_28 set_country_flag = skill_28 modifier = { factor = 0 has_country_flag = URA_skill_28 } } - 1 = { set_country_flag = URA_skill_29 set_country_flag = skill_29 modifier = { factor = 0 has_country_flag = URA_skill_29 } } - 1 = { set_country_flag = URA_skill_30 set_country_flag = skill_30 modifier = { factor = 0 has_country_flag = URA_skill_30 } } - 1 = { set_country_flag = URA_skill_31 set_country_flag = skill_31 modifier = { factor = 0 has_country_flag = URA_skill_31 } } - 1 = { set_country_flag = URA_skill_32 set_country_flag = skill_32 modifier = { factor = 0 has_country_flag = URA_skill_32 } } - 1 = { set_country_flag = URA_skill_33 set_country_flag = skill_33 modifier = { factor = 0 has_country_flag = URA_skill_33 } } - 1 = { set_country_flag = URA_skill_34 set_country_flag = skill_34 modifier = { factor = 0 has_country_flag = URA_skill_34 } } - 1 = { set_country_flag = URA_skill_35 set_country_flag = skill_35 modifier = { factor = 0 has_country_flag = URA_skill_35 } } - 1 = { set_country_flag = URA_skill_36 set_country_flag = skill_36 modifier = { factor = 0 has_country_flag = URA_skill_36 } } - 1 = { set_country_flag = URA_skill_37 set_country_flag = skill_37 modifier = { factor = 0 has_country_flag = URA_skill_37 } } - 1 = { set_country_flag = URA_skill_38 set_country_flag = skill_38 modifier = { factor = 0 has_country_flag = URA_skill_38 } } - 1 = { set_country_flag = URA_skill_39 set_country_flag = skill_39 modifier = { factor = 0 has_country_flag = URA_skill_39 } } - 1 = { set_country_flag = URA_skill_40 set_country_flag = skill_40 modifier = { factor = 0 has_country_flag = URA_skill_40 } } - 1 = { set_country_flag = URA_skill_41 set_country_flag = skill_41 modifier = { factor = 0 has_country_flag = URA_skill_41 } } - 1 = { set_country_flag = URA_skill_42 set_country_flag = skill_42 modifier = { factor = 0 has_country_flag = URA_skill_42 } } - 1 = { set_country_flag = URA_skill_43 set_country_flag = skill_43 modifier = { factor = 0 has_country_flag = URA_skill_43 } } - 1 = { set_country_flag = URA_skill_44 set_country_flag = skill_44 modifier = { factor = 0 has_country_flag = URA_skill_44 } } - 1 = { set_country_flag = URA_skill_45 set_country_flag = skill_45 modifier = { factor = 0 has_country_flag = URA_skill_45 } } - 1 = { set_country_flag = URA_skill_46 set_country_flag = skill_46 modifier = { factor = 0 has_country_flag = URA_skill_46 } } - 1 = { set_country_flag = URA_skill_47 set_country_flag = skill_47 modifier = { factor = 0 has_country_flag = URA_skill_47 } } - 1 = { set_country_flag = URA_skill_48 set_country_flag = skill_48 modifier = { factor = 0 has_country_flag = URA_skill_48 } } - 1 = { set_country_flag = URA_skill_49 set_country_flag = skill_49 modifier = { factor = 0 has_country_flag = URA_skill_49 } } - 1 = { set_country_flag = URA_skill_50 set_country_flag = skill_50 modifier = { factor = 0 has_country_flag = URA_skill_50 } } - 1 = { set_country_flag = URA_skill_51 set_country_flag = skill_51 modifier = { factor = 0 has_country_flag = URA_skill_51 } } - 1 = { set_country_flag = URA_skill_52 set_country_flag = skill_52 modifier = { factor = 0 has_country_flag = URA_skill_52 } } - 1 = { set_country_flag = URA_skill_53 set_country_flag = skill_53 modifier = { factor = 0 has_country_flag = URA_skill_53 } } - 1 = { set_country_flag = URA_skill_54 set_country_flag = skill_54 modifier = { factor = 0 has_country_flag = URA_skill_54 } } - 1 = { set_country_flag = URA_skill_55 set_country_flag = skill_55 modifier = { factor = 0 has_country_flag = URA_skill_55 } } - 1 = { set_country_flag = URA_skill_56 set_country_flag = skill_56 modifier = { factor = 0 has_country_flag = URA_skill_56 } } - 1 = { set_country_flag = URA_skill_57 set_country_flag = skill_57 modifier = { factor = 0 has_country_flag = URA_skill_57 } } - 1 = { set_country_flag = URA_skill_58 set_country_flag = skill_58 modifier = { factor = 0 has_country_flag = URA_skill_58 } } - 1 = { set_country_flag = URA_skill_59 set_country_flag = skill_59 modifier = { factor = 0 has_country_flag = URA_skill_59 } } - 1 = { set_country_flag = URA_skill_60 set_country_flag = skill_60 modifier = { factor = 0 has_country_flag = URA_skill_60 } } - 1 = { set_country_flag = URA_skill_61 set_country_flag = skill_61 modifier = { factor = 0 has_country_flag = URA_skill_61 } } - 1 = { set_country_flag = URA_skill_62 set_country_flag = skill_62 modifier = { factor = 0 has_country_flag = URA_skill_62 } } - 1 = { set_country_flag = URA_skill_63 set_country_flag = skill_63 modifier = { factor = 0 has_country_flag = URA_skill_63 } } - 1 = { set_country_flag = URA_skill_64 set_country_flag = skill_64 modifier = { factor = 0 has_country_flag = URA_skill_64 } } - 1 = { set_country_flag = URA_skill_65 set_country_flag = skill_65 modifier = { factor = 0 has_country_flag = URA_skill_65 } } - 1 = { set_country_flag = URA_skill_66 set_country_flag = skill_66 modifier = { factor = 0 has_country_flag = URA_skill_66 } } - 1 = { set_country_flag = URA_skill_67 set_country_flag = skill_67 modifier = { factor = 0 has_country_flag = URA_skill_67 } } - 1 = { set_country_flag = URA_skill_68 set_country_flag = skill_68 modifier = { factor = 0 has_country_flag = URA_skill_68 } } - 1 = { set_country_flag = URA_skill_69 set_country_flag = skill_69 modifier = { factor = 0 has_country_flag = URA_skill_69 } } - 1 = { set_country_flag = URA_skill_70 set_country_flag = skill_70 modifier = { factor = 0 has_country_flag = URA_skill_70 } } - 1 = { set_country_flag = URA_skill_71 set_country_flag = skill_71 modifier = { factor = 0 has_country_flag = URA_skill_71 } } - } - } - - skill_show = { - if = { limit = { has_country_flag = skill_1 } unlock_decision_tooltip = Skill_1 clr_country_flag = skill_1 } - if = { limit = { has_country_flag = skill_2 } unlock_decision_tooltip = Skill_2 clr_country_flag = skill_2 } - if = { limit = { has_country_flag = skill_3 } unlock_decision_tooltip = Skill_3 clr_country_flag = skill_3 } - if = { limit = { has_country_flag = skill_4 } unlock_decision_tooltip = Skill_4 clr_country_flag = skill_4 } - if = { limit = { has_country_flag = skill_5 } unlock_decision_tooltip = Skill_5 clr_country_flag = skill_5 } - if = { limit = { has_country_flag = skill_6 } unlock_decision_tooltip = Skill_6 clr_country_flag = skill_6 } - if = { limit = { has_country_flag = skill_7 } unlock_decision_tooltip = Skill_7 clr_country_flag = skill_7 } - if = { limit = { has_country_flag = skill_8 } unlock_decision_tooltip = Skill_8 clr_country_flag = skill_8 } - if = { limit = { has_country_flag = skill_9 } unlock_decision_tooltip = Skill_9 clr_country_flag = skill_9 } - if = { limit = { has_country_flag = skill_10 } unlock_decision_tooltip = Skill_10 clr_country_flag = skill_10 } - if = { limit = { has_country_flag = skill_11 } unlock_decision_tooltip = Skill_11 clr_country_flag = skill_11 } - if = { limit = { has_country_flag = skill_12 } unlock_decision_tooltip = Skill_12 clr_country_flag = skill_12 } - if = { limit = { has_country_flag = skill_13 } unlock_decision_tooltip = Skill_13 clr_country_flag = skill_13 } - if = { limit = { has_country_flag = skill_14 } unlock_decision_tooltip = Skill_14 clr_country_flag = skill_14 } - if = { limit = { has_country_flag = skill_15 } unlock_decision_tooltip = Skill_15 clr_country_flag = skill_15 } - if = { limit = { has_country_flag = skill_16 } unlock_decision_tooltip = Skill_16 clr_country_flag = skill_16 } - if = { limit = { has_country_flag = skill_17 } unlock_decision_tooltip = Skill_17 clr_country_flag = skill_17 } - if = { limit = { has_country_flag = skill_18 } unlock_decision_tooltip = Skill_18 clr_country_flag = skill_18 } - if = { limit = { has_country_flag = skill_19 } unlock_decision_tooltip = Skill_19 clr_country_flag = skill_19 } - if = { limit = { has_country_flag = skill_20 } unlock_decision_tooltip = Skill_20 clr_country_flag = skill_20 } - if = { limit = { has_country_flag = skill_21 } unlock_decision_tooltip = Skill_21 clr_country_flag = skill_21 } - if = { limit = { has_country_flag = skill_22 } unlock_decision_tooltip = Skill_22 clr_country_flag = skill_22 } - if = { limit = { has_country_flag = skill_23 } unlock_decision_tooltip = Skill_23 clr_country_flag = skill_23 } - if = { limit = { has_country_flag = skill_24 } unlock_decision_tooltip = Skill_24 clr_country_flag = skill_24 } - if = { limit = { has_country_flag = skill_25 } unlock_decision_tooltip = Skill_25 clr_country_flag = skill_25 } - if = { limit = { has_country_flag = skill_26 } unlock_decision_tooltip = Skill_26 clr_country_flag = skill_26 } - if = { limit = { has_country_flag = skill_27 } unlock_decision_tooltip = Skill_27 clr_country_flag = skill_27 } - if = { limit = { has_country_flag = skill_28 } unlock_decision_tooltip = Skill_28 clr_country_flag = skill_28 } - if = { limit = { has_country_flag = skill_29 } unlock_decision_tooltip = Skill_29 clr_country_flag = skill_29 } - if = { limit = { has_country_flag = skill_30 } unlock_decision_tooltip = Skill_30 clr_country_flag = skill_30 } - if = { limit = { has_country_flag = skill_31 } unlock_decision_tooltip = Skill_31 clr_country_flag = skill_31 } - if = { limit = { has_country_flag = skill_32 } unlock_decision_tooltip = Skill_32 clr_country_flag = skill_32 } - if = { limit = { has_country_flag = skill_33 } unlock_decision_tooltip = Skill_33 clr_country_flag = skill_33 } - if = { limit = { has_country_flag = skill_34 } unlock_decision_tooltip = Skill_34 clr_country_flag = skill_34 } - if = { limit = { has_country_flag = skill_35 } unlock_decision_tooltip = Skill_35 clr_country_flag = skill_35 } - if = { limit = { has_country_flag = skill_36 } unlock_decision_tooltip = Skill_36 clr_country_flag = skill_36 } - if = { limit = { has_country_flag = skill_37 } unlock_decision_tooltip = Skill_37 clr_country_flag = skill_37 } - if = { limit = { has_country_flag = skill_38 } unlock_decision_tooltip = Skill_38 clr_country_flag = skill_38 } - if = { limit = { has_country_flag = skill_39 } unlock_decision_tooltip = Skill_39 clr_country_flag = skill_39 } - if = { limit = { has_country_flag = skill_40 } unlock_decision_tooltip = Skill_40 clr_country_flag = skill_40 } - if = { limit = { has_country_flag = skill_41 } unlock_decision_tooltip = Skill_41 clr_country_flag = skill_41 } - if = { limit = { has_country_flag = skill_42 } unlock_decision_tooltip = Skill_42 clr_country_flag = skill_42 } - if = { limit = { has_country_flag = skill_43 } unlock_decision_tooltip = Skill_43 clr_country_flag = skill_43 } - if = { limit = { has_country_flag = skill_44 } unlock_decision_tooltip = Skill_44 clr_country_flag = skill_44 } - if = { limit = { has_country_flag = skill_45 } unlock_decision_tooltip = Skill_45 clr_country_flag = skill_45 } - if = { limit = { has_country_flag = skill_46 } unlock_decision_tooltip = Skill_46 clr_country_flag = skill_46 } - if = { limit = { has_country_flag = skill_47 } unlock_decision_tooltip = Skill_47 clr_country_flag = skill_47 } - if = { limit = { has_country_flag = skill_48 } unlock_decision_tooltip = Skill_48 clr_country_flag = skill_48 } - if = { limit = { has_country_flag = skill_49 } unlock_decision_tooltip = Skill_49 clr_country_flag = skill_49 } - if = { limit = { has_country_flag = skill_50 } unlock_decision_tooltip = Skill_50 clr_country_flag = skill_50 } - if = { limit = { has_country_flag = skill_51 } unlock_decision_tooltip = Skill_51 clr_country_flag = skill_51 } - if = { limit = { has_country_flag = skill_52 } unlock_decision_tooltip = Skill_52 clr_country_flag = skill_52 } - if = { limit = { has_country_flag = skill_53 } unlock_decision_tooltip = Skill_53 clr_country_flag = skill_53 } - if = { limit = { has_country_flag = skill_54 } unlock_decision_tooltip = Skill_54 clr_country_flag = skill_54 } - if = { limit = { has_country_flag = skill_55 } unlock_decision_tooltip = Skill_55 clr_country_flag = skill_55 } - if = { limit = { has_country_flag = skill_56 } unlock_decision_tooltip = Skill_56 clr_country_flag = skill_56 } - if = { limit = { has_country_flag = skill_57 } unlock_decision_tooltip = Skill_57 clr_country_flag = skill_57 } - if = { limit = { has_country_flag = skill_58 } unlock_decision_tooltip = Skill_58 clr_country_flag = skill_58 } - if = { limit = { has_country_flag = skill_59 } unlock_decision_tooltip = Skill_59 clr_country_flag = skill_59 } - if = { limit = { has_country_flag = skill_60 } unlock_decision_tooltip = Skill_60 clr_country_flag = skill_60 } - if = { limit = { has_country_flag = skill_61 } unlock_decision_tooltip = Skill_61 clr_country_flag = skill_61 } - if = { limit = { has_country_flag = skill_62 } unlock_decision_tooltip = Skill_62 clr_country_flag = skill_62 } - if = { limit = { has_country_flag = skill_63 } unlock_decision_tooltip = Skill_63 clr_country_flag = skill_63 } - if = { limit = { has_country_flag = skill_64 } unlock_decision_tooltip = Skill_64 clr_country_flag = skill_64 } - if = { limit = { has_country_flag = skill_65 } unlock_decision_tooltip = Skill_65 clr_country_flag = skill_65 } - if = { limit = { has_country_flag = skill_66 } unlock_decision_tooltip = Skill_66 clr_country_flag = skill_66 } - if = { limit = { has_country_flag = skill_67 } unlock_decision_tooltip = Skill_67 clr_country_flag = skill_67 } - if = { limit = { has_country_flag = skill_68 } unlock_decision_tooltip = Skill_68 clr_country_flag = skill_68 } - if = { limit = { has_country_flag = skill_69 } unlock_decision_tooltip = Skill_69 clr_country_flag = skill_69 } - if = { limit = { has_country_flag = skill_70 } unlock_decision_tooltip = Skill_70 clr_country_flag = skill_70 } - if = { limit = { has_country_flag = skill_71 } unlock_decision_tooltip = Skill_71 clr_country_flag = skill_71 } - - } - - check_S = { - if = { - limit = { - check_variable = { var = data_S value = 1200 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_S_D - } - swap_ideas = { - remove_idea = pingjia_S_D - add_idea = pingjia_S_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_S_C - } - swap_ideas = { - remove_idea = pingjia_S_C - add_idea = pingjia_S_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_S_B - } - swap_ideas = { - remove_idea = pingjia_S_B - add_idea = pingjia_S_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_S_A - } - swap_ideas = { - remove_idea = pingjia_S_A - add_idea = pingjia_S_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_S_S - } - swap_ideas = { - remove_idea = pingjia_S_S - add_idea = pingjia_S_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_S_SS - } - swap_ideas = { - remove_idea = pingjia_S_SS - add_idea = pingjia_S_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_S_SSS - } - } - else = { - add_ideas = pingjia_S_SSS - } - } - else_if = { - limit = { - check_variable = { var = data_S value = 1100 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_S_D - } - swap_ideas = { - remove_idea = pingjia_S_D - add_idea = pingjia_S_SS - } - } - else_if = { - limit = { - has_idea = pingjia_S_C - } - swap_ideas = { - remove_idea = pingjia_S_C - add_idea = pingjia_S_SS - } - } - else_if = { - limit = { - has_idea = pingjia_S_B - } - swap_ideas = { - remove_idea = pingjia_S_B - add_idea = pingjia_S_SS - } - } - else_if = { - limit = { - has_idea = pingjia_S_A - } - swap_ideas = { - remove_idea = pingjia_S_A - add_idea = pingjia_S_SS - } - } - else_if = { - limit = { - has_idea = pingjia_S_S - } - swap_ideas = { - remove_idea = pingjia_S_S - add_idea = pingjia_S_SS - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_S_SS - has_idea = pingjia_S_SSS - } - } - } - - else = { - add_ideas = pingjia_S_SS - } - } - - else_if = { - limit = { - check_variable = { var = data_S value = 1000 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_S_D - } - swap_ideas = { - remove_idea = pingjia_S_D - add_idea = pingjia_S_S - } - } - else_if = { - limit = { - has_idea = pingjia_S_C - } - swap_ideas = { - remove_idea = pingjia_S_C - add_idea = pingjia_S_S - } - } - else_if = { - limit = { - has_idea = pingjia_S_B - } - swap_ideas = { - remove_idea = pingjia_S_B - add_idea = pingjia_S_S - } - } - else_if = { - limit = { - has_idea = pingjia_S_A - } - swap_ideas = { - remove_idea = pingjia_S_A - add_idea = pingjia_S_S - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_S_S - has_idea = pingjia_S_SS - has_idea = pingjia_S_SSS - } - } - } - else = { - add_ideas = pingjia_S_S - - } - } - - else_if = { - limit = { - check_variable = { var = data_S value = 800 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_S_D - } - swap_ideas = { - remove_idea = pingjia_S_D - add_idea = pingjia_S_A - } - } - else_if = { - limit = { - has_idea = pingjia_S_C - } - swap_ideas = { - remove_idea = pingjia_S_C - add_idea = pingjia_S_A - } - } - else_if = { - limit = { - has_idea = pingjia_S_B - } - swap_ideas = { - remove_idea = pingjia_S_B - add_idea = pingjia_S_A - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_S_S - has_idea = pingjia_S_SS - has_idea = pingjia_S_SSS - has_idea = pingjia_S_A - } - } - } - else = { - add_ideas = pingjia_S_A - } - } - - else_if = { - limit = { - check_variable = { var = data_S value = 600 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_S_D - } - swap_ideas = { - remove_idea = pingjia_S_D - add_idea = pingjia_S_B - } - } - else_if = { - limit = { - has_idea = pingjia_S_C - } - swap_ideas = { - remove_idea = pingjia_S_C - add_idea = pingjia_S_B - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_S_S - has_idea = pingjia_S_SS - has_idea = pingjia_S_SSS - has_idea = pingjia_S_A - has_idea = pingjia_S_B - } - } - } - else = { - add_ideas = pingjia_S_B - } - } - - else_if = { - limit = { - check_variable = { var = data_S value = 400 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_S_D - } - swap_ideas = { - remove_idea = pingjia_S_D - add_idea = pingjia_S_C - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_S_S - has_idea = pingjia_S_SS - has_idea = pingjia_S_SSS - has_idea = pingjia_S_A - has_idea = pingjia_S_B - has_idea = pingjia_S_C - } - } - } - else = { - add_ideas = pingjia_S_C - - } - } - - else_if = { - limit = { - check_variable = { var = data_S value = 300 compare = greater_than_or_equals } - } - if = { - limit = { - OR = { - has_idea = pingjia_S_S - has_idea = pingjia_S_SS - has_idea = pingjia_S_SSS - has_idea = pingjia_S_A - has_idea = pingjia_S_B - has_idea = pingjia_S_C - has_idea = pingjia_S_D - } - } - } - else = { - add_ideas = pingjia_S_D - } - } - else = { - - } - } - - check_N = { - if = { - limit = { - check_variable = { var = data_N value = 1200 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_N_D - } - swap_ideas = { - remove_idea = pingjia_N_D - add_idea = pingjia_N_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_N_C - } - swap_ideas = { - remove_idea = pingjia_N_C - add_idea = pingjia_N_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_N_B - } - swap_ideas = { - remove_idea = pingjia_N_B - add_idea = pingjia_N_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_N_A - } - swap_ideas = { - remove_idea = pingjia_N_A - add_idea = pingjia_N_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_N_S - } - swap_ideas = { - remove_idea = pingjia_N_S - add_idea = pingjia_N_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_N_SS - } - swap_ideas = { - remove_idea = pingjia_N_SS - add_idea = pingjia_N_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_N_SSS - } - } - else = { - add_ideas = pingjia_N_SSS - } - } - else_if = { - limit = { - check_variable = { var = data_N value = 1100 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_N_D - } - swap_ideas = { - remove_idea = pingjia_N_D - add_idea = pingjia_N_SS - } - } - else_if = { - limit = { - has_idea = pingjia_N_C - } - swap_ideas = { - remove_idea = pingjia_N_C - add_idea = pingjia_N_SS - } - } - else_if = { - limit = { - has_idea = pingjia_N_B - } - swap_ideas = { - remove_idea = pingjia_N_B - add_idea = pingjia_N_SS - } - } - else_if = { - limit = { - has_idea = pingjia_N_A - } - swap_ideas = { - remove_idea = pingjia_N_A - add_idea = pingjia_N_SS - } - } - else_if = { - limit = { - has_idea = pingjia_N_S - } - swap_ideas = { - remove_idea = pingjia_N_S - add_idea = pingjia_N_SS - } - } - else_if = { - limit = { - OR ={ - has_idea = pingjia_N_SS - has_idea = pingjia_N_SSS - } - } - - } - else = { - add_ideas = pingjia_N_SS - } - } - - else_if = { - limit = { - check_variable = { var = data_N value = 1000 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_N_D - } - swap_ideas = { - remove_idea = pingjia_N_D - add_idea = pingjia_N_S - } - } - else_if = { - limit = { - has_idea = pingjia_N_C - } - swap_ideas = { - remove_idea = pingjia_N_C - add_idea = pingjia_N_S - } - } - else_if = { - limit = { - has_idea = pingjia_N_B - } - swap_ideas = { - remove_idea = pingjia_N_B - add_idea = pingjia_N_S - } - } - else_if = { - limit = { - has_idea = pingjia_N_A - } - swap_ideas = { - remove_idea = pingjia_N_A - add_idea = pingjia_N_S - } - } - else_if = { - limit = { - OR ={ - has_idea = pingjia_N_S - has_idea = pingjia_N_SS - has_idea = pingjia_N_SSS - } - } - } - else = { - add_ideas = pingjia_N_S - } - } - - else_if = { - limit = { - check_variable = { var = data_N value = 800 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_N_D - } - swap_ideas = { - remove_idea = pingjia_N_D - add_idea = pingjia_N_A - } - } - else_if = { - limit = { - has_idea = pingjia_N_C - } - swap_ideas = { - remove_idea = pingjia_N_C - add_idea = pingjia_N_A - } - } - else_if = { - limit = { - has_idea = pingjia_N_B - } - swap_ideas = { - remove_idea = pingjia_N_B - add_idea = pingjia_N_A - } - } - else_if = { - limit = { - OR ={ - has_idea = pingjia_N_A - has_idea = pingjia_N_S - has_idea = pingjia_N_SS - has_idea = pingjia_N_SSS - } - } - } - else = { - add_ideas = pingjia_N_A - } - } - - else_if = { - limit = { - check_variable = { var = data_N value = 600 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_N_D - } - swap_ideas = { - remove_idea = pingjia_N_D - add_idea = pingjia_N_B - } - } - else_if = { - limit = { - has_idea = pingjia_N_C - } - swap_ideas = { - remove_idea = pingjia_N_C - add_idea = pingjia_N_B - } - } - else_if = { - limit = { - OR ={ - has_idea = pingjia_N_B - has_idea = pingjia_N_A - has_idea = pingjia_N_S - has_idea = pingjia_N_SS - has_idea = pingjia_N_SSS - } - } - } - else = { - add_ideas = pingjia_N_B - } - } - - else_if = { - limit = { - check_variable = { var = data_N value = 400 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_N_D - } - swap_ideas = { - remove_idea = pingjia_N_D - add_idea = pingjia_N_C - } - } - else_if = { - limit = { - OR ={ - has_idea = pingjia_N_C - has_idea = pingjia_N_B - has_idea = pingjia_N_A - has_idea = pingjia_N_S - has_idea = pingjia_N_SS - has_idea = pingjia_N_SSS - } - } - } - else = { - add_ideas = pingjia_N_C - } - } - - else_if = { - limit = { - check_variable = { var = data_N value = 300 compare = greater_than_or_equals } - } - if = { - limit = { - OR ={ - has_idea = pingjia_N_D - has_idea = pingjia_N_C - has_idea = pingjia_N_B - has_idea = pingjia_N_A - has_idea = pingjia_N_S - has_idea = pingjia_N_SS - has_idea = pingjia_N_SSS - } - } - } - else = { - add_ideas = pingjia_N_D - } - } - - else = { - - } - - } - - check_L = { - if = { - limit = { - check_variable = { var = data_L value = 1200 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_L_D - } - swap_ideas = { - remove_idea = pingjia_L_D - add_idea = pingjia_L_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_L_C - } - swap_ideas = { - remove_idea = pingjia_L_C - add_idea = pingjia_L_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_L_B - } - swap_ideas = { - remove_idea = pingjia_L_B - add_idea = pingjia_L_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_L_A - } - swap_ideas = { - remove_idea = pingjia_L_A - add_idea = pingjia_L_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_L_S - } - swap_ideas = { - remove_idea = pingjia_L_S - add_idea = pingjia_L_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_L_SS - } - swap_ideas = { - remove_idea = pingjia_L_SS - add_idea = pingjia_L_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_L_SSS - } - } - else = { - add_ideas = pingjia_L_SSS - } - } - else_if = { - limit = { - check_variable = { var = data_L value = 1100 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_L_D - } - swap_ideas = { - remove_idea = pingjia_L_D - add_idea = pingjia_L_SS - } - } - else_if = { - limit = { - has_idea = pingjia_L_C - } - swap_ideas = { - remove_idea = pingjia_L_C - add_idea = pingjia_L_SS - } - } - else_if = { - limit = { - has_idea = pingjia_L_B - } - swap_ideas = { - remove_idea = pingjia_L_B - add_idea = pingjia_L_SS - } - } - else_if = { - limit = { - has_idea = pingjia_L_A - } - swap_ideas = { - remove_idea = pingjia_L_A - add_idea = pingjia_L_SS - } - } - else_if = { - limit = { - has_idea = pingjia_L_S - } - swap_ideas = { - remove_idea = pingjia_L_S - add_idea = pingjia_L_SS - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_L_SS - has_idea = pingjia_L_SSS - } - } - } - else = { - add_ideas = pingjia_L_SS - } - } - - else_if = { - limit = { - check_variable = { var = data_L value = 1000 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_L_D - } - swap_ideas = { - remove_idea = pingjia_L_D - add_idea = pingjia_L_S - } - } - else_if = { - limit = { - has_idea = pingjia_L_C - } - swap_ideas = { - remove_idea = pingjia_L_C - add_idea = pingjia_L_S - } - } - else_if = { - limit = { - has_idea = pingjia_L_B - } - swap_ideas = { - remove_idea = pingjia_L_B - add_idea = pingjia_L_S - } - } - else_if = { - limit = { - has_idea = pingjia_L_A - } - swap_ideas = { - remove_idea = pingjia_L_A - add_idea = pingjia_L_S - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_L_S - has_idea = pingjia_L_SS - has_idea = pingjia_L_SSS - } - } - } - else = { - add_ideas = pingjia_L_S - } - } - - else_if = { - limit = { - check_variable = { var = data_L value = 800 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_L_D - } - swap_ideas = { - remove_idea = pingjia_L_D - add_idea = pingjia_L_A - } - } - else_if = { - limit = { - has_idea = pingjia_L_C - } - swap_ideas = { - remove_idea = pingjia_L_C - add_idea = pingjia_L_A - } - } - else_if = { - limit = { - has_idea = pingjia_L_B - } - swap_ideas = { - remove_idea = pingjia_L_B - add_idea = pingjia_L_A - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_L_A - has_idea = pingjia_L_S - has_idea = pingjia_L_SS - has_idea = pingjia_L_SSS - } - } - } - else = { - add_ideas = pingjia_L_A - } - } - - else_if = { - limit = { - check_variable = { var = data_L value = 600 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_L_D - } - swap_ideas = { - remove_idea = pingjia_L_D - add_idea = pingjia_L_B - } - } - else_if = { - limit = { - has_idea = pingjia_L_C - } - swap_ideas = { - remove_idea = pingjia_L_C - add_idea = pingjia_L_B - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_L_B - has_idea = pingjia_L_A - has_idea = pingjia_L_S - has_idea = pingjia_L_SS - has_idea = pingjia_L_SSS - } - } - } - else = { - add_ideas = pingjia_L_B - } - } - - else_if = { - limit = { - check_variable = { var = data_L value = 400 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_L_D - } - swap_ideas = { - remove_idea = pingjia_L_D - add_idea = pingjia_L_C - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_L_C - has_idea = pingjia_L_B - has_idea = pingjia_L_A - has_idea = pingjia_L_S - has_idea = pingjia_L_SS - has_idea = pingjia_L_SSS - } - } - } - else = { - add_ideas = pingjia_L_C - } - } - - else_if = { - limit = { - check_variable = { var = data_L value = 300 compare = greater_than_or_equals } - } - if = { - limit = { - OR = { - has_idea = pingjia_L_D - has_idea = pingjia_L_C - has_idea = pingjia_L_B - has_idea = pingjia_L_A - has_idea = pingjia_L_S - has_idea = pingjia_L_SS - has_idea = pingjia_L_SSS - } - } - } - else = { - add_ideas = pingjia_L_D - } - } - - else = { - - } - - } - - check_G = { - if = { - limit = { - check_variable = { var = data_G value = 1200 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_G_D - } - swap_ideas = { - remove_idea = pingjia_G_D - add_idea = pingjia_G_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_G_C - } - swap_ideas = { - remove_idea = pingjia_G_C - add_idea = pingjia_G_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_G_B - } - swap_ideas = { - remove_idea = pingjia_G_B - add_idea = pingjia_G_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_G_A - } - swap_ideas = { - remove_idea = pingjia_G_A - add_idea = pingjia_G_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_G_S - } - swap_ideas = { - remove_idea = pingjia_G_S - add_idea = pingjia_G_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_G_SS - } - swap_ideas = { - remove_idea = pingjia_G_SS - add_idea = pingjia_G_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_G_SSS - } - } - else = { - add_ideas = pingjia_G_SSS - } - } - else_if = { - limit = { - check_variable = { var = data_G value = 1100 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_G_D - } - swap_ideas = { - remove_idea = pingjia_G_D - add_idea = pingjia_G_SS - } - } - else_if = { - limit = { - has_idea = pingjia_G_C - } - swap_ideas = { - remove_idea = pingjia_G_C - add_idea = pingjia_G_SS - } - } - else_if = { - limit = { - has_idea = pingjia_G_B - } - swap_ideas = { - remove_idea = pingjia_G_B - add_idea = pingjia_G_SS - } - } - else_if = { - limit = { - has_idea = pingjia_G_A - } - swap_ideas = { - remove_idea = pingjia_G_A - add_idea = pingjia_G_SS - } - } - else_if = { - limit = { - has_idea = pingjia_G_S - } - swap_ideas = { - remove_idea = pingjia_G_S - add_idea = pingjia_G_SS - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_G_SS - has_idea = pingjia_G_SSS - } - } - } - else = { - add_ideas = pingjia_G_SS - } - } - - else_if = { - limit = { - check_variable = { var = data_G value = 1000 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_G_D - } - swap_ideas = { - remove_idea = pingjia_G_D - add_idea = pingjia_G_S - } - } - else_if = { - limit = { - has_idea = pingjia_G_C - } - swap_ideas = { - remove_idea = pingjia_G_C - add_idea = pingjia_G_S - } - } - else_if = { - limit = { - has_idea = pingjia_G_B - } - swap_ideas = { - remove_idea = pingjia_G_B - add_idea = pingjia_G_S - } - } - else_if = { - limit = { - has_idea = pingjia_G_A - } - swap_ideas = { - remove_idea = pingjia_G_A - add_idea = pingjia_G_S - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_G_S - has_idea = pingjia_G_SS - has_idea = pingjia_G_SSS - } - } - } - else = { - add_ideas = pingjia_G_S - } - } - - else_if = { - limit = { - check_variable = { var = data_G value = 800 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_G_D - } - swap_ideas = { - remove_idea = pingjia_G_D - add_idea = pingjia_G_A - } - } - else_if = { - limit = { - has_idea = pingjia_G_C - } - swap_ideas = { - remove_idea = pingjia_G_C - add_idea = pingjia_G_A - } - } - else_if = { - limit = { - has_idea = pingjia_G_B - } - swap_ideas = { - remove_idea = pingjia_G_B - add_idea = pingjia_G_A - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_G_A - has_idea = pingjia_G_S - has_idea = pingjia_G_SS - has_idea = pingjia_G_SSS - } - } - } - else = { - add_ideas = pingjia_G_A - } - } - - else_if = { - limit = { - check_variable = { var = data_G value = 600 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_G_D - } - swap_ideas = { - remove_idea = pingjia_G_D - add_idea = pingjia_G_B - } - } - else_if = { - limit = { - has_idea = pingjia_G_C - } - swap_ideas = { - remove_idea = pingjia_G_C - add_idea = pingjia_G_B - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_G_B - has_idea = pingjia_G_A - has_idea = pingjia_G_S - has_idea = pingjia_G_SS - has_idea = pingjia_G_SSS - } - } - } - else = { - add_ideas = pingjia_G_B - } - } - - else_if = { - limit = { - check_variable = { var = data_G value = 400 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_G_D - } - swap_ideas = { - remove_idea = pingjia_G_D - add_idea = pingjia_G_C - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_G_C - has_idea = pingjia_G_B - has_idea = pingjia_G_A - has_idea = pingjia_G_S - has_idea = pingjia_G_SS - has_idea = pingjia_G_SSS - } - } - } - else = { - add_ideas = pingjia_G_C - } - } - - else_if = { - limit = { - check_variable = { var = data_G value = 300 compare = greater_than_or_equals } - } - if = { - limit = { - OR = { - has_idea = pingjia_G_D - has_idea = pingjia_G_C - has_idea = pingjia_G_B - has_idea = pingjia_G_A - has_idea = pingjia_G_S - has_idea = pingjia_G_SS - has_idea = pingjia_G_SSS - } - } - } - else = { - add_ideas = pingjia_G_D - } - } - - else = { - - } - - - } - - check_Z = { - if = { - limit = { - check_variable = { var = data_Z value = 1200 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_Z_D - } - swap_ideas = { - remove_idea = pingjia_Z_D - add_idea = pingjia_Z_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_C - } - swap_ideas = { - remove_idea = pingjia_Z_C - add_idea = pingjia_Z_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_B - } - swap_ideas = { - remove_idea = pingjia_Z_B - add_idea = pingjia_Z_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_A - } - swap_ideas = { - remove_idea = pingjia_Z_A - add_idea = pingjia_Z_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_S - } - swap_ideas = { - remove_idea = pingjia_Z_S - add_idea = pingjia_Z_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_SS - } - swap_ideas = { - remove_idea = pingjia_Z_SS - add_idea = pingjia_Z_SSS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_SSS - } - } - else = { - add_ideas = pingjia_Z_SSS - } - } - else_if = { - limit = { - check_variable = { var = data_Z value = 1100 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_Z_D - } - swap_ideas = { - remove_idea = pingjia_Z_D - add_idea = pingjia_Z_SS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_C - } - swap_ideas = { - remove_idea = pingjia_Z_C - add_idea = pingjia_Z_SS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_B - } - swap_ideas = { - remove_idea = pingjia_Z_B - add_idea = pingjia_Z_SS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_A - } - swap_ideas = { - remove_idea = pingjia_Z_A - add_idea = pingjia_Z_SS - } - } - else_if = { - limit = { - has_idea = pingjia_Z_S - } - swap_ideas = { - remove_idea = pingjia_Z_S - add_idea = pingjia_Z_SS - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_Z_SS - has_idea = pingjia_Z_SSS - } - } - } - else = { - add_ideas = pingjia_Z_SS - } - } - - else_if = { - limit = { - check_variable = { var = data_Z value = 1000 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_Z_D - } - swap_ideas = { - remove_idea = pingjia_Z_D - add_idea = pingjia_Z_S - } - } - else_if = { - limit = { - has_idea = pingjia_Z_C - } - swap_ideas = { - remove_idea = pingjia_Z_C - add_idea = pingjia_Z_S - } - } - else_if = { - limit = { - has_idea = pingjia_Z_B - } - swap_ideas = { - remove_idea = pingjia_Z_B - add_idea = pingjia_Z_S - } - } - else_if = { - limit = { - has_idea = pingjia_Z_A - } - swap_ideas = { - remove_idea = pingjia_Z_A - add_idea = pingjia_Z_S - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_Z_S - has_idea = pingjia_Z_SS - has_idea = pingjia_Z_SSS - } - } - } - else = { - add_ideas = pingjia_Z_S - } - } - - else_if = { - limit = { - check_variable = { var = data_Z value = 800 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_Z_D - } - swap_ideas = { - remove_idea = pingjia_Z_D - add_idea = pingjia_Z_A - } - } - else_if = { - limit = { - has_idea = pingjia_Z_C - } - swap_ideas = { - remove_idea = pingjia_Z_C - add_idea = pingjia_Z_A - } - } - else_if = { - limit = { - has_idea = pingjia_Z_B - } - swap_ideas = { - remove_idea = pingjia_Z_B - add_idea = pingjia_Z_A - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_Z_A - has_idea = pingjia_Z_S - has_idea = pingjia_Z_SS - has_idea = pingjia_Z_SSS - } - } - } - else = { - add_ideas = pingjia_Z_A - } - } - - else_if = { - limit = { - check_variable = { var = data_Z value = 600 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_Z_D - } - swap_ideas = { - remove_idea = pingjia_Z_D - add_idea = pingjia_Z_B - } - } - else_if = { - limit = { - has_idea = pingjia_Z_C - } - swap_ideas = { - remove_idea = pingjia_Z_C - add_idea = pingjia_Z_B - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_Z_B - has_idea = pingjia_Z_A - has_idea = pingjia_Z_S - has_idea = pingjia_Z_SS - has_idea = pingjia_Z_SSS - } - } - } - else = { - add_ideas = pingjia_Z_B - } - } - - else_if = { - limit = { - check_variable = { var = data_Z value = 400 compare = greater_than_or_equals } - } - if = { - limit = { - has_idea = pingjia_Z_D - } - swap_ideas = { - remove_idea = pingjia_Z_D - add_idea = pingjia_Z_C - } - } - else_if = { - limit = { - OR = { - has_idea = pingjia_Z_C - has_idea = pingjia_Z_B - has_idea = pingjia_Z_A - has_idea = pingjia_Z_S - has_idea = pingjia_Z_SS - has_idea = pingjia_Z_SSS - } - } - } - else = { - add_ideas = pingjia_Z_C - } - } - - else_if = { - limit = { - check_variable = { var = data_Z value = 300 compare = greater_than_or_equals } - } - if = { - limit = { - OR = { - has_idea = pingjia_Z_D - has_idea = pingjia_Z_C - has_idea = pingjia_Z_B - has_idea = pingjia_Z_A - has_idea = pingjia_Z_S - has_idea = pingjia_Z_SS - has_idea = pingjia_Z_SSS - } - } - } - else = { - add_ideas = pingjia_Z_D - } - } - else = { - - } - - } - - jiuzhen_S = { - if = { - limit = { check_variable = { var = ex_level_S value = 1 compare = equals } } - set_variable = { var = basic_S_S value = 10 } - set_variable = { var = basic_S_L value = 5 } - set_variable = { var = basic_S_P value = 2 } - - } - else_if = { - limit = { check_variable = { var = ex_level_S value = 2 compare = equals } } - set_variable = { var = basic_S_S value = 11 } - set_variable = { var = basic_S_L value = 5 } - set_variable = { var = basic_S_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_S value = 3 compare = equals } } - set_variable = { var = basic_S_S value = 12 } - set_variable = { var = basic_S_L value = 5 } - set_variable = { var = basic_S_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_S value = 4 compare = equals } } - set_variable = { var = basic_S_S value = 13 } - set_variable = { var = basic_S_L value = 6 } - set_variable = { var = basic_S_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_S value = 5 compare = equals } } - set_variable = { var = basic_S_S value = 14 } - set_variable = { var = basic_S_L value = 7 } - set_variable = { var = basic_S_P value = 2 } - } - } - - jiuzhen_N = { - if = { - limit = { check_variable = { var = ex_level_N value = 1 compare = equals } } - set_variable = { var = basic_N_N value = 9 } - set_variable = { var = basic_N_G value = 4 } - set_variable = { var = basic_N_P value = 2 } - - } - else_if = { - limit = { check_variable = { var = ex_level_N value = 2 compare = equals } } - set_variable = { var = basic_N_N value = 10 } - set_variable = { var = basic_N_G value = 4 } - set_variable = { var = basic_N_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_N value = 3 compare = equals } } - set_variable = { var = basic_N_N value = 11 } - set_variable = { var = basic_N_G value = 4 } - set_variable = { var = basic_N_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_N value = 4 compare = equals } } - set_variable = { var = basic_N_N value = 12 } - set_variable = { var = basic_N_G value = 5 } - set_variable = { var = basic_N_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_N value = 5 compare = equals } } - set_variable = { var = basic_N_N value = 13 } - set_variable = { var = basic_N_G value = 6 } - set_variable = { var = basic_N_P value = 2 } - } - } - - jiuzhen_L = { - if = { - limit = { check_variable = { var = ex_level_L value = 1 compare = equals } } - set_variable = { var = basic_L_L value = 8 } - set_variable = { var = basic_L_N value = 5 } - set_variable = { var = basic_L_P value = 2 } - - } - else_if = { - limit = { check_variable = { var = ex_level_L value = 2 compare = equals } } - set_variable = { var = basic_L_L value = 9 } - set_variable = { var = basic_L_N value = 5 } - set_variable = { var = basic_L_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_L value = 3 compare = equals } } - set_variable = { var = basic_L_L value = 10 } - set_variable = { var = basic_L_N value = 5 } - set_variable = { var = basic_L_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_L value = 4 compare = equals } } - set_variable = { var = basic_L_L value = 11 } - set_variable = { var = basic_L_N value = 6 } - set_variable = { var = basic_L_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_L value = 5 compare = equals } } - set_variable = { var = basic_L_L value = 12 } - set_variable = { var = basic_L_N value = 7 } - set_variable = { var = basic_L_P value = 2 } - } - } - - jiuzhen_G = { - if = { - limit = { check_variable = { var = ex_level_G value = 1 compare = equals } } - set_variable = { var = basic_G_G value = 8 } - set_variable = { var = basic_G_S value = 4 } - set_variable = { var = basic_G_L value = 4 } - set_variable = { var = basic_G_P value = 2 } - - } - else_if = { - limit = { check_variable = { var = ex_level_G value = 2 compare = equals } } - set_variable = { var = basic_G_G value = 9 } - set_variable = { var = basic_G_S value = 4 } - set_variable = { var = basic_G_L value = 4 } - set_variable = { var = basic_G_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_G value = 3 compare = equals } } - set_variable = { var = basic_G_G value = 10 } - set_variable = { var = basic_G_S value = 4 } - set_variable = { var = basic_G_L value = 4 } - set_variable = { var = basic_G_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_G value = 4 compare = equals } } - set_variable = { var = basic_G_G value = 11 } - set_variable = { var = basic_G_S value = 5 } - set_variable = { var = basic_G_L value = 4 } - set_variable = { var = basic_G_P value = 2 } - } - else_if = { - limit = { check_variable = { var = ex_level_G value = 5 compare = equals } } - set_variable = { var = basic_G_G value = 12 } - set_variable = { var = basic_G_S value = 5 } - set_variable = { var = basic_G_L value = 5 } - set_variable = { var = basic_G_P value = 2 } - } - } - -jiuzhen_Z = { - if = { - limit = { check_variable = { var = ex_level_Z value = 1 compare = equals } } - set_variable = { var = basic_Z_S value = 2 } - set_variable = { var = basic_Z_Z value = 9 } - set_variable = { var = basic_Z_P value = 4 } - - } - else_if = { - limit = { check_variable = { var = ex_level_Z value = 2 compare = equals } } - set_variable = { var = basic_Z_S value = 2 } - set_variable = { var = basic_Z_Z value = 10 } - set_variable = { var = basic_Z_P value = 4 } - } - else_if = { - limit = { check_variable = { var = ex_level_Z value = 3 compare = equals } } - set_variable = { var = basic_Z_S value = 2 } - set_variable = { var = basic_Z_Z value = 11 } - set_variable = { var = basic_Z_P value = 4 } - } - else_if = { - limit = { check_variable = { var = ex_level_Z value = 4 compare = equals } } - set_variable = { var = basic_Z_S value = 3 } - set_variable = { var = basic_Z_Z value = 12 } - set_variable = { var = basic_Z_P value = 4 } - } - else_if = { - limit = { check_variable = { var = ex_level_Z value = 5 compare = equals } } - set_variable = { var = basic_Z_S value = 4 } - set_variable = { var = basic_Z_Z value = 13 } - set_variable = { var = basic_Z_P value = 4 } - } -} - - \ No newline at end of file diff --git a/src/events/DOH_shijian.txt b/src/events/DOH_shijian.txt index a3d636a..8791cc0 100755 --- a/src/events/DOH_shijian.txt +++ b/src/events/DOH_shijian.txt @@ -727,6 +727,7 @@ country_event = { } } } + DOH_neibufenqi_jiazhong_effect = yes } } country_event = { @@ -777,6 +778,7 @@ country_event = { } } } + DOH_neibufenqi_jiazhong_effect = yes } } country_event = {