Créer une nation pirate vassale
Action

Créer une nation pirate vassale

create_allied_pirate_nationin_game/common/generic_actions/golden_age_of_piracy.txt:3

Par la rédaction d'une lettre de marque, l'octroi d'un lieu approprié pour accueillir le quartier général et le don d'une petite quantité d'or pour attirer les premiers membres d'équipage, nous pourrons créer notre propre repaire de pirates et d'assassins qui feront de la vie des navires ennemis un véritable enfer, tout en simplifiant la nôtre.

RequiertL'âge d'or de la piraterieConjonctureselect trigger 1

Définitionin_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" Sélectionner la Conjoncture :
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" Choisir un Lieu
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 Un Vassal Concept va apparaître au Lieu désigné. Nous aurons la possibilité de le jouer
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.. Tous droits réservés. Projet de fan non officiel, non affilié à Paradox Interactive. Contenu du jeu © Paradox Interactive. À propos · Confidentialité · Mentions légales