ht_huzhu_xiehui/events/ht_jianshe_shengfen.txt
2024-11-21 17:26:22 +08:00

348 lines
12 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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Øš,g0W2¡VIrµu
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,g0W2¡VIrµuîOck
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 = { #ú^¾‹=nãSÎW^
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 #Ûk®v
}
}
}
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 #ir
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-NÃV
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 #ßp
trade_goods = sugar #Ö|‰|
trade_goods = silk #Nøu
trade_goods = dyes #Óg™e
trade_goods = tropical_wood #íp&^(gPg
trade_goods = incense #<10>q™™
trade_goods = glass #»sƒt
trade_goods = paper #¸u.V
trade_goods = gems #<12>Rów
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 = { #n™ÁTS
limit = {
event_target:ht_jianshe_shengfen_mubiao_di = {
OR = {
trade_goods = tea #öS
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 = { #wmXT­Ãu:W
limit = {
event_target:ht_jianshe_shengfen_mubiao_di = {
has_port = yes #=f=nãS
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 }
}