From 5b9268c6006f710d898ee229d76d0e7f548dcd7e Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Sat, 11 May 2024 16:40:06 +0100 Subject: [PATCH] Python MkII (python_nx) (#99) * Python MkII data and SCO FSD data * Corrected speed/boost values to compensate for something coriolis does to the base values, changed pitch/roll/yaw values to match in game (although not fully tested yet) and added bulkhead costs and made up edID's for them since ED doesn't actually have ID's for them in the journal. Also changed the fuelpower value for the SCO 5C FSD to bring range in coriolis closer to what's in game, but 1 of the 3 values is still wrong. This gets worse on the SCO 5A, where all the values go out of whack and changing the fuelpower value does not have the same effect as it does on the 5C SCO. There is further work required here with each SCO FSD to get range to calculate properly. * changing the fuelpower values back to 2.45 in frame_shift_drive.json after some testing. * Removing code already in PR #98 * Setting EDDBId values to 0 as the ship and these modules do not exist in EDDB --- ships/index.js | 1 + ships/python_nx.json | 162 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100755 ships/python_nx.json diff --git a/ships/index.js b/ships/index.js index 9b9b2e4..319430c 100644 --- a/ships/index.js +++ b/ships/index.js @@ -29,6 +29,7 @@ module.exports = { orca: require('./orca').orca, mamba: require('./mamba').mamba, python: require('./python').python, + python_nx: require('./python_nx').python_nx, sidewinder: require('./sidewinder').sidewinder, type_6_transporter: require('./type_6_transporter').type_6_transporter, type_7_transport: require('./type_7_transport').type_7_transport, diff --git a/ships/python_nx.json b/ships/python_nx.json new file mode 100755 index 0000000..b548417 --- /dev/null +++ b/ships/python_nx.json @@ -0,0 +1,162 @@ +{ + "python_nx": { + "edID": 129030464, + "eddbID": 0, + "properties": { + "name": "Python MkII", + "manufacturer": "Faulcon DeLacy", + "class": 2, + "hullCost": 56812626, + "speed": 256, + "boost": 345, + "boostEnergy": 19, + "baseShieldStrength": 335, + "baseArmour": 280, + "heatCapacity": 316, + "hardness": 70, + "hullMass": 450, + "masslock": 17, + "pipSpeed": 0.097826086956522, + "pitch": 37.72, + "roll": 92.76, + "yaw": 12.74, + "crew": 2, + "reserveFuelCapacity": 0.83 + }, + "retailCost": 67527360, + "bulkheads": [ + { + "id": "bO", + "edID": 129030465, + "eddbID": 0, + "grp": "bh", + "cost": 0, + "mass": 0, + "causres": 0, + "explres": -0.4, + "kinres": -0.2, + "thermres": 0, + "hullboost": 0.8 + }, + { + "id": "bP", + "edID": 129030466, + "eddbID": 0, + "grp": "bh", + "cost": 23702103, + "mass": 26, + "causres": 0, + "explres": -0.4, + "kinres": -0.2, + "thermres": 0, + "hullboost": 1.52 + }, + { + "id": "bQ", + "edID": 129030467, + "eddbID": 0, + "grp": "bh", + "cost": 53329732, + "mass": 53, + "causres": 0, + "explres": -0.4, + "kinres": -0.2, + "thermres": 0, + "hullboost": 2.5 + }, + { + "id": "bR", + "edID": 129030468, + "eddbID": 0, + "grp": "bh", + "cost": 126035933, + "mass": 53, + "causres": 0, + "explres": -0.5, + "kinres": -0.75, + "thermres": 0.5, + "hullboost": 2.5 + }, + { + "id": "bS", + "edID": 129030469, + "eddbID": 0, + "grp": "bh", + "cost": 139664643, + "mass": 53, + "causres": 0, + "explres": 0.2, + "kinres": 0.25, + "thermres": -0.4, + "hullboost": 2.5 + } + ], + "slots": { + "standard": [ + 6, + 6, + 5, + 4, + 6, + 5, + 4 + ], + "hardpoints": [ + 3, + 3, + 3, + 3, + 2, + 2, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "internal": [ + 6, + 4, + 3, + 2, + 1, + 1 + ] + }, + "defaults": { + "standard": [ + "6E", + "6E", + "FL", + "4E", + "6E", + "5E", + "4C" + ], + "hardpoints": [ + 0, + 0, + 0, + 0, + 17, + 17, + 0, + 0, + 0 + ], + "internal": [ + "4j", + "02", + "", + "", + "00", + "3w", + 0, + 0, + 0, + 0 + ] + } + } +}