Vasallen-Piratennation schaffen
Aktion

Vasallen-Piratennation schaffen

create_allied_pirate_nationin_game/common/generic_actions/golden_age_of_piracy.txt:3

Indem wir Kaperbriefe ausgeben sowie einen passenden Ort für ein Hauptquartier und ein wenig Geld zur Verfügung stellen, um die ersten Besatzungsmitglieder anzulocken, schaffen wir ein Nest von Piraten und Halsabschneidern, das den Handelsflotten unserer Feinde das Leben schwer machen wird, während unsere Flotten ungehindert passieren können.

ErfordertDas Goldene Zeitalter der PiraterieSituationselect trigger 1

Definitionin_game/common/generic_actions/golden_age_of_piracy.txt:3

4type = situation
5show_message = no
6potential = {
7scope:actor = {
8NOT = {
8country_type = navy
}
}
}
12allow = {
13scope:actor = {
14num_of_ports >= 10
17navy_size_percentage >= 0.25
20monthly_sailors > 0
}
}
26ai_tick = monthly
27ai_tick_frequency = {
28if = {
29limit = {
30num_of_ports = 0
}
32add = 200
}
34else = {
35add = 12
}
}
39automation_tick = never
40automation_tick_frequency = 12
42price = price:rto_press_claims_price
44cooldown = {
45type = create_allied_pirate_nation
46years = 10
}
49select_trigger = {
50looking_for_a = situation
51target_flag = recipient
52name = "choose_situation" Die Situation wählen:
53column = {
54data = name
}
56visible = {
58situation_is_active = yes
}
}
62select_trigger = {
63looking_for_a = location
64source = actor
65source_flags = only_actual_locations
66target_flag = target_location
67name = "choose_location" Ort wählen
68none_available_msg_key = "no_locations_available"
69column = {
69data = name
}
70column = {
70data = control
}
71column = {
71data = population
}
72visible = {
73is_coastal = yes
74is_capital = no
}
}
79effect = {
80custom_tooltip = {
81text = create_allied_pirate_nation_tt Ein Marineland-Klientelland taucht an den festgelegten Concept auf. Wir haben die Möglichkeit, als dieses Land zu spielen
82scope:actor = {
83trigger_event_silently = golden_age_of_piracy.110
}
}
}
88ai_will_do = {
90subtract = {
91value = 25
92desc = BASE_VALUE
}
94if = {
95limit = {
96scope:actor = {
96is_disloyal_subject = yes
}
}
98add = {
99desc = "[subject_loyalty|e]"
100value = 100
101subtract = scope:actor.subject_loyalty
}
}
104add = {
105desc = "[ports|e]"
106value = {
107add = scope:actor.num_of_ports
108divide = scope:actor.num_locations
109multiply = 100
}
}
112if = {
113limit = {
114scope:actor ?= {
115is_during_bankruptcy = yes
}
}
118subtract = {
119value = 1000
120desc = "IS_BANKRUPT_TOOLTIP"
}
}
123if = {
124limit = {
125scope:actor ?= {
125num_loans > 0
}
}
127subtract = {
128desc = "PENDING_LOANS_TOOLTIP"
129value = scope:actor.num_loans
130multiply = -50
}
}
133if = {
134limit = {
134exists = scope:target_location
}
135subtract = {
136value = scope:target_location.proximity
137desc = "[proximity|e]"
}
139subtract = {
140value = scope:target_location.rank_index
141multiply = 10
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Alle Rechte vorbehalten. Inoffizielles Fanprojekt, nicht mit Paradox Interactive verbunden. Spielinhalte © Paradox Interactive. Über · Datenschutz · Impressum