mirror of
https://github.com/EDCD/coriolis-data.git
synced 2025-12-08 23:23:23 +00:00
Compare commits
38 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36b528c482 | ||
|
|
da843cfc38 | ||
|
|
52ab7efbbe | ||
|
|
38cbf29c7d | ||
|
|
93717247e3 | ||
|
|
72b206cfef | ||
|
|
0257098a08 | ||
|
|
808747a748 | ||
|
|
a0633f80d8 | ||
|
|
a04e81f165 | ||
|
|
c802a570a0 | ||
|
|
c08265b509 | ||
|
|
fb77f81f7d | ||
|
|
deb0606de1 | ||
|
|
c088a8f99a | ||
|
|
4d1eb00136 | ||
|
|
f521070a56 | ||
|
|
7fc1173e15 | ||
|
|
6ce244f7d0 | ||
|
|
a81ba13615 | ||
|
|
922b5727e6 | ||
|
|
e0d7417ec2 | ||
|
|
b58f5c3bf5 | ||
|
|
62a2bfe308 | ||
|
|
a2fcf8b2e7 | ||
|
|
05e32fe1b1 | ||
|
|
031e5b2a37 | ||
|
|
e5cde00485 | ||
|
|
64c49b67c3 | ||
|
|
56cb1cbd00 | ||
|
|
384af5dbd8 | ||
|
|
258e1f9b34 | ||
|
|
d2404d9ad5 | ||
|
|
361e921086 | ||
|
|
cd5d9af553 | ||
|
|
0ab34c984c | ||
|
|
737ae38110 | ||
|
|
cd62eb46c8 |
20
ChangeLog.md
20
ChangeLog.md
@@ -1,4 +1,22 @@
|
||||
#2.2.x
|
||||
#2.2.5
|
||||
* Fix incorrect ID for emissive munitions special
|
||||
* Fix rate of fire for burst lasers
|
||||
* Add fragment cannon modifications
|
||||
* Fix internal name of dazzle shell
|
||||
|
||||
#2.2.4
|
||||
* Fix incorrect ID for class 5 luxury passenger cabin
|
||||
* Add damage type modifier
|
||||
* Change modifications from simple strings to objects, to allow more data-driven behaviour
|
||||
* Add special effects
|
||||
|
||||
#2.2.3
|
||||
* Fix mismatch between class 5 and class 7 fighter hangars
|
||||
* Add details for concordant sequence special effect
|
||||
* Fix details for thermal shock special effect
|
||||
* Add engineer blueprints
|
||||
|
||||
#2.2.2
|
||||
* Add distributor draw modifier to shield generators
|
||||
* Remove modifiers for sensors
|
||||
* Add initial loadout passenger cabins for Beluga
|
||||
|
||||
837
dist/index.js
vendored
837
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
880
dist/index.json
vendored
880
dist/index.json
vendored
File diff suppressed because it is too large
Load Diff
93
modifications/blueprints.json
Normal file
93
modifications/blueprints.json
Normal file
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"AFM_LightWeight": { "id": 1, "name": "Lightweight" },
|
||||
"AFM_Reinforced": { "id": 2, "name": "Reinforced" },
|
||||
"AFM_Shielded": { "id": 3, "name": "Shielded" },
|
||||
"Armour_Advanced": { "id": 4, "name": "Kinetic resistant" },
|
||||
"Armour_Explosive": { "id": 5, "name": "Blast Resistant" },
|
||||
"Armour_LightWeight": { "id": 6, "name": "Lightweight" },
|
||||
"Armour_HeavyDuty": { "id": 7, "name": "Heavy Duty" },
|
||||
"Armour_Thermic": { "id": 8, "name": "Thermal Resistant" },
|
||||
"CargoScanner_LightWeight": { "id": 9, "name": "Lightweight" },
|
||||
"CargoScanner_Reinforced": { "id": 10, "name": "Reinforced" },
|
||||
"CargoScanner_Shielded": { "id": 11, "name": "Shielded" },
|
||||
"ChaffLauncher_ChaffCapacity": { "id": 12, "name": "Ammo capacity" },
|
||||
"ChaffLauncher_LightWeight": { "id": 13, "name": "Lightweight" },
|
||||
"ChaffLauncher_Reinforced": { "id": 14, "name": "Reinforced" },
|
||||
"ChaffLauncher_Shielded": { "id": 15, "name": "Shielded" },
|
||||
"CollectionLimpet_LightWeight": { "id": 16, "name": "Lightweight" },
|
||||
"CollectionLimpet_Reinforced": { "id": 17, "name": "Reinforced" },
|
||||
"CollectionLimpet_Shielded": { "id": 18, "name": "Shielded" },
|
||||
"ECM_LightWeight": { "id": 19, "name": "Lightweight" },
|
||||
"ECM_Reinforced": { "id": 20, "name": "Reinforced" },
|
||||
"ECM_Shielded": { "id": 21, "name": "Shielded" },
|
||||
"Engine_Dirty": { "id": 22, "name": "Dirty" },
|
||||
"Engine_Reinforced": { "id": 23, "name": "Reinforced" },
|
||||
"Engine_Tuned": { "id": 24, "name": "Clean" },
|
||||
"FSD_FastBoot": { "id": 25, "name": "Faster boot sequence" },
|
||||
"FSD_LongRange": { "id": 26, "name": "Increased range" },
|
||||
"FSD_Shielded": { "id": 27, "name": "Shielded" },
|
||||
"FSDinterdictor_Expanded": { "id": 28, "name": "Expanded capture arc" },
|
||||
"FSDinterdictor_LongRange": { "id": 29, "name": "Longer range" },
|
||||
"FuelScoop_Shielded": { "id": 30, "name": "Shielded" },
|
||||
"FuelTransferLimpet_LightWeight": { "id": 31, "name": "Lightweight" },
|
||||
"FuelTransferLimpet_Reinforced": { "id": 32, "name": "Reinforced" },
|
||||
"FuelTransferLimpet_Shielded": { "id": 33, "name": "Shielded" },
|
||||
"HatchBreakerLimpet_LightWeight": { "id": 34, "name": "Lightweight" },
|
||||
"HatchBreakerLimpet_Reinforced": { "id": 35, "name": "Reinforced" },
|
||||
"HatchBreakerLimpet_Shielded": { "id": 36, "name": "Shielded" },
|
||||
"HeatSinkLauncher_HeatSinkCapacity": { "id": 37, "name": "Ammo capacity" },
|
||||
"HeatSinkLauncher_LightWeight": { "id": 38, "name": "Lightweight" },
|
||||
"HeatSinkLauncher_Reinforced": { "id": 39, "name": "Reinforced" },
|
||||
"HeatSinkLauncher_Shielded": { "id": 40, "name": "Shielded" },
|
||||
"HullReinforcement_Advanced": { "id": 41, "name": "Blast resistant" },
|
||||
"HullReinforcement_HeavyDuty": { "id": 42, "name": "Heavy duty" },
|
||||
"HullReinforcement_Lightweight": { "id": 43, "name": "Lightweight" },
|
||||
"HullReinforcement_Kinetic": { "id": 44, "name": "Kinetic resistant" },
|
||||
"HullReinforcement_Thermic": { "id": 45, "name": "Thermal resistant" },
|
||||
"KillWarrantScanner_LightWeight": { "id": 46, "name": "Lightweight" },
|
||||
"KillWarrantScanner_Reinforced": { "id": 47, "name": "Reinforced" },
|
||||
"KillWarrantScanner_Shielded": { "id": 48, "name": "Shielded" },
|
||||
"LifeSupport_LightWeight": { "id": 49, "name": "Lightweight" },
|
||||
"LifeSupport_Reinforced": { "id": 50, "name": "Reinforced" },
|
||||
"LifeSupport_Shielded": { "id": 51, "name": "Shielded" },
|
||||
"PointDefence_LightWeight": { "id": 52, "name": "Lightweight" },
|
||||
"PointDefence_Reinforced": { "id": 53, "name": "Reinforced" },
|
||||
"PointDefence_Shielded": { "id": 54, "name": "Shielded" },
|
||||
"PointDefence_PointDefenseCapacity": { "id": 55, "name": "Ammo capacity" },
|
||||
"PowerDistributor_HighCapacity": { "id": 56, "name": "High charge capacity" },
|
||||
"PowerDistributor_HighFrequency": { "id": 57, "name": "Charge enhanced" },
|
||||
"PowerDistributor_PriorityEngines": { "id": 58, "name": "Engine focused" },
|
||||
"PowerDistributor_PrioritySystems": { "id": 59, "name": "System focused" },
|
||||
"PowerDistributor_PriorityWeapons": { "id": 60, "name": "Weapon focused" },
|
||||
"PowerDistributor_Shielded": { "id": 61, "name": "Shielded" },
|
||||
"PowerPlant_Armoured": { "id": 62, "name": "Armoured" },
|
||||
"PowerPlant_Boosted": { "id": 63, "name": "Overcharged" },
|
||||
"PowerPlant_Stealth": { "id": 64, "name": "Low emissions" },
|
||||
"ProspectingLimpet_LightWeight": { "id": 65, "name": "Lightweight" },
|
||||
"ProspectingLimpet_Reinforced": { "id": 66, "name": "Reinforced" },
|
||||
"ProspectingLimpet_Shielded": { "id": 67, "name": "Shielded" },
|
||||
"ShieldBooster_Explosive": { "id": 68, "name": "Blast resistant" },
|
||||
"ShieldBooster_HeavyDuty": { "id": 69, "name": "Heavy duty" },
|
||||
"ShieldBooster_Kinetic": { "id": 70, "name": "Kinetic resistant" },
|
||||
"ShieldBooster_Resistive": { "id": 71, "name": "Resistance augmented" },
|
||||
"ShieldBooster_Thermic": { "id": 72, "name": "Thermal resistant" },
|
||||
"ShieldCellBank_Rapid": { "id": 73, "name": "Rapid charge" },
|
||||
"ShieldCellBank_Specialised": { "id": 74, "name": "Specialised" },
|
||||
"ShieldGenerator_Kinetic": { "id": 75, "name": "Kinetic resistant" },
|
||||
"ShieldGenerator_Optimised": { "id": 76, "name": "Enhanced low power" },
|
||||
"ShieldGenerator_Reinforced": { "id": 77, "name": "Reinforced" },
|
||||
"ShieldGenerator_Thermic": { "id": 78, "name": "Thermal resistant" },
|
||||
"WakeScanner_LightWeight": { "id": 79, "name": "Lightweight" },
|
||||
"WakeScanner_Shielded": { "id": 80, "name": "Shielded" },
|
||||
"WakeScanner_Reinforced": { "id": 81, "name": "Reinforced" },
|
||||
"Weapon_DoubleShot": { "id": 82, "name": "Double shot" },
|
||||
"Weapon_Efficient": { "id": 83, "name": "Efficient" },
|
||||
"Weapon_Focused": { "id": 84, "name": "Focused" },
|
||||
"Weapon_HighCapacity": { "id": 85, "name": "High capacity" },
|
||||
"Weapon_LightWeight": { "id": 86, "name": "Lightweight" },
|
||||
"Weapon_LongRange": { "id": 87, "name": "Long range" },
|
||||
"Weapon_Overcharged": { "id": 88, "name": "Overcharged" },
|
||||
"Weapon_RapidFire": { "id": 89, "name": "Rapid fire" },
|
||||
"Weapon_ShortRange": { "id": 90, "name": "Short range" },
|
||||
"Weapon_Sturdy": { "id": 91, "name": "Sturdy" }
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
module.exports = {
|
||||
blueprints: require('./blueprints'),
|
||||
modifications: require('./modifications'),
|
||||
modifierActions: require('./modifierActions'),
|
||||
specials: require('./specials'),
|
||||
validity: require('./validity')
|
||||
};
|
||||
|
||||
@@ -1,42 +1,44 @@
|
||||
[
|
||||
"ammo",
|
||||
"boot",
|
||||
"brokenregen",
|
||||
"burst",
|
||||
"clip",
|
||||
"damage",
|
||||
"distdraw",
|
||||
"duration",
|
||||
"eff",
|
||||
"engcap",
|
||||
"engrate",
|
||||
"explres",
|
||||
"facinglimit",
|
||||
"hullboost",
|
||||
"hullreinforcement",
|
||||
"integrity",
|
||||
"jitter",
|
||||
"kinres",
|
||||
"mass",
|
||||
"maxfuel",
|
||||
"optmass",
|
||||
"optmul",
|
||||
"pgen",
|
||||
"piercing",
|
||||
"power",
|
||||
"range",
|
||||
"ranget",
|
||||
"regen",
|
||||
"reload",
|
||||
"rof",
|
||||
"shield",
|
||||
"shieldboost",
|
||||
"spinup",
|
||||
"syscap",
|
||||
"sysrate",
|
||||
"thermload",
|
||||
"thermres",
|
||||
"wepcap",
|
||||
"weprate",
|
||||
"shieldreinforcement"
|
||||
]
|
||||
{
|
||||
"ammo": {"id": 0, "name": "ammo", "type": "percentage", "method": "multiplicative"},
|
||||
"boot": {"id": 1, "name": "boot", "type": "percentage", "method": "multiplicative"},
|
||||
"brokenregen": {"id": 2, "name": "brokenregen", "type": "percentage", "method": "multiplicative"},
|
||||
"burst": {"id": 3, "name": "burst", "type": "numeric", "method": "multiplicative"},
|
||||
"burstrof": {"id": 41, "name": "burstrof", "type": "percentage", "method": "multiplicative"},
|
||||
"clip": {"id": 4, "name": "clip", "type": "percentage", "method": "multiplicative"},
|
||||
"damage": {"id": 5, "name": "damage", "type": "percentage", "method": "multiplicative"},
|
||||
"distdraw": {"id": 6, "name": "distdraw", "type": "percentage", "method": "multiplicative"},
|
||||
"duration": {"id": 7, "name": "duration", "type": "percentage", "method": "multiplicative"},
|
||||
"eff": {"id": 8, "name": "eff", "type": "percentage", "method": "multiplicative"},
|
||||
"engcap": {"id": 9, "name": "engcap", "type": "percentage", "method": "multiplicative"},
|
||||
"engrate": {"id": 10, "name": "engrate", "type": "percentage", "method": "multiplicative"},
|
||||
"explres": {"id": 11, "name": "explres", "type": "percentage", "method": "additive"},
|
||||
"facinglimit": {"id": 12, "name": "facinglimit", "type": "percentage", "method": "multiplicative"},
|
||||
"hullboost": {"id": 13, "name": "hullboost", "type": "percentage", "method": "multiplicative"},
|
||||
"hullreinforcement": {"id": 14, "name": "hullreinforcement", "type": "percentage", "method": "multiplicative"},
|
||||
"integrity": {"id": 15, "name": "integrity", "type": "percentage", "method": "multiplicative"},
|
||||
"jitter": {"id": 16, "name": "jitter", "type": "numeric", "method": "multiplicative"},
|
||||
"kinres": {"id": 17, "name": "kinres", "type": "percentage", "method": "additive"},
|
||||
"mass": {"id": 18, "name": "mass", "type": "percentage", "method": "multiplicative"},
|
||||
"maxfuel": {"id": 19, "name": "maxfuel", "type": "percentage", "method": "multiplicative"},
|
||||
"optmass": {"id": 20, "name": "optmass", "type": "percentage", "method": "multiplicative"},
|
||||
"optmul": {"id": 21, "name": "optmul", "type": "percentage", "method": "multiplicative"},
|
||||
"pgen": {"id": 22, "name": "pgen", "type": "percentage", "method": "multiplicative"},
|
||||
"piercing": {"id": 23, "name": "piercing", "type": "percentage", "method": "multiplicative"},
|
||||
"power": {"id": 24, "name": "power", "type": "percentage", "method": "multiplicative"},
|
||||
"range": {"id": 25, "name": "range", "type": "percentage", "method": "multiplicative"},
|
||||
"ranget": {"id": 26, "name": "ranget", "type": "percentage", "method": "multiplicative"},
|
||||
"regen": {"id": 27, "name": "regen", "type": "percentage", "method": "multiplicative"},
|
||||
"reload": {"id": 28, "name": "reload", "type": "percentage", "method": "multiplicative"},
|
||||
"rof": {"id": 29, "name": "rof", "type": "percentage", "method": "multiplicative"},
|
||||
"shield": {"id": 30, "name": "shield", "type": "percentage", "method": "multiplicative"},
|
||||
"shieldboost": {"id": 31, "name": "shieldboost", "type": "percentage", "method": "multiplicative"},
|
||||
"spinup": {"id": 32, "name": "spinup", "type": "percentage", "method": "multiplicative"},
|
||||
"syscap": {"id": 33, "name": "syscap", "type": "percentage", "method": "multiplicative"},
|
||||
"sysrate": {"id": 34, "name": "sysrate", "type": "percentage", "method": "multiplicative"},
|
||||
"thermload": {"id": 35, "name": "thermload", "type": "percentage", "method": "multiplicative"},
|
||||
"thermres": {"id": 36, "name": "thermres", "type": "percentage", "method": "additive"},
|
||||
"wepcap": {"id": 37, "name": "wepcap", "type": "percentage", "method": "multiplicative"},
|
||||
"weprate": {"id": 38, "name": "weprate", "type": "percentage", "method": "multiplicative"},
|
||||
"shieldreinforcement": {"id": 39, "name": "shieldreinforcement", "type": "percentage", "method": "multiplicative"},
|
||||
"type": {"id": 40, "name": "type", "type": "alphabetic", "method": "overwrite"}
|
||||
}
|
||||
|
||||
@@ -159,11 +159,18 @@
|
||||
"mod_weapon_burst_interval": {
|
||||
"rof": 1
|
||||
},
|
||||
"mod_weapon_burst_rof": {},
|
||||
"mod_weapon_burst_size": {},
|
||||
"mod_weapon_burst_rof": {
|
||||
"burstrof": 1
|
||||
},
|
||||
"mod_weapon_burst_size": {
|
||||
"burst": 1
|
||||
},
|
||||
"mod_weapon_clip_size": {
|
||||
"clip": 1
|
||||
},
|
||||
"mod_weapon_clip_size_override": {
|
||||
"clip": 1
|
||||
},
|
||||
"mod_weapon_damage": {
|
||||
"damage": 1
|
||||
},
|
||||
@@ -181,6 +188,9 @@
|
||||
},
|
||||
"special_auto_loader": {},
|
||||
"special_choke_canister": {},
|
||||
"special_concordant_sequence": {
|
||||
"thermload": 0.5
|
||||
},
|
||||
"special_corrosive_shell": {
|
||||
"ammo": -0.2
|
||||
},
|
||||
@@ -196,7 +206,8 @@
|
||||
"special_high_yield_shell": {},
|
||||
"special_incendiary_rounds": {
|
||||
"rof": 0.05263157894736842,
|
||||
"thermload": 2
|
||||
"thermload": 2,
|
||||
"type": "T"
|
||||
},
|
||||
"special_overload_munitions": {
|
||||
"ammo": -0.2
|
||||
@@ -209,6 +220,9 @@
|
||||
"special_scramble_spectrum": {
|
||||
"rof": 0.1111111111111111
|
||||
},
|
||||
"special_screening_shell": {
|
||||
"reload": -0.5
|
||||
},
|
||||
"special_shiftlock_canister": {
|
||||
"damage": -0.2
|
||||
},
|
||||
@@ -218,7 +232,7 @@
|
||||
"thermload": 0.25
|
||||
},
|
||||
"special_thermalshock": {
|
||||
"damage": -0.25
|
||||
"damage": -0.2
|
||||
},
|
||||
"trade_cell_heat_cell_units": {},
|
||||
"trade_defence_health_add_defence_global_mult": {},
|
||||
|
||||
34
modifications/specials.json
Normal file
34
modifications/specials.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"special_auto_loader": {"id": 0, "name": "Auto loader"},
|
||||
"special_choke_canister": {"id": 1, "name": "Choke canister"},
|
||||
"special_concordant_sequence": {"id": 2, "name": "Concordant sequence"},
|
||||
"special_corrosive_shell": {"id": 3, "name": "Corrosive shell"},
|
||||
"special_blinding_shell": {"id": 4, "name": "Dazzle shell"},
|
||||
"special_dispersal_field": {"id": 5, "name": "Dispersal field"},
|
||||
"special_distortion_field": {"id": 6, "name": "Distortion field"},
|
||||
"special_drag_munitions": {"id": 7, "name": "Drag munitions"},
|
||||
"special_emissive_munitions": {"id": 8, "name": "Emissive munitions"},
|
||||
"special_feedback_cascade": {"id": 9, "name": "Feedback cascade"},
|
||||
"special_force_shell": {"id": 10, "name": "Force shell"},
|
||||
"special_high_yield_shell": {"id": 11, "name": "High yield shell"},
|
||||
"special_incendiary_rounds": {"id": 12, "name": "Incendiary rounds"},
|
||||
"special_ion_disruptor": {"id": 13, "name": "Ion disruptor"},
|
||||
"special_mass_lock_munition": {"id": 14, "name": "Mass lock munition"},
|
||||
"special_overload_munitions": {"id": 15, "name": "Overload munitions"},
|
||||
"special_penetrator_payload": {"id": 16, "name": "Penetrator payload"},
|
||||
"special_phasing_sequence": {"id": 17, "name": "Phasing sequence"},
|
||||
"special_plasma_slug": {"id": 18, "name": "Plasma slug"},
|
||||
"special_radiant_canister": {"id": 19, "name": "Radiant Canister"},
|
||||
"special_regeneration_sequence": {"id": 20, "name": "Regeneration sequence"},
|
||||
"special_reverberating_cascade": {"id": 21, "name": "Reverberating cascade"},
|
||||
"special_scramble_spectrum": {"id": 22, "name": "Scramble spectrum"},
|
||||
"special_screening_shell": {"id": 23, "name": "Screening shell"},
|
||||
"special_shiftlock_canister": {"id": 24, "name": "Shift-lock canister"},
|
||||
"special_smart_rounds": {"id": 25, "name": "Smart rounds"},
|
||||
"special_super_penetrator": {"id": 26, "name": "Super penetrator"},
|
||||
"special_target_lock_breaker": {"id": 27, "name": "Target lock breaker"},
|
||||
"special_thermal_cascade": {"id": 28, "name": "Thermal cascade"},
|
||||
"special_thermal_conduit": {"id": 29, "name": "Thermal conduit"},
|
||||
"special_thermal_vent": {"id": 30, "name": "Thermal vent"},
|
||||
"special_thermalshock": {"id": 31, "name": "Thermal shock"}
|
||||
}
|
||||
@@ -76,6 +76,7 @@
|
||||
"fc": [
|
||||
"ammo",
|
||||
"burst",
|
||||
"burstrof",
|
||||
"clip",
|
||||
"damage",
|
||||
"distdraw",
|
||||
@@ -87,7 +88,8 @@
|
||||
"range",
|
||||
"reload",
|
||||
"rof",
|
||||
"thermload"
|
||||
"thermload",
|
||||
"type"
|
||||
],
|
||||
"fi": [
|
||||
"boot",
|
||||
@@ -160,7 +162,8 @@
|
||||
"range",
|
||||
"reload",
|
||||
"rof",
|
||||
"thermload"
|
||||
"thermload",
|
||||
"type"
|
||||
],
|
||||
"mr": [
|
||||
"ammo",
|
||||
@@ -336,6 +339,7 @@
|
||||
],
|
||||
"ul": [
|
||||
"burst",
|
||||
"burstrof",
|
||||
"damage",
|
||||
"distdraw",
|
||||
"integrity",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"power": 0.65,
|
||||
"range": 3000,
|
||||
"rating": "F",
|
||||
"rof": 4.735,
|
||||
"rof": 2,
|
||||
"thermload": 0.4,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -33,7 +33,7 @@
|
||||
"burstrof": 17,
|
||||
"class": 1,
|
||||
"cost": 8600,
|
||||
"damage": 1.22,
|
||||
"damage": 1.2,
|
||||
"distdraw": 0.27,
|
||||
"edID": 128049404,
|
||||
"eddbID": 835,
|
||||
@@ -46,7 +46,7 @@
|
||||
"power": 0.64,
|
||||
"range": 3000,
|
||||
"rating": "G",
|
||||
"rof": 5.28,
|
||||
"rof": 2.23,
|
||||
"thermload": 0.3,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -71,7 +71,7 @@
|
||||
"power": 0.6,
|
||||
"range": 3000,
|
||||
"rating": "G",
|
||||
"rof": 4.795,
|
||||
"rof": 1.92,
|
||||
"thermload": 0.2,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -98,7 +98,7 @@
|
||||
"pp": "Archon Delaine",
|
||||
"range": 600,
|
||||
"rating": "F",
|
||||
"rof": 7.615,
|
||||
"rof": 1.98,
|
||||
"thermload": 0.3,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -110,7 +110,7 @@
|
||||
"burstrof": 11,
|
||||
"class": 2,
|
||||
"cost": 23000,
|
||||
"damage": 3.53,
|
||||
"damage": 3.5,
|
||||
"distdraw": 0.63,
|
||||
"edID": 128049401,
|
||||
"eddbID": 833,
|
||||
@@ -123,7 +123,7 @@
|
||||
"power": 1.05,
|
||||
"range": 3000,
|
||||
"rating": "E",
|
||||
"rof": 3.695,
|
||||
"rof": 1.6,
|
||||
"thermload": 0.8,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -148,7 +148,7 @@
|
||||
"power": 1.04,
|
||||
"range": 3000,
|
||||
"rating": "F",
|
||||
"rof": 4.2,
|
||||
"rof": 1.78,
|
||||
"thermload": 0.7,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -160,7 +160,7 @@
|
||||
"burstrof": 15,
|
||||
"class": 2,
|
||||
"cost": 162800,
|
||||
"damage": 1.72,
|
||||
"damage": 1.74,
|
||||
"distdraw": 0.31,
|
||||
"edID": 128049408,
|
||||
"eddbID": 839,
|
||||
@@ -173,7 +173,7 @@
|
||||
"power": 0.98,
|
||||
"range": 3000,
|
||||
"rating": "F",
|
||||
"rof": 3.93,
|
||||
"rof": 1.57,
|
||||
"thermload": 0.4,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -185,7 +185,7 @@
|
||||
"burstrof": 7,
|
||||
"class": 3,
|
||||
"cost": 140400,
|
||||
"damage": 7.74,
|
||||
"damage": 7.75,
|
||||
"distdraw": 1.39,
|
||||
"edID": 128049402,
|
||||
"eddbID": 834,
|
||||
@@ -198,7 +198,7 @@
|
||||
"power": 1.66,
|
||||
"range": 3000,
|
||||
"rating": "D",
|
||||
"rof": 2.685,
|
||||
"rof": 1.2,
|
||||
"thermload": 1.7,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -210,7 +210,7 @@
|
||||
"burstrof": 9,
|
||||
"class": 3,
|
||||
"cost": 281600,
|
||||
"damage": 5.16,
|
||||
"damage": 5.18,
|
||||
"distdraw": 1.16,
|
||||
"edID": 128049406,
|
||||
"eddbID": 837,
|
||||
@@ -223,7 +223,7 @@
|
||||
"power": 1.65,
|
||||
"range": 3000,
|
||||
"rating": "E",
|
||||
"rof": 3.215,
|
||||
"rof": 1.4,
|
||||
"thermload": 1.4,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -235,7 +235,7 @@
|
||||
"burstrof": 11,
|
||||
"class": 3,
|
||||
"cost": 800400,
|
||||
"damage": 3.53,
|
||||
"damage": 3.54,
|
||||
"distdraw": 0.63,
|
||||
"edID": 128049409,
|
||||
"eddbID": 840,
|
||||
@@ -248,7 +248,7 @@
|
||||
"power": 1.57,
|
||||
"range": 3000,
|
||||
"rating": "E",
|
||||
"rof": 3.115,
|
||||
"rof": 1.272,
|
||||
"thermload": 0.8,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -273,7 +273,7 @@
|
||||
"power": 2.58,
|
||||
"range": 3000,
|
||||
"rating": "E",
|
||||
"rof": 1.565,
|
||||
"rof": 0.8,
|
||||
"thermload": 4.5,
|
||||
"type": "T"
|
||||
},
|
||||
@@ -298,7 +298,7 @@
|
||||
"power": 2.59,
|
||||
"range": 3000,
|
||||
"rating": "E",
|
||||
"rof": 2.14,
|
||||
"rof": 1,
|
||||
"thermload": 3.3,
|
||||
"type": "T"
|
||||
}
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
"bays": 2,
|
||||
"class": 7,
|
||||
"cost": 575660,
|
||||
"edID": 128727930,
|
||||
"eddbID": 1560,
|
||||
"edID": 128727932,
|
||||
"eddbID": 1562,
|
||||
"fightercost": 1030,
|
||||
"grp": "fh",
|
||||
"id": "fh",
|
||||
@@ -32,8 +32,8 @@
|
||||
"bays": 1,
|
||||
"class": 5,
|
||||
"cost": 2369330,
|
||||
"edID": 128727932,
|
||||
"eddbID": 1562,
|
||||
"edID": 128727930,
|
||||
"eddbID": 1560,
|
||||
"fightercost": 1030,
|
||||
"grp": "fh",
|
||||
"id": "fr",
|
||||
|
||||
@@ -34,13 +34,13 @@
|
||||
"cost": 65000,
|
||||
"edID": 128668543,
|
||||
"eddbID": 1379,
|
||||
"explres": 0.2,
|
||||
"explres": 0.02,
|
||||
"grp": "hr",
|
||||
"id": "2c",
|
||||
"kinres": 0.2,
|
||||
"kinres": 0.02,
|
||||
"mass": 32,
|
||||
"rating": "E",
|
||||
"thermres": 0.2
|
||||
"thermres": 0.02
|
||||
},
|
||||
{
|
||||
"hullreinforcement": 330,
|
||||
@@ -48,13 +48,13 @@
|
||||
"cost": 195000,
|
||||
"edID": 128668544,
|
||||
"eddbID": 1380,
|
||||
"explres": 0.2,
|
||||
"explres": 0.02,
|
||||
"grp": "hr",
|
||||
"id": "2b",
|
||||
"kinres": 0.2,
|
||||
"kinres": 0.02,
|
||||
"mass": 16,
|
||||
"rating": "D",
|
||||
"thermres": 0.2
|
||||
"thermres": 0.02
|
||||
},
|
||||
{
|
||||
"hullreinforcement": 230,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{
|
||||
"class": 5,
|
||||
"cost": 1658100,
|
||||
"edID": 128727095,
|
||||
"edID": 128727925,
|
||||
"eddbID": 1575,
|
||||
"grp": "pcq",
|
||||
"id": "mm",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "coriolis-data",
|
||||
"version": "2.2.2",
|
||||
"version": "2.2.5",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/EDCD/coriolis-data"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
var Modules = require('../modules');
|
||||
var Ships = require('../ships');
|
||||
var Modifications = require('../modifications');
|
||||
|
||||
describe('JSON Data', function() {
|
||||
|
||||
@@ -160,4 +161,39 @@ describe('JSON Data', function() {
|
||||
}
|
||||
});
|
||||
|
||||
it('has valid blueprints', function() {
|
||||
var ids = {};
|
||||
|
||||
for (var k in Modifications.blueprints) {
|
||||
const blueprint = Modifications.blueprints[k];
|
||||
expect(ids[blueprint.id]).toBeFalsy('ID already exists: ' + blueprint.id);
|
||||
expect(blueprint.name).toBeDefined('Blueprint has no name, ID:' + blueprint.id);
|
||||
ids[blueprint.id] = true;
|
||||
}
|
||||
});
|
||||
|
||||
it('has valid modifications', function() {
|
||||
var ids = {};
|
||||
|
||||
for (var k in Modifications.modifications) {
|
||||
const modification = Modifications.modifications[k];
|
||||
expect(ids[modification.id]).toBeFalsy('ID already exists: ' + modification.id);
|
||||
expect(modification.name).toBeDefined('Modification has no name, ID:' + modification.id);
|
||||
expect(modification.type).toBeDefined('Modification has no type, ID:' + modification.id);
|
||||
expect(modification.method).toBeDefined('Modification has no method, ID:' + modification.id);
|
||||
ids[modification.id] = true;
|
||||
}
|
||||
});
|
||||
|
||||
it('has valid specials', function() {
|
||||
var ids = {};
|
||||
|
||||
for (var k in Modifications.specials) {
|
||||
const special = Modifications.specials[k];
|
||||
expect(ids[special.id]).toBeFalsy('ID already exists: ' + special.id);
|
||||
expect(special.name).toBeDefined('Special has no name, ID:' + special.id);
|
||||
ids[special.id] = true;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user