Compétence d'unité

Transformer une galère en navire léger

convert_galley_to_light_shipin_game/common/unit_abilities/convert_galley.txt:1

En temps de paix, la Galère peut être transformée en navire marchand.

RequiertPeut Transformer une galère en navire légerType de modificateurhidden

2toggle = no
3navy_only = yes
4map = yes
5confirm = yes
7hidden = {
8OR = {
12NOT = {
12any_sub_unit = {
12sub_unit_category = sub_unit_category:navy_galley
}
}
}
}
16allow = {
17in_combat = no
18is_moving = no
19is_exiled = no
20owner = {
21num_of_ports > 0
22can_build_units_of_category = sub_unit_category:navy_light_ship
23gold >= 5
}
25unit_location = {
26is_port = yes
27owner = root.owner
}
29any_sub_unit = {
29sub_unit_category = sub_unit_category:navy_galley
}
}
31start_effect = {
32custom_tooltip = convert_galley_to_light_ship_effect Des galères de la flotte seront converties en vaisseaux légers pour 5 Gold I par navire.
33save_scope_as = ship_unit
34while = {
35limit = {
36owner = {
37gold >= 5
}
39any_sub_unit = {
40is_ship = yes
41sub_unit_category = sub_unit_category:navy_galley
}
}
44owner = {
44add_gold = -5
}
45random_sub_unit = {
46limit = {
47is_ship = yes
48sub_unit_category = sub_unit_category:navy_galley
}
50scope:ship_unit = {
51unit_location = {
52create_sub_unit_of_category = sub_unit_category:navy_light_ship
}
}
55destroy_subunit = yes
}
}
}
© 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