Habilidad de unidad
Convertir barco ligero en galera
En tiempos de guerra, el Barco ligero se puede reconvertir en buque de guerra de nuestro Estado.
Posibilidad de convertir galeras en barcos ligerosTipo de modificadorhidden62toggle = no
63navy_only = yes
64map = yes
65confirm = yes
67hidden = {
68OR = {
72NOT = {
72any_sub_unit = {
72sub_unit_category = sub_unit_category:navy_light_ship
}
}
}
}
76allow = {
77in_combat = no
78is_moving = no
79is_exiled = no
80owner = {
81num_of_ports > 0
82can_build_units_of_category = sub_unit_category:navy_galley
83gold >= 5
}
85unit_location = {
86is_port = yes
87owner = root.owner
}
89any_sub_unit = {
89sub_unit_category = sub_unit_category:navy_light_ship
}
}
91start_effect = {
92custom_tooltip = convert_light_ship_to_galley_effect Los barcos ligeros de la flota se convertirán en galeras por 5Gold I cada uno
93save_scope_as = ship_unit
94while = {
95limit = {
96owner = {
97gold >= 5
}
99any_sub_unit = {
100is_ship = yes
101sub_unit_category = sub_unit_category:navy_light_ship
}
}
104owner = {
104add_gold = -5
}
105random_sub_unit = {
106limit = {
107is_ship = yes
108sub_unit_category = sub_unit_category:navy_light_ship
}
110scope:ship_unit = {
111unit_location = {
112create_sub_unit_of_category = sub_unit_category:navy_galley
}
}
115destroy_subunit = yes
}
}
}