From 2a0ece5ef586f291bd6d9272fb5852866c704b12 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Fri, 6 Dec 2024 18:24:51 +0900 Subject: [PATCH 1/7] feat(equipment): add missing translations strings Added some missing translations strings for left and right hard points. --- data/lang/equipment-core/en.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/data/lang/equipment-core/en.json b/data/lang/equipment-core/en.json index 0727c8f989..4aa12017be 100644 --- a/data/lang/equipment-core/en.json +++ b/data/lang/equipment-core/en.json @@ -199,10 +199,26 @@ "description": "Name for the 'Missile Bay' equipment hardpoint", "message": "Missile Bay" }, + "HARDPOINT_MISSILE_BAY_LEFT": { + "description": "Name for the 'Missile Bay' equipment hardpoint", + "message": "Missile Bay Left" + }, + "HARDPOINT_MISSILE_BAY_RIGHT": { + "description": "Name for the 'Missile Bay' equipment hardpoint", + "message": "Missile Bay Right" + }, "HARDPOINT_PYLON": { "description": "Name for a generic missile pylon", "message": "Pylon" }, + "HARDPOINT_PYLON_LEFT": { + "description": "Name for a generic missile pylon", + "message": "Pylon Left" + }, + "HARDPOINT_PYLON_RIGHT": { + "description": "Name for a generic missile pylon", + "message": "Pylon Right" + }, "HARDPOINT_UTILITY": { "description": "Name for a generic utility hardpoint", "message": "Utility" From 4bda89cc7ea4374c1e59a551c8b26f1b8add2b69 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Fri, 6 Dec 2024 18:27:17 +0900 Subject: [PATCH 2/7] feat(equipment_description): add descriptions for missiles and pylons Add some in-game descriptions for missile racks and pylons to give the player and indication of how many and what size missile each equipment item can hold. Also add some proposed flavour-text for the missiles. --- data/lang/equipment-core/en.json | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/data/lang/equipment-core/en.json b/data/lang/equipment-core/en.json index 4aa12017be..526162fc4e 100644 --- a/data/lang/equipment-core/en.json +++ b/data/lang/equipment-core/en.json @@ -307,6 +307,10 @@ "description": "", "message": "Guided Missile" }, + "MISSILE_GUIDED_DESCRIPTION": { + "description": "Equipment description", + "message": "A guided missile able to home in on your target using advanced LIDAR." + }, "MISSILE_NAVAL": { "description": "", "message": "Naval Missile" @@ -315,34 +319,66 @@ "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", "message": "LH-120 Hydri Missile Rack" }, + "MISSILE_RACK_221_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 2 small missiles." + }, "MISSILE_RACK_322": { "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", "message": "LH-230 Hydri Missile Rack" }, + "MISSILE_RACK_322_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 2 medium-sized missiles. Bigger bangs for your bucks!" + }, "MISSILE_RACK_341": { "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", "message": "LH-140 Hydri Missile Rack" }, + "MISSILE_RACK_341_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 4 small missiles." + }, "MISSILE_RAIL_S1": { "description": "Name for a single-missile external launcher. 'Cnida' is a brand name.", "message": "Cnida-101 Missile Rail" }, + "MISSILE_RAIL_S1_DESCRIPTION": { + "description": "Equipment description", + "message": "External launcher for a single small missile." + }, "MISSILE_RAIL_S2": { "description": "Name for a single-missile external launcher. 'Cnida' is a brand name.", "message": "Cnida-102 Missile Rail" }, + "MISSILE_RAIL_S2_DESCRIPTION": { + "description": "Equipment description", + "message": "External launcher for a single medium missile." + }, "MISSILE_RAIL_S3": { "description": "Name for a single-missile external launcher. 'Cnida' is a brand name.", "message": "Cnida-103 Missile Rail" }, + "MISSILE_RAIL_S3_DESCRIPTION": { + "description": "Equipment description", + "message": "External launcher for a single large missile." + }, "MISSILE_SMART": { "description": "", "message": "Smart Missile" }, + "MISSILE_SMART_DESCRIPTION": { + "description": "Equipment description", + "message": "A smart rocket capable of tracking down your target using an advanced AI module." + }, "MISSILE_UNGUIDED": { "description": "", "message": "R40 Unguided Rocket" }, + "MISSILE_UNGUIDED_DESCRIPTION": { + "description": "Equipment description", + "message": "A generic dumb-fire rocket mass-produced on most worlds. Simply aim and fire to solve your problems." + }, "OCCUPIED_BERTHS": { "description": "Label for the number of passenger berths currently occupied in a cabin equipment item", "message": "Occupied Berths" From bc96fc62cee4d4d273b5d6dc701e5ae974b5ad36 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Sat, 7 Dec 2024 00:02:47 +0900 Subject: [PATCH 3/7] feat(missile_racks): Rename LH-230 to LH-220 This is to make it consistent with the other rack names. Basically the numbering scheme is LH-XY0, X: size of missile, Y: number of slots. --- data/lang/equipment-core/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/lang/equipment-core/en.json b/data/lang/equipment-core/en.json index 526162fc4e..93d28a3682 100644 --- a/data/lang/equipment-core/en.json +++ b/data/lang/equipment-core/en.json @@ -325,7 +325,7 @@ }, "MISSILE_RACK_322": { "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", - "message": "LH-230 Hydri Missile Rack" + "message": "LH-220 Hydri Missile Rack" }, "MISSILE_RACK_322_DESCRIPTION": { "description": "Equipment description", From b4814d8590cf9ec41d578a58bae84887883389ec Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Sat, 7 Dec 2024 00:07:18 +0900 Subject: [PATCH 4/7] feat(missile_racks): give each rack a price and tech-level Tech level is the same as the tech level of the missile which can fitted into the rack. Price is calculated as the base price of the "111" rack, which is 150, multiplied by the tech-level multiplier (1, 2.5, 3), and multiplied by the number of slots. --- data/modules/Equipment/Weapons.lua | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/data/modules/Equipment/Weapons.lua b/data/modules/Equipment/Weapons.lua index 64f7db00a9..33bd619c37 100644 --- a/data/modules/Equipment/Weapons.lua +++ b/data/modules/Equipment/Weapons.lua @@ -248,9 +248,10 @@ Equipment.Register("missile.naval_s4", EquipType.New { -- Missile Pylons --=============================================== +-- "Cnida-103 Missile Rail" Equipment.Register("missile_rack.313", EquipType.New { l10n_key="MISSILE_RAIL_S3", - price=150, purchasable=true, tech_level=1, + price=450, purchasable=true, tech_level=9, volume=0.0, mass=0.2, slot = { type = "pylon.rack", size=3, hardpoint=true }, provides_slots = { @@ -259,9 +260,10 @@ Equipment.Register("missile_rack.313", EquipType.New { icon_name="equip_missile_unguided" }) +-- "LH-220 Hydri Missile Rack" Equipment.Register("missile_rack.322", EquipType.New { l10n_key="MISSILE_RACK_322", - price=150, purchasable=true, tech_level=1, + price=750, purchasable=true, tech_level=5, volume=0.0, mass=0.4, slot = { type = "pylon.rack", size=3, hardpoint=true }, provides_slots = { @@ -271,9 +273,10 @@ Equipment.Register("missile_rack.322", EquipType.New { icon_name="equip_missile_unguided" }) +-- "LH-140 Hydri Missile Rack" Equipment.Register("missile_rack.341", EquipType.New { l10n_key="MISSILE_RACK_341", - price=150, purchasable=true, tech_level=1, + price=600, purchasable=true, tech_level=1, volume=0.0, mass=0.5, slot = { type = "pylon.rack", size=3, hardpoint=true }, provides_slots = { @@ -285,9 +288,10 @@ Equipment.Register("missile_rack.341", EquipType.New { icon_name="equip_missile_unguided" }) +-- "Cnida-102 Missile Rail" Equipment.Register("missile_rack.212", EquipType.New { l10n_key="MISSILE_RAIL_S2", - price=150, purchasable=true, tech_level=1, + price=375, purchasable=true, tech_level=5, volume=0.0, mass=0.1, slot = { type = "pylon.rack", size=2, hardpoint=true }, provides_slots = { @@ -296,9 +300,10 @@ Equipment.Register("missile_rack.212", EquipType.New { icon_name="equip_missile_unguided" }) +-- "LH-120 Hydri Missile Rack" Equipment.Register("missile_rack.221", EquipType.New { l10n_key="MISSILE_RACK_221", - price=150, purchasable=true, tech_level=1, + price=300, purchasable=true, tech_level=1, volume=0.0, mass=0.2, slot = { type = "pylon.rack", size=2, hardpoint=true }, provides_slots = { @@ -308,6 +313,7 @@ Equipment.Register("missile_rack.221", EquipType.New { icon_name="equip_missile_unguided" }) +-- "Cnida-101 Missile Rail" Equipment.Register("missile_rack.111", EquipType.New { l10n_key="MISSILE_RAIL_S1", price=150, purchasable=true, tech_level=1, From 24538e5c548765325c2eb10725c9d998b89d3386 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Sat, 7 Dec 2024 00:08:20 +0900 Subject: [PATCH 5/7] feat(missile_racks): add racks up to slot size 5 Ships like the AC33 Dropstar have slots sizes up to 5 for missile racks, so let's add equipment up to that slot size. --- data/lang/equipment-core/en.json | 58 +++++++++++++++- data/modules/Equipment/Weapons.lua | 106 +++++++++++++++++++++++++++++ 2 files changed, 163 insertions(+), 1 deletion(-) diff --git a/data/lang/equipment-core/en.json b/data/lang/equipment-core/en.json index 93d28a3682..bab7bdb7ae 100644 --- a/data/lang/equipment-core/en.json +++ b/data/lang/equipment-core/en.json @@ -337,7 +337,55 @@ }, "MISSILE_RACK_341_DESCRIPTION": { "description": "Equipment description", - "message": "External missile rack able to carry up to 4 small missiles." + "message": "External missile rack able to carry up to 4 small missiles. Make fireworks!" + }, + "MISSILE_RACK_442": { + "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", + "message": "LH-240 Hydri Missile Rack" + }, + "MISSILE_RACK_442_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 4 medium missiles." + }, + "MISSILE_RACK_423": { + "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", + "message": "LH-320 Hydri Missile Rack" + }, + "MISSILE_RACK_423_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 2 large missiles." + }, + "MISSILE_RACK_481": { + "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", + "message": "LH-180 Hydri Missile Rack" + }, + "MISSILE_RACK_481_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 8 small missiles. More fireworks!" + }, + "MISSILE_RACK_524": { + "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", + "message": "LH-420 Hydri Missile Rack" + }, + "MISSILE_RACK_524_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 2 huge missiles." + }, + "MISSILE_RACK_543": { + "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", + "message": "LH-340 Hydri Missile Rack" + }, + "MISSILE_RACK_543_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 4 large missiles." + }, + "MISSILE_RACK_582": { + "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", + "message": "LH-280 Hydri Missile Rack" + }, + "MISSILE_RACK_582_DESCRIPTION": { + "description": "Equipment description", + "message": "External missile rack able to carry up to 8 medium missiles." }, "MISSILE_RAIL_S1": { "description": "Name for a single-missile external launcher. 'Cnida' is a brand name.", @@ -363,6 +411,14 @@ "description": "Equipment description", "message": "External launcher for a single large missile." }, + "MISSILE_RAIL_S4": { + "description": "Name for a single-missile external launcher. 'Cnida' is a brand name.", + "message": "Cnida-104 Missile Rail" + }, + "MISSILE_RAIL_S4_DESCRIPTION": { + "description": "Equipment description", + "message": "External launcher for a single huge missile." + }, "MISSILE_SMART": { "description": "", "message": "Smart Missile" diff --git a/data/modules/Equipment/Weapons.lua b/data/modules/Equipment/Weapons.lua index 33bd619c37..915a7f80d4 100644 --- a/data/modules/Equipment/Weapons.lua +++ b/data/modules/Equipment/Weapons.lua @@ -248,6 +248,112 @@ Equipment.Register("missile.naval_s4", EquipType.New { -- Missile Pylons --=============================================== +-- "LH-420 Hydri Missile Rack" +Equipment.Register("missile_rack.524", EquipType.New { + l10n_key="MISSILE_RACK_524", + price=2250, purchasable=true, tech_level="MILITARY", + volume=0.0, mass=0.8, + slot = { type = "pylon.rack", size=5, hardpoint=true }, + provides_slots = { + Slot:clone { id = "1", type = "missile", size = 4, hardpoint = true }, + Slot:clone { id = "2", type = "missile", size = 4, hardpoint = true }, + }, + icon_name="equip_missile_unguided" +}) + +-- "LH-340 Hydri Missile Rack" +Equipment.Register("missile_rack.543", EquipType.New { + l10n_key="MISSILE_RACK_543", + price=1800, purchasable=true, tech_level=9, + volume=0.0, mass=1.2, + slot = { type = "pylon.rack", size=5, hardpoint=true }, + provides_slots = { + Slot:clone { id = "1", type = "missile", size = 3, hardpoint = true }, + Slot:clone { id = "2", type = "missile", size = 3, hardpoint = true }, + Slot:clone { id = "3", type = "missile", size = 3, hardpoint = true }, + Slot:clone { id = "4", type = "missile", size = 3, hardpoint = true }, + }, + icon_name="equip_missile_unguided" +}) + +-- "LH-280 Hydri Missile Rack" +Equipment.Register("missile_rack.582", EquipType.New { + l10n_key="MISSILE_RACK_582", + price=3000, purchasable=true, tech_level=5, + volume=0.0, mass=0.9, + slot = { type = "pylon.rack", size=5, hardpoint=true }, + provides_slots = { + Slot:clone { id = "1", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "2", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "3", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "4", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "5", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "6", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "7", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "8", type = "missile", size = 2, hardpoint = true }, + }, + icon_name="equip_missile_unguided" +}) + +-- "Cnida-104 Missile Rail" +Equipment.Register("missile_rack.414", EquipType.New { + l10n_key="MISSILE_RAIL_S4", + price=1125, purchasable=true, tech_level="MILITARY", + volume=0.0, mass=0.5, + slot = { type = "pylon.rack", size=4, hardpoint=true }, + provides_slots = { + Slot:clone { id = "1", type = "missile", size = 4, hardpoint = true }, + }, + icon_name="equip_missile_unguided" +}) + +-- "LH-320 Hydri Missile Rack" +Equipment.Register("missile_rack.423", EquipType.New { + l10n_key="MISSILE_RACK_423", + price=900, purchasable=true, tech_level=9, + volume=0.0, mass=0.6, + slot = { type = "pylon.rack", size=4, hardpoint=true }, + provides_slots = { + Slot:clone { id = "1", type = "missile", size = 3, hardpoint = true }, + Slot:clone { id = "2", type = "missile", size = 3, hardpoint = true }, + }, + icon_name="equip_missile_unguided" +}) + +-- "LH-240 Hydri Missile Rack" +Equipment.Register("missile_rack.442", EquipType.New { + l10n_key="MISSILE_RACK_442", + price=1500, purchasable=true, tech_level=5, + volume=0.0, mass=0.8, + slot = { type = "pylon.rack", size=4, hardpoint=true }, + provides_slots = { + Slot:clone { id = "1", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "2", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "3", type = "missile", size = 2, hardpoint = true }, + Slot:clone { id = "4", type = "missile", size = 2, hardpoint = true }, + }, + icon_name="equip_missile_unguided" +}) + +-- "LH-180 Hydri Missile Rack" +Equipment.Register("missile_rack.481", EquipType.New { + l10n_key="MISSILE_RACK_481", + price=1200, purchasable=true, tech_level=1, + volume=0.0, mass=0.9, + slot = { type = "pylon.rack", size=4, hardpoint=true }, + provides_slots = { + Slot:clone { id = "1", type = "missile", size = 1, hardpoint = true }, + Slot:clone { id = "2", type = "missile", size = 1, hardpoint = true }, + Slot:clone { id = "3", type = "missile", size = 1, hardpoint = true }, + Slot:clone { id = "4", type = "missile", size = 1, hardpoint = true }, + Slot:clone { id = "5", type = "missile", size = 1, hardpoint = true }, + Slot:clone { id = "6", type = "missile", size = 1, hardpoint = true }, + Slot:clone { id = "7", type = "missile", size = 1, hardpoint = true }, + Slot:clone { id = "8", type = "missile", size = 1, hardpoint = true }, + }, + icon_name="equip_missile_unguided" +}) + -- "Cnida-103 Missile Rail" Equipment.Register("missile_rack.313", EquipType.New { l10n_key="MISSILE_RAIL_S3", From 0742c15c623fa418a3d7c5c7e7c4eec871f96d74 Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Sat, 7 Dec 2024 09:18:57 +0900 Subject: [PATCH 6/7] feat(translations): add missing translation strings * Add translations for HARDPOINT_WEAPON_FRONT_(LEFT|RIGHT) --- data/lang/equipment-core/en.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/lang/equipment-core/en.json b/data/lang/equipment-core/en.json index bab7bdb7ae..051f201977 100644 --- a/data/lang/equipment-core/en.json +++ b/data/lang/equipment-core/en.json @@ -235,6 +235,10 @@ "description": "Name for a generic front-facing weapon hardpoint", "message": "Front Weapon" }, + "HARDPOINT_WEAPON_FRONT_LEFT": { + "description": "Name for a generic front-facing weapon hardpoint", + "message": "Front Left Weapon" + }, "HARDPOINT_WEAPON_LEFT_NOSE": { "description": "Name for the 'Left Nose' weapon hardpoint", "message": "Left Nose" @@ -243,6 +247,10 @@ "description": "Name for a generic rear-facing weapon hardpoint", "message": "Rear Weapon" }, + "HARDPOINT_WEAPON_RIGHT": { + "description": "Name for the 'Right Nose' weapon hardpoint", + "message": "Front Right Weapon" + }, "HARDPOINT_WEAPON_RIGHT_NOSE": { "description": "Name for the 'Right Nose' weapon hardpoint", "message": "Right Nose" From 59729c1d972219680236028ecc145133b2c902ef Mon Sep 17 00:00:00 2001 From: Michael Werle Date: Sat, 7 Dec 2024 14:35:08 +0900 Subject: [PATCH 7/7] fixup(missile_racks): remove racks carrying 8 missiles Following discussion with sturnclaw, racks should carry at most 4 missiles with the possible exception of custom solutions for specific ships. --- data/lang/equipment-core/en.json | 16 ------------- data/modules/Equipment/Weapons.lua | 38 ------------------------------ 2 files changed, 54 deletions(-) diff --git a/data/lang/equipment-core/en.json b/data/lang/equipment-core/en.json index 051f201977..4d6c945fd5 100644 --- a/data/lang/equipment-core/en.json +++ b/data/lang/equipment-core/en.json @@ -363,14 +363,6 @@ "description": "Equipment description", "message": "External missile rack able to carry up to 2 large missiles." }, - "MISSILE_RACK_481": { - "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", - "message": "LH-180 Hydri Missile Rack" - }, - "MISSILE_RACK_481_DESCRIPTION": { - "description": "Equipment description", - "message": "External missile rack able to carry up to 8 small missiles. More fireworks!" - }, "MISSILE_RACK_524": { "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", "message": "LH-420 Hydri Missile Rack" @@ -387,14 +379,6 @@ "description": "Equipment description", "message": "External missile rack able to carry up to 4 large missiles." }, - "MISSILE_RACK_582": { - "description": "Name for a multiple-missile external missile rack. 'Hydri' is a brand name.", - "message": "LH-280 Hydri Missile Rack" - }, - "MISSILE_RACK_582_DESCRIPTION": { - "description": "Equipment description", - "message": "External missile rack able to carry up to 8 medium missiles." - }, "MISSILE_RAIL_S1": { "description": "Name for a single-missile external launcher. 'Cnida' is a brand name.", "message": "Cnida-101 Missile Rail" diff --git a/data/modules/Equipment/Weapons.lua b/data/modules/Equipment/Weapons.lua index 915a7f80d4..6b5b14ddc8 100644 --- a/data/modules/Equipment/Weapons.lua +++ b/data/modules/Equipment/Weapons.lua @@ -276,25 +276,6 @@ Equipment.Register("missile_rack.543", EquipType.New { icon_name="equip_missile_unguided" }) --- "LH-280 Hydri Missile Rack" -Equipment.Register("missile_rack.582", EquipType.New { - l10n_key="MISSILE_RACK_582", - price=3000, purchasable=true, tech_level=5, - volume=0.0, mass=0.9, - slot = { type = "pylon.rack", size=5, hardpoint=true }, - provides_slots = { - Slot:clone { id = "1", type = "missile", size = 2, hardpoint = true }, - Slot:clone { id = "2", type = "missile", size = 2, hardpoint = true }, - Slot:clone { id = "3", type = "missile", size = 2, hardpoint = true }, - Slot:clone { id = "4", type = "missile", size = 2, hardpoint = true }, - Slot:clone { id = "5", type = "missile", size = 2, hardpoint = true }, - Slot:clone { id = "6", type = "missile", size = 2, hardpoint = true }, - Slot:clone { id = "7", type = "missile", size = 2, hardpoint = true }, - Slot:clone { id = "8", type = "missile", size = 2, hardpoint = true }, - }, - icon_name="equip_missile_unguided" -}) - -- "Cnida-104 Missile Rail" Equipment.Register("missile_rack.414", EquipType.New { l10n_key="MISSILE_RAIL_S4", @@ -335,25 +316,6 @@ Equipment.Register("missile_rack.442", EquipType.New { icon_name="equip_missile_unguided" }) --- "LH-180 Hydri Missile Rack" -Equipment.Register("missile_rack.481", EquipType.New { - l10n_key="MISSILE_RACK_481", - price=1200, purchasable=true, tech_level=1, - volume=0.0, mass=0.9, - slot = { type = "pylon.rack", size=4, hardpoint=true }, - provides_slots = { - Slot:clone { id = "1", type = "missile", size = 1, hardpoint = true }, - Slot:clone { id = "2", type = "missile", size = 1, hardpoint = true }, - Slot:clone { id = "3", type = "missile", size = 1, hardpoint = true }, - Slot:clone { id = "4", type = "missile", size = 1, hardpoint = true }, - Slot:clone { id = "5", type = "missile", size = 1, hardpoint = true }, - Slot:clone { id = "6", type = "missile", size = 1, hardpoint = true }, - Slot:clone { id = "7", type = "missile", size = 1, hardpoint = true }, - Slot:clone { id = "8", type = "missile", size = 1, hardpoint = true }, - }, - icon_name="equip_missile_unguided" -}) - -- "Cnida-103 Missile Rail" Equipment.Register("missile_rack.313", EquipType.New { l10n_key="MISSILE_RAIL_S3",