I'm using the command = { type = missile_carrier which = [submarine] } to enable my SSBs and SSBNs to carry and launch ballistic and ICBMs. Not sure if I have the syntax correct since the game doesn't complain when it's starts.
Any help is always highly appreciated
Code:
# Diesel-Electric Ballistic Submarine
application =
{ id = 20070
name = TECH_APP_NAVAL_51_NAME
desc = TECH_APP_NAVAL_51_DESC
position = { x = 296 y = 473 }
year = 1960
# Modified Teardrop Pressure Hull
component = { id = 20071 name = TECH_CMP_NAVAL_51_1_NAME type = naval_engineering difficulty = 5 }
# Anti-Vibration and Sound Reducing Systems
component = { id = 20072 name = TECH_CMP_NAVAL_51_2_NAME type = electronics difficulty = 6 }
# Underwater Missile Launch System
component = { id = 20073 name = TECH_CMP_NAVAL_51_1_NAME type = rocketry difficulty = 6 }
# Ballistic Missile Control System
component = { id = 20074 name = TECH_CMP_NAVAL_51_4_NAME type = electronics difficulty = 6 }
# Missile Launch and ASW Operations Training
component = { id = 20075 name = TECH_CMP_NAVAL_51_5_NAME type = training difficulty = 10 }
required = { 20060 7120 } # Modern Diesel-Electric Submarine and Ballistic Missile
effects =
{ command = { type = new_model which = submarine value = 9 }
command = { type = missile_carrier which = 20070 }
#command = { type = missile_carrier which = [submarine] }
}
}
Any help is always highly appreciated