From 972e168e76c6c47d47788072de31c59e23d82786 Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Mon, 27 May 2024 15:46:16 +0100 Subject: [PATCH] Added 'Special' field to special modules (groms, packhounds, etc.) to make them easier to distinguish in the search results when typing in search words. Also split out advanced missile racks from the missile rack group of hardpoints, to help distinguish them better, as I did with advanced MC's and AX Enhanced MC's and AX Enhanced MRs, etc. This gives sub-categories in the module selection drop down which were not there before. --- modules/hardpoints/beam_laser.json | 1 + modules/hardpoints/burst_laser.json | 1 + modules/hardpoints/fragment_cannon.json | 1 + modules/hardpoints/mining_laser.json | 1 + modules/hardpoints/missile_rack.json | 67 ++----------------- modules/hardpoints/missile_rack_advanced.json | 66 ++++++++++++++++++ modules/hardpoints/multi_cannon.json | 1 + modules/hardpoints/plasma_accelerator.json | 1 + modules/hardpoints/pulse_laser.json | 1 + modules/hardpoints/rail_gun.json | 1 + modules/index.js | 1 + 11 files changed, 80 insertions(+), 62 deletions(-) create mode 100644 modules/hardpoints/missile_rack_advanced.json diff --git a/modules/hardpoints/beam_laser.json b/modules/hardpoints/beam_laser.json index 9c1e162..f4e427b 100644 --- a/modules/hardpoints/beam_laser.json +++ b/modules/hardpoints/beam_laser.json @@ -100,6 +100,7 @@ "mass": 2, "mount": "F", "name": "Retributor", + "special": "Retributor", "piercing": 18, "power": 0.62, "pp": "Edmund Mahon", diff --git a/modules/hardpoints/burst_laser.json b/modules/hardpoints/burst_laser.json index 873744a..e927ebc 100644 --- a/modules/hardpoints/burst_laser.json +++ b/modules/hardpoints/burst_laser.json @@ -111,6 +111,7 @@ "mass": 2, "mount": "F", "name": "Cytoscrambler", + "special": "Cyto", "piercing": 1, "power": 0.8, "pp": "Archon Delaine", diff --git a/modules/hardpoints/fragment_cannon.json b/modules/hardpoints/fragment_cannon.json index 919c497..f06b68f 100644 --- a/modules/hardpoints/fragment_cannon.json +++ b/modules/hardpoints/fragment_cannon.json @@ -321,6 +321,7 @@ "mass": 8, "mount": "F", "name": "Pacifier", + "special": "Pacifier", "piercing": 45, "power": 1.02, "pp": "Zachary Hudson", diff --git a/modules/hardpoints/mining_laser.json b/modules/hardpoints/mining_laser.json index 13ec5fa..9293ffb 100644 --- a/modules/hardpoints/mining_laser.json +++ b/modules/hardpoints/mining_laser.json @@ -72,6 +72,7 @@ "mass": 2, "mount": "F", "name": "Mining Lance", + "special": "Lance", "piercing": 18, "power": 0.7, "pp": "Zemina Torval", diff --git a/modules/hardpoints/missile_rack.json b/modules/hardpoints/missile_rack.json index a59d971..49984e7 100644 --- a/modules/hardpoints/missile_rack.json +++ b/modules/hardpoints/missile_rack.json @@ -51,6 +51,7 @@ "integrity": 40, "mass": 2, "missile": "S", + "special": "Seeker", "mount": "F", "piercing": 60, "power": 0.6, @@ -115,6 +116,7 @@ "integrity": 51, "mass": 4, "missile": "S", + "special": "Seeker", "mount": "F", "piercing": 60, "power": 1.2, @@ -147,6 +149,7 @@ "missile": "D", "mount": "F", "name": "Rocket Propelled FSD Disruptor", + "special": "Grom", "piercing": 60, "power": 1.2, "pp": "Yuri Grom", @@ -189,6 +192,7 @@ "roundspershot": 4, "shotspeed": 600, "thermload": 3.6, + "special": "Pack-Hound", "symbol": "Hpt_DrunkMissileRack_Fixed_Medium" }, { @@ -242,6 +246,7 @@ "integrity": 64, "mass": 8, "missile": "S", + "special": "Seeker", "mount": "F", "piercing": 60, "power": 1.62, @@ -250,68 +255,6 @@ "shotspeed": 625, "thermload": 3.6, "symbol": "Hpt_BasicMissileRack_Fixed_Large" - }, - { - "ammo": 64, - "breachdmg": 20, - "breachmax": 1, - "breachmin": 1, - "class": 1, - "clip": 8, - "cost": 32180, - "damage": 50, - "damagedist": { - "E": 1 - }, - "distdraw": 0.24, - "edID": 128935982, - "eddbID": 1813, - "fireint": 2, - "grp": "mr", - "id": "yT", - "integrity": 40, - "mass": 2, - "missile": "D", - "mount": "F", - "name": "Advanced Missile Rack", - "piercing": 60, - "power": 0.4, - "rating": "B", - "reload": 5, - "shotspeed": 750, - "thermload": 3.6, - "symbol": "Hpt_DumbfireMissileRack_Fixed_Small_Advanced" - }, - { - "ammo": 64, - "breachdmg": 20, - "breachmax": 1, - "breachmin": 1, - "class": 2, - "clip": 12, - "cost": 1471030, - "damage": 50, - "damagedist": { - "E": 1 - }, - "distdraw": 0.24, - "edID": 128935983, - "eddbID": 1814, - "fireint": 2, - "grp": "mr", - "id": "yU", - "integrity": 51, - "mass": 4, - "missile": "D", - "mount": "F", - "name": "Advanced Missile Rack", - "piercing": 60, - "power": 1.2, - "rating": "B", - "reload": 5, - "shotspeed": 750, - "thermload": 3.6, - "symbol": "Hpt_DumbfireMissileRack_Fixed_Medium_Advanced" } ] } diff --git a/modules/hardpoints/missile_rack_advanced.json b/modules/hardpoints/missile_rack_advanced.json new file mode 100644 index 0000000..1b82e5a --- /dev/null +++ b/modules/hardpoints/missile_rack_advanced.json @@ -0,0 +1,66 @@ +{ + "amr": [ + { + "ammo": 64, + "breachdmg": 20, + "breachmax": 1, + "breachmin": 1, + "class": 1, + "clip": 8, + "cost": 32180, + "damage": 50, + "damagedist": { + "E": 1 + }, + "distdraw": 0.24, + "edID": 128935982, + "eddbID": 1813, + "fireint": 2, + "grp": "amr", + "id": "yT", + "integrity": 40, + "mass": 2, + "missile": "D", + "mount": "F", + "name": "Advanced Missile Rack", + "piercing": 60, + "power": 0.4, + "rating": "B", + "reload": 5, + "shotspeed": 750, + "thermload": 3.6, + "symbol": "Hpt_DumbfireMissileRack_Fixed_Small_Advanced" + }, + { + "ammo": 64, + "breachdmg": 20, + "breachmax": 1, + "breachmin": 1, + "class": 2, + "clip": 12, + "cost": 1471030, + "damage": 50, + "damagedist": { + "E": 1 + }, + "distdraw": 0.24, + "edID": 128935983, + "eddbID": 1814, + "fireint": 2, + "grp": "amr", + "id": "yU", + "integrity": 51, + "mass": 4, + "missile": "D", + "mount": "F", + "name": "Advanced Missile Rack", + "piercing": 60, + "power": 1.2, + "rating": "B", + "reload": 5, + "shotspeed": 750, + "thermload": 3.6, + "symbol": "Hpt_DumbfireMissileRack_Fixed_Medium_Advanced" + } + ] +} diff --git a/modules/hardpoints/multi_cannon.json b/modules/hardpoints/multi_cannon.json index d9458d1..3ecd503 100644 --- a/modules/hardpoints/multi_cannon.json +++ b/modules/hardpoints/multi_cannon.json @@ -116,6 +116,7 @@ "mass": 2, "mount": "F", "name": "Enforcer", + "special": "Enforcer", "piercing": 30, "power": 0.28, "pp": "Pranav Antal", diff --git a/modules/hardpoints/plasma_accelerator.json b/modules/hardpoints/plasma_accelerator.json index 70f1155..3330a33 100644 --- a/modules/hardpoints/plasma_accelerator.json +++ b/modules/hardpoints/plasma_accelerator.json @@ -91,6 +91,7 @@ "mass": 8, "mount": "F", "name": "Advanced Plasma Accelerator", + "special": "Advanced", "piercing": 100, "power": 1.97, "pp": "Denton Patreus", diff --git a/modules/hardpoints/pulse_laser.json b/modules/hardpoints/pulse_laser.json index 967b12a..9a3bfd6 100644 --- a/modules/hardpoints/pulse_laser.json +++ b/modules/hardpoints/pulse_laser.json @@ -183,6 +183,7 @@ "mass": 4, "mount": "F", "name": "Disruptor", + "special": "Disruptor", "piercing": 35, "power": 0.7, "pp": "Felicia Winters", diff --git a/modules/hardpoints/rail_gun.json b/modules/hardpoints/rail_gun.json index d321edc..547851a 100644 --- a/modules/hardpoints/rail_gun.json +++ b/modules/hardpoints/rail_gun.json @@ -88,6 +88,7 @@ "mass": 4, "mount": "F", "name": "Imperial Hammer", + "special": "Hammer", "piercing": 100, "power": 1.63, "pp": "Arissa Lavigny-Duval", diff --git a/modules/index.js b/modules/index.js index 18844d2..1525022 100644 --- a/modules/index.js +++ b/modules/index.js @@ -22,6 +22,7 @@ module.exports = { rg: require('./hardpoints/rail_gun').rg, pa: require('./hardpoints/plasma_accelerator').pa, mr: require('./hardpoints/missile_rack').mr, + amr: require('./hardpoints/missile_rack_advanced').amr, axmr: require('./hardpoints/ax_missile_rack').axmr, axmre: require('./hardpoints/ax_missile_rack_enhanced').axmre, tp: require('./hardpoints/torpedo_pylon').tp,