Compare commits

..

38 Commits
2.2.2 ... 2.2.5

Author SHA1 Message Date
Cmdr McDonald
36b528c482 Merge branch 'release/2.2.5' 2016-12-03 15:05:33 +00:00
Cmdr McDonald
da843cfc38 Bump version number 2016-12-03 15:04:54 +00:00
Cmdr McDonald
52ab7efbbe Merge branch 'feature/rebalance' into develop 2016-12-01 10:27:03 +00:00
Cmdr McDonald
38cbf29c7d Fix internal name of dazzle shell 2016-11-30 14:46:15 +00:00
Cmdr McDonald
93717247e3 Updates for burst lasers 2016-11-30 14:28:07 +00:00
Cmdr McDonald
72b206cfef Add fragment cannon modifications 2016-11-30 12:18:47 +00:00
Cmdr McDonald
0257098a08 Fix rate of fire for burst lasers 2016-11-30 12:18:05 +00:00
Cmdr McDonald
808747a748 Merge branch 'hotfix/2.2.4-a' into develop 2016-11-29 15:14:49 +00:00
Cmdr McDonald
a0633f80d8 Merge branch 'hotfix/2.2.4-a' 2016-11-29 15:14:45 +00:00
Cmdr McDonald
a04e81f165 Fix incorrect ID for emissive munitions special 2016-11-29 15:14:35 +00:00
Cmdr McDonald
c802a570a0 Merge branch 'release/2.2.4' into develop 2016-11-28 16:48:03 +00:00
Cmdr McDonald
c08265b509 Merge branch 'release/2.2.4' 2016-11-28 16:47:54 +00:00
Cmdr McDonald
fb77f81f7d Bump version 2016-11-28 16:47:42 +00:00
Cmdr McDonald
deb0606de1 Merge branch 'feature/specials' into develop
Merge for #25
2016-11-27 19:45:43 +00:00
Cmdr McDonald
c088a8f99a Fix incorrect modification 2016-11-27 19:45:19 +00:00
Cmdr McDonald
4d1eb00136 Update changelog 2016-11-27 17:14:22 +00:00
Cmdr McDonald
f521070a56 Added known special effects 2016-11-27 00:06:51 +00:00
Cmdr McDonald
7fc1173e15 Merge branch 'feature/incendiary' into develop 2016-11-26 23:24:15 +00:00
Cmdr McDonald
6ce244f7d0 Merge branch 'feature/incendiary' of https://github.com/edcd/coriolis-data into feature/incendiary 2016-11-26 13:19:27 +00:00
Cmdr McDonald
a81ba13615 Change modifications from simple strings to objects, to allow more data-driven behaviour 2016-11-26 13:19:04 +00:00
Cmdr McDonald
922b5727e6 Add damage type modifier for incendiary rounds 2016-11-26 13:18:24 +00:00
Cmdr McDonald
e0d7417ec2 Merge branch 'feature/issue10' into develop
Merge for #10
2016-11-26 12:57:34 +00:00
Cmdr McDonald
b58f5c3bf5 Update dist 2016-11-26 12:57:26 +00:00
Cmdr McDonald
62a2bfe308 Merge of fix for #10 2016-11-26 12:56:39 +00:00
Cmdr McDonald
a2fcf8b2e7 Change modifications from simple strings to objects, to allow more data-driven behaviour 2016-11-26 12:49:39 +00:00
Cmdr McDonald
05e32fe1b1 Fix incorrect ID for luxury passenger cabins - #37 2016-11-24 19:17:07 +00:00
Cmdr McDonald
031e5b2a37 Merge branch 'release/2.2.3' into develop 2016-11-24 13:45:17 +00:00
Cmdr McDonald
e5cde00485 Merge branch 'release/2.2.3' 2016-11-24 13:45:12 +00:00
Cmdr McDonald
64c49b67c3 Bump revision 2016-11-24 13:45:03 +00:00
Cmdr McDonald
56cb1cbd00 Add damage type modifier for incendiary rounds 2016-11-24 13:44:12 +00:00
Cmdr McDonald
384af5dbd8 Merge branch 'feature/blueprints' into develop 2016-11-23 00:57:01 +00:00
Cmdr McDonald
258e1f9b34 Merge branch 'feature/issue29' into develop 2016-11-23 00:55:20 +00:00
Cmdr McDonald
d2404d9ad5 Update dist 2016-11-23 00:55:07 +00:00
Cmdr McDonald
361e921086 Fix details for thermal shock special effect 2016-11-23 00:31:55 +00:00
Cmdr McDonald
cd5d9af553 Add details for concordant sequence special effect 2016-11-23 00:24:10 +00:00
Cmdr McDonald
0ab34c984c Fix mismatch between class 5 and class 7 fighter hangars 2016-11-23 00:23:25 +00:00
Cmdr McDonald
737ae38110 Add blueprint information 2016-11-22 14:47:06 +00:00
Cmdr McDonald
cd62eb46c8 Merge branch 'release/2.2.2' into develop 2016-11-21 16:43:39 +00:00
15 changed files with 1885 additions and 193 deletions

View File

@@ -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

File diff suppressed because it is too large Load Diff

880
dist/index.json vendored

File diff suppressed because it is too large Load Diff

View 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" }
}

View File

@@ -1,5 +1,7 @@
module.exports = {
blueprints: require('./blueprints'),
modifications: require('./modifications'),
modifierActions: require('./modifierActions'),
specials: require('./specials'),
validity: require('./validity')
};

View File

@@ -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"}
}

View File

@@ -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": {},

View 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"}
}

View File

@@ -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",

View File

@@ -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"
}

View File

@@ -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",

View File

@@ -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,

View File

@@ -3,7 +3,7 @@
{
"class": 5,
"cost": 1658100,
"edID": 128727095,
"edID": 128727925,
"eddbID": 1575,
"grp": "pcq",
"id": "mm",

View File

@@ -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"

View File

@@ -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;
}
});
});