Can MTG upgrade the engine of a ship like an NSB tank?
I don't think this is possible unfortunately, you can add ships, but I don't think you can modify them.
If you wanted to give the country a new ship with specific modules, you could look at how Japan adds the Yamato class ships, and go from there:
create_equipment_variant = {
name = "Yamato Class" #Whatever name you want to call it
type = ship_hull_super_heavy_1 #What type of ship is it
parent_version = 0 #Change if this should be a variant of an existing ship
modules = { #List of modules the ship should have
fixed_ship_battery_slot = ship_super_heavy_battery_1
fixed_ship_anti_air_slot = ship_anti_air_2
fixed_ship_fire_control_system_slot = ship_fire_control_system_1
fixed_ship_radar_slot = empty
fixed_ship_engine_slot = heavy_ship_engine_2
fixed_ship_secondaries_slot = ship_secondaries_2
fixed_ship_armor_slot = ship_armor_shbb
front_1_custom_slot = ship_anti_air_1
front_2_custom_slot = empty
mid_1_custom_slot = empty
mid_2_custom_slot = ship_secondaries_2
mid_3_custom_slot = ship_secondaries_2
rear_1_custom_slot = ship_super_heavy_battery_1
rear_2_custom_slot = ship_airplane_launcher_1
}
}
hidden_effect = {
add_equipment_production = {
equipment = {
type = ship_hull_super_heavy_1 #Same type as set above
creator = "JAP" #Tag of the current nation
version_name = "Yamato Class" #Same name as set above
}
name = "Yamato" #Whatever the name of the ship should be
requested_factories = 1 #How many naval dockyards it should have assigned in the production queue
progress = 0.75 #What % complete it should be. To have it available for use, set to 1.
amount = 1 #How many should be added to the production queue. If you want multiple to be given to the nation, add these separately, otherwise it will spawn one, and have the second start from 0% complete
}
}
}
When I asked in the forum, I got a reply that this was possible.
I also found a mod that did that.
( https://steamcommunity.com/sharedfiles/filedetails/?id=2729881031 )
Thank you for your kind reply.
eightman
In other words, we want to be able to upgrade the engine of a ship using both modules and buttons.
Is this possible?
I'm not very good at english