Titanic Armies are nothing new.
What is also not new, is a static limit of 3 recruitments.
Code:
# Titanic life troops
# Can build on planets with titanic life if you get event + special project there
# Should be very strong and quite expensive, but cannot get attachments and can be built only in limited numbers
# Currently limited to 3. Ideally it would be X * Num of planets you have done the project one, but that is too complex for scripts
titanic_assault_army = {
damage = 3.0
health = 5.0
morale = 2.0
time = 90
maintenance = 1.0
icon_frame = 8
assault = yes
cost = {
minerals = 350
energy = 50
}
potential = {
from = {
NOR = {
is_species = "ROBOT_POP_SPECIES_1"
is_species = "ROBOT_POP_SPECIES_2"
is_species = "ROBOT_POP_SPECIES_3"
is_sentient = no
}
}
custom_tooltip = {
text = titanic_troop_limit_tooltip
planet = { has_planet_flag = titanic_life_can_build }
owner = {
has_country_flag = titanic_life_soldiers
}
}
}
allow = {
custom_tooltip = {
text = titanic_troop_limit_tooltip
planet = { has_planet_flag = titanic_life_can_build }
owner = {
has_country_flag = titanic_life_soldiers
NOT = {
check_variable = {
which = "titanic_life_soldier_count"
value = 3
}
}
}
}
}
on_queued = {
owner = {
change_variable = {
which = "titanic_life_soldier_count"
value = 1
}
}
}
on_unqueued = {
owner = {
change_variable = {
which = "titanic_life_soldier_count"
value = -1
}
}
}
}
#Can't be built, is spawned on Titanic life planets after special project + event. Partly as reward, partly to ensure having this on multiple planets is always useful.
titanic_guardian_army = {
damage = 2.0
health = 8.0
morale = 2.0
time = 5
maintenance = 1.0
icon_frame = 8
potential = {
always = no
}
}
However, the whole mechanic behind tracking how many "Artist Monuments" you have bought and are in use could be adapted to track a countrywide Titanic Army count too.