diff --git a/events/ht_jianshe_shengfen.txt b/events/ht_jianshe_shengfen.txt deleted file mode 100644 index 8ae4f10..0000000 --- a/events/ht_jianshe_shengfen.txt +++ /dev/null @@ -1,348 +0,0 @@ -namespace = ht_eve_jianshe_shengfen -country_event = { - id = ht_eve_jianshe_shengfen.1 - title = ht_jianshe_shengfen_maoyipin_t - desc = ht_jianshe_shengfen_maoyipin_d - picture = ht_shangdian - is_triggered_only = yes - fire_only_once = yes - option = { - name = jianshe_shengfen_zhuanhuan_maoyipin_shi - set_country_flag = jianshe_zhuanhao_maoyipin_shi - } - option = { - name = jianshe_shengfen_zhuanhuan_maoyipin_fou - set_country_flag = jianshe_zhuanhuan_maoyipin_fou - } -} -country_event = { - id = ht_eve_jianshe_shengfen.2 - title = ht_jianshe_shengfen_t - desc = ht_jianshe_shengfen_d - picture = ht_shangdian - is_triggered_only = yes - immediate = { - hidden_effect = { - if = { - limit = { has_estate_privilege = ht_ses_tq_xiehui } - random_province = { - limit = { has_ruler_leader_from = root } - save_event_target_as = ht_jianshe_shengfen_mubiao_di - } - } - if = { - limit = { has_estate_privilege = ht_ses_tq_xiehui } - random_province = { - limit = { has_heir_leader_from = root } - save_event_target_as = ht_jianshe_shengfen_mubiao_di - } - } - } - } - goto = ht_jianshe_shengfen_mubiao_di - option = { #cؚ,g0W2VIru - name = shengfen_junshi_baolei - trigger = { - event_target:ht_jianshe_shengfen_mubiao_di = { - NOT = { - has_province_modifier = jianshe_junshi_baolei - } - OR = { - has_building = fort_15th - has_building = fort_16th - has_building = fort_17th - has_building = fort_18th - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_junshi_baolei - duration = -1 - } - } - add_treasury = -300 - add_mil_power = -30 - } - option = { #yd,g0W2VIruOck - name = shengfen_junshi_baolei_chai - trigger = { - event_target:ht_jianshe_shengfen_mubiao_di = { - has_province_modifier = jianshe_junshi_baolei - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - remove_province_modifier = jianshe_junshi_baolei - } - } - option = { #^=nSW^ - name = shengfen_junshi_gangkou - add_treasury = -300 - add_dip_power = -30 - trigger = { - event_target:ht_jianshe_shengfen_mubiao_di = { - NOT = { - has_province_modifier = jianshe_junshi_gangkou - } - has_port = yes - province_has_center_of_trade_of_level = 1 - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_junshi_gangkou - duration = -1 - } - } - if = { - limit = { - has_country_flag = jianshe_zhuanhao_maoyipin_shi - } - event_target:ht_jianshe_shengfen_mubiao_di = { - change_trade_goods = ht_maoyipin_gangkou - } - } - } - option = { - name = shengfen_chanwu_jianshe - add_treasury = -300 - add_adm_power = -30 - trigger = { - event_target:ht_jianshe_shengfen_mubiao_di = { - OR = { - has_port = no - NOT = { - province_has_center_of_trade_of_level = 1 - } - } - NOT = { - has_province_modifier = jianshe_sf_junshi - has_province_modifier = jianshe_sf_caikuang - has_province_modifier = jianshe_sf_gongye - has_province_modifier = jianshe_sf_yinpin - has_province_modifier = jianshe_sf_nongye - has_province_modifier = jianshe_sf_haijun_renyuan - } - } - } - if = { #!h:W - limit = { - event_target:ht_jianshe_shengfen_mubiao_di = { - OR = { - trade_goods = salt #v - trade_goods = fur #kv - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_sf_junshi - duration = -1 - } - } - if = { - limit = { - has_country_flag = jianshe_zhuanhao_maoyipin_shi - } - event_target:ht_jianshe_shengfen_mubiao_di = { - change_trade_goods = ht_maoyipin_junshi_zhuzha - } - } - } - if = { #QN:S - limit = { - event_target:ht_jianshe_shengfen_mubiao_di = { - OR = { - trade_goods = grain #7ir - trade_goods = livestock #rrju - trade_goods = wool #k - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_sf_nongye - duration = -1 - } - } - if = { - limit = { - has_country_flag = jianshe_zhuanhao_maoyipin_shi - } - event_target:ht_jianshe_shengfen_mubiao_di = { - change_trade_goods = ht_maoyipin_nongye - } - } - } - if = { #ǑwS - limit = { - event_target:ht_jianshe_shengfen_mubiao_di = { - OR = { - trade_goods = copper #ܔw - trade_goods = iron #w - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_sf_caikuang - duration = -1 - } - } - if = { - limit = { - has_country_flag = jianshe_zhuanhao_maoyipin_shi - } - event_target:ht_jianshe_shengfen_mubiao_di = { - change_trade_goods = ht_maoyipin_caikuang - } - } - } - if = { #TN-NV - limit = { - event_target:ht_jianshe_shengfen_mubiao_di = { - OR = { - trade_goods = wine #R| - trade_goods = cloth #^e - trade_goods = chinaware #thV - trade_goods = spices #e - trade_goods = tobacco #pI - trade_goods = sugar #|| - trade_goods = silk #Nu - trade_goods = dyes #ge - trade_goods = tropical_wood #p&^(gPg - trade_goods = incense #q - trade_goods = glass #st - trade_goods = paper #u.V - trade_goods = gems #Rw - trade_goods = cloves #N - trade_goods = naval_supplies #9wQ - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_sf_gongye - duration = -1 - } - } - if = { - limit = { - has_country_flag = jianshe_zhuanhao_maoyipin_shi - } - event_target:ht_jianshe_shengfen_mubiao_di = { - change_trade_goods = ht_maoyipin_gongye - } - } - } - if = { #nTS - limit = { - event_target:ht_jianshe_shengfen_mubiao_di = { - OR = { - trade_goods = tea #6S - trade_goods = coffee #TaU - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_sf_yinpin - duration = -1 - } - } - if = { - limit = { - has_country_flag = jianshe_zhuanhao_maoyipin_shi - } - event_target:ht_jianshe_shengfen_mubiao_di = { - change_trade_goods = ht_maoyipin_yinpin - } - } - } - if = { #wmXTu:W - limit = { - event_target:ht_jianshe_shengfen_mubiao_di = { - has_port = yes #=f=nS - OR = { - trade_goods = fish #| - trade_goods = naval_supplies #9wQ - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_sf_haijun_renyuan - duration = -1 - } - } - if = { - limit = { - has_country_flag = jianshe_zhuanhao_maoyipin_shi - } - event_target:ht_jianshe_shengfen_mubiao_di = { - change_trade_goods = ht_maoyipin_haijun_zhuzha - } - } - } - } - option = { #S - name = shengfen_daolu_jianshe - add_treasury = -100 - trigger = { - event_target:ht_jianshe_shengfen_mubiao_di = { - NOT = { - has_province_modifier = jianshe_sf_daolu - } - } - } - event_target:ht_jianshe_shengfen_mubiao_di = { - add_province_modifier = { - name = jianshe_sf_daolu - duration = -1 - } - } - } - option = { #N.S - name = shengfen_daolu_jianshe_yijian - trigger = { - treasury = 1000 - hidden_trigger = { - any_owned_province = { - NOT = { - has_province_modifier = jianshe_sf_daolu - } - } - } - } - custom_tooltip = shengfen_daolu_jianshe_yijian_tt - hidden_effect = { - while = { - limit = { - treasury = 300 - any_owned_province = { - NOT = { - has_province_modifier = jianshe_sf_daolu - } - } - } - add_treasury = -75 - random_owned_province = { - limit = { - NOT = { - has_province_modifier = jianshe_sf_daolu - } - } - add_province_modifier = { - name = jianshe_sf_daolu - duration = -1 - } - add_province_modifier = { - name = jianshe_sf_daolu_yijian_houguo - duration = 3650 - } - } - } - } - } - option = { name = tuichu } -} \ No newline at end of file