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 } } }