
행동
보물 항해 준비
중화제국의 영광을 알려진 세계와 그렇지 않은 세계 모든 곳에 구석구석 알려야 합니다. 이를 실현하기 위해 미지의 세계를 탐험하고 중화제국 Leader Country의 명성을 널리 알릴 영광스러운 항해단을 파견할 것을 제안합니다.
중화제국국가 간 조직체potential, select trigger 1chinese_treasure_voyage_running변수allowenabled_treasure_voyages변수potential정의in_game/common/generic_actions/chinese_treasure_voyages.txt:1
2type = internationalorganization
4ai_tick = monthly
5ai_tick_frequency = 12
6automation_tick = monthly
7automation_tick_frequency = 3
9automation_tick = never
10automation_tick_frequency = 12
13potential = {
14scope:actor ?= {
}
}
21allow = {
22scope:actor = {
23custom_tooltip = {
24text = not_is_treasure_voyage_active 현재 진행 중인 보물 항해가 없습니다.
}
27has_ports = yes
}
}
31select_trigger = {
32looking_for_a = international_organization
33target_flag = recipient
34name = "choose_international_organization" 국가 간 조직체 선택:
35column = {
36data = name
}
}
43select_trigger = {
44looking_for_a = area
45source_global_list = treasure_voyage_areas
46target_flag = target_area
47interaction_source_list = {
48every_in_global_list = {
49variable = treasure_voyage_areas
50add_to_list = source
}
}
53pre_evaluation_sort_value = {
54value = "scope:actor.capital.distance_to_area(root)"
55multiply = -1
}
57pre_evaluation_number_to_evaluate_fully = 1
58name = "treasure_voyage_select_destination_area" 목적지로 삼을 권역 선택:
59none_available_msg_key = "treasure_voyage_select_destination_no_areas"
60column = {
61data = name
}
63visible = {
}
}
67select_trigger = {
68looking_for_a = character
69source = actor
70target_flag = target_character
71pre_evaluation_sort_value = {
72value = total_abilities
}
74pre_evaluation_number_to_evaluate_fully = 5
75cache_targets = yes
76name = "treasure_voyage_select_character" 항해 지도자 인물 선택:
77none_available_msg_key = "treasure_voyage_select_character_no_characters"
78column = {
79data = character_info
}
81visible = {
82is_adult = yes
83is_alive = yes
84is_ruler = no
85is_female = no
}
}
89select_trigger = {
90looking_for_a = value
91target_flag = target_value
92name = "treasure_voyage_select_value_of_gifts" 선물에 넣을 두카트의 양 선택:
93min = {
94value = scope:actor.yearly_gold
95divide = 10
}
97max = {
98value = scope:actor.yearly_gold
99multiply = {
100value = 1
101add = scope:actor.modifier:treasure_voyage_cargo_size_modifier
}
103multiply = {
104value = 1
105add = scope:target_character.adm
106pow = 2
}
}
110step = {
111value = scope:actor.yearly_gold
112divide = 20
}
114default = {
115value = scope:actor.yearly_gold
116divide = 10
}
}
120effect = {
121scope:actor = {
122if = {
123limit = {
123exists = scope:target_area
}
124custom_tooltip = {
125text = start_treasure_voyage_tt Target Area에 Target Character(이)가 이끄는 함대를 보냅니다.
}
}
129else = {
130custom_tooltip = start_treasure_voyage_no_scope_tt 대상 권역에 함대를 보냅니다.
}
}
}
135ai_will_do = {
136add = -50
137add = {
138value = scope:actor.gold
139divide = scope:target_value
140multiply = 100
}
}