mirror of
https://github.com/EDCD/coriolis-data.git
synced 2025-12-09 07:33:24 +00:00
Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19e111b6a4 | ||
|
|
a74b6cfb51 | ||
|
|
926e89cf1e | ||
|
|
ba1ccdedb0 | ||
|
|
d1644df794 | ||
|
|
e99e86cfce | ||
|
|
fc649c6bbe | ||
|
|
41bc89df58 | ||
|
|
229e2742a7 | ||
|
|
6d4f79dda9 | ||
|
|
827ed4a6dd | ||
|
|
c82b28448c | ||
|
|
f3e4a19645 | ||
|
|
0d803c7c50 | ||
|
|
f02b9e0cac | ||
|
|
ea9294fd88 | ||
|
|
e020ee62c1 | ||
|
|
fa51463972 | ||
|
|
443ce708a5 | ||
|
|
1d2bb2d307 | ||
|
|
0026c1026e | ||
|
|
2d6ef26ab2 | ||
|
|
3a27604d01 | ||
|
|
a62adecffa |
14
ChangeLog.md
14
ChangeLog.md
@@ -1,3 +1,17 @@
|
||||
#2.2.15
|
||||
* Fix location of initial cargo rack for Vulture
|
||||
* Fix broken regeneration rate for 6B shield generators
|
||||
* Tidy up breach damage values
|
||||
|
||||
#2.2.14
|
||||
* Alter blueprint structure to combine components and features
|
||||
* Make hidden value of modifications its own attribute
|
||||
* Fix incorrect ED ID for class 6 passenger cabins
|
||||
|
||||
#2.2.13
|
||||
* Add plasma slug special effect for plasma accelerator
|
||||
* Tweak hull costs of ships
|
||||
|
||||
#2.2.12
|
||||
* Add special effects for each blueprint
|
||||
* Add IDs for most Powerplay modules
|
||||
|
||||
6415
dist/index.js
vendored
6415
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
14165
dist/index.json
vendored
14165
dist/index.json
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@
|
||||
"burstrof": {"id": 41, "name": "burstrof", "type": "numeric", "method": "overwrite"},
|
||||
"clip": {"id": 4, "name": "clip", "type": "percentage", "method": "multiplicative"},
|
||||
"damage": {"id": 5, "name": "damage", "type": "percentage", "method": "multiplicative"},
|
||||
"damagedist": {"id": 40, "name": "damage", "type": "hidden", "method": "overwrite"},
|
||||
"damagedist": {"id": 40, "name": "damage", "type": "object", "hidden": true, "method": "overwrite"},
|
||||
"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"},
|
||||
@@ -15,7 +15,7 @@
|
||||
"explres": {"id": 11, "name": "explres", "type": "percentage", "method": "additive"},
|
||||
"facinglimit": {"id": 12, "name": "facinglimit", "type": "percentage", "method": "multiplicative"},
|
||||
"falloff": {"id": 45, "name": "falloff", "type": "percentage", "method": "multiplicative"},
|
||||
"fallofffromrange": {"id": 42, "name": "fallofffromrange", "type": "hidden", "method": "overwrite"},
|
||||
"fallofffromrange": {"id": 42, "name": "fallofffromrange", "type": "numeric", "hidden": true, "method": "overwrite"},
|
||||
"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"},
|
||||
|
||||
@@ -340,9 +340,9 @@
|
||||
},
|
||||
"ls": {
|
||||
"blueprints": {
|
||||
"LifeSupport_LightWeight": [1, 2, 3, 4, 5],
|
||||
"LifeSupport_Reinforced": [1, 2, 3, 4, 5],
|
||||
"LifeSupport_Shielded": [1, 2, 3, 4, 5]
|
||||
"LifeSupport_LightWeight": [1, 2, 3, 4],
|
||||
"LifeSupport_Reinforced": [1, 2, 3, 4],
|
||||
"LifeSupport_Shielded": [1, 2, 3, 4]
|
||||
},
|
||||
"modifications": [
|
||||
"boot",
|
||||
@@ -497,6 +497,7 @@
|
||||
"special_blinding_shell",
|
||||
"special_dispersal_field",
|
||||
"special_phasing_sequence",
|
||||
"special_plasma_slug",
|
||||
"special_target_lock_breaker",
|
||||
"special_thermal_conduit"
|
||||
]
|
||||
@@ -727,8 +728,8 @@
|
||||
},
|
||||
"scb": {
|
||||
"blueprints": {
|
||||
"ShieldCellBank_Rapid": [1, 2, 3, 4],
|
||||
"ShieldCellBank_Specialised": [1, 2, 3, 4]
|
||||
"ShieldCellBank_Rapid": [1, 2, 3],
|
||||
"ShieldCellBank_Specialised": [1, 2, 3]
|
||||
},
|
||||
"modifications": [
|
||||
"boot",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"ul": [
|
||||
{
|
||||
"breachdmg": 7.05,
|
||||
"breachdmg": 1.5,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
@@ -29,7 +29,7 @@
|
||||
"thermload": 0.4
|
||||
},
|
||||
{
|
||||
"breachdmg": 5.3,
|
||||
"breachdmg": 1,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
@@ -57,9 +57,9 @@
|
||||
"thermload": 0.3
|
||||
},
|
||||
{
|
||||
"breachdmg": 1.92,
|
||||
"breachdmg": 0.4,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"breachmin": 0.6,
|
||||
"burst": 3,
|
||||
"burstrof": 19,
|
||||
"class": 1,
|
||||
@@ -116,7 +116,7 @@
|
||||
"thermload": 0.3
|
||||
},
|
||||
{
|
||||
"breachdmg": 11.1,
|
||||
"breachdmg": 3,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
@@ -144,7 +144,7 @@
|
||||
"thermload": 0.8
|
||||
},
|
||||
{
|
||||
"breachdmg": 8.82,
|
||||
"breachdmg": 2.1,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
@@ -172,9 +172,9 @@
|
||||
"thermload": 0.7
|
||||
},
|
||||
{
|
||||
"breachdmg": 3.51,
|
||||
"breachdmg": 0.9,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"breachmin": 0.6,
|
||||
"burst": 3,
|
||||
"burstrof": 15,
|
||||
"class": 2,
|
||||
@@ -200,7 +200,7 @@
|
||||
"thermload": 0.4
|
||||
},
|
||||
{
|
||||
"breachdmg": 10.53,
|
||||
"breachdmg": 3.9,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
@@ -228,7 +228,7 @@
|
||||
"thermload": 1.7
|
||||
},
|
||||
{
|
||||
"breachdmg": 14.08,
|
||||
"breachdmg": 4.4,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
@@ -256,9 +256,9 @@
|
||||
"thermload": 1.4
|
||||
},
|
||||
{
|
||||
"breachdmg": 5.58,
|
||||
"breachdmg": 1.8,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"breachmin": 0.6,
|
||||
"burst": 3,
|
||||
"burstrof": 11,
|
||||
"class": 3,
|
||||
@@ -284,7 +284,7 @@
|
||||
"thermload": 0.8
|
||||
},
|
||||
{
|
||||
"breachdmg": 28,
|
||||
"breachdmg": 17.5,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
@@ -312,7 +312,7 @@
|
||||
"thermload": 4.5
|
||||
},
|
||||
{
|
||||
"breachdmg": 21.63,
|
||||
"breachdmg": 10.3,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"burst": 3,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"pl": [
|
||||
{
|
||||
"breachdmg": 2.04,
|
||||
"breachdmg": 1.7,
|
||||
"breachmax": 0.8,
|
||||
"breachmin": 0.4,
|
||||
"class": 1,
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
"optmul": 0.9,
|
||||
"power": 1.8,
|
||||
"rating": "C",
|
||||
"regen": 2.2,
|
||||
"regen": 1.8,
|
||||
"thermres": -0.2
|
||||
},
|
||||
{
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
{
|
||||
"class": 6,
|
||||
"cost": 61420,
|
||||
"edID": 12872926,
|
||||
"edID": 128727926,
|
||||
"eddbID": 1567,
|
||||
"grp": "pce",
|
||||
"id": "me",
|
||||
|
||||
@@ -572,7 +572,7 @@
|
||||
"optmul": 1.1,
|
||||
"power": 3.72,
|
||||
"rating": "B",
|
||||
"regen": 3.1,
|
||||
"regen": 1.3,
|
||||
"thermres": -0.2
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "coriolis-data",
|
||||
"version": "2.2.12",
|
||||
"version": "2.2.15",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/EDCD/coriolis-data"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"name": "Keelback",
|
||||
"manufacturer": "Lakon",
|
||||
"class": 2,
|
||||
"hullCost": 2943880,
|
||||
"hullCost": 2943870,
|
||||
"speed": 200,
|
||||
"boost": 300,
|
||||
"boostEnergy": 10,
|
||||
@@ -21,7 +21,7 @@
|
||||
"roll": 100,
|
||||
"yaw": 15
|
||||
},
|
||||
"retailCost": 3126160,
|
||||
"retailCost": 3126150,
|
||||
"bulkheads": [
|
||||
{ "id": "cb", "edID": 128672271, "eddbID": 1513, "grp": "bh", "cost": 0, "mass": 0, "explres": -0.4, "kinres": -0.2, "thermres": 0, "hullboost": 0.8 },
|
||||
{ "id": "cc", "edID": 128672272, "eddbID": 1514, "grp": "bh", "cost": 1250460, "mass": 12, "explres": -0.4, "kinres": -0.2, "thermres": 0, "hullboost": 1.52 },
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"name": "Sidewinder",
|
||||
"manufacturer": "Faulcon DeLacy",
|
||||
"class": 1,
|
||||
"hullCost": 12870,
|
||||
"hullCost": 4070,
|
||||
"speed": 220,
|
||||
"boost": 320,
|
||||
"boostEnergy": 7,
|
||||
@@ -20,7 +20,7 @@
|
||||
"roll": 110,
|
||||
"yaw": 16
|
||||
},
|
||||
"retailCost": 40800,
|
||||
"retailCost": 32000,
|
||||
"bulkheads": [
|
||||
{ "id": "b0", "edID": 128049250, "eddbID": 738, "grp": "bh", "cost": 0, "mass": 0, "explres": -0.4, "kinres": -0.2, "thermres": 0, "hullboost": 0.8 },
|
||||
{ "id": "b1", "edID": 128049251, "eddbID": 739, "grp": "bh", "cost": 25600, "mass": 2, "explres": -0.4, "kinres": -0.2, "thermres": 0, "hullboost": 1.52 },
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"defaults": {
|
||||
"standard": ["4E", "5E", "4E", "3E", "5E", "4E", "3C"],
|
||||
"hardpoints": [17, 17, 0, 0, 0, 0],
|
||||
"internal": ["4e", 0, 0, "02", 0, "2h"]
|
||||
"internal": ["4e", 0, "02", 0, 0, "2h"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,23 +169,26 @@ describe('JSON Data', function() {
|
||||
|
||||
it('has valid blueprints', function() {
|
||||
var ids = {};
|
||||
var names = {};
|
||||
|
||||
for (var k in Modifications.blueprints) {
|
||||
const blueprint = Modifications.blueprints[k];
|
||||
for (var blueprintname in Modifications.blueprints) {
|
||||
const blueprint = Modifications.blueprints[blueprintname];
|
||||
expect(names[blueprintname]).toBeFalsy('Name already exists: ' + blueprintname);
|
||||
names[blueprintname] = true;
|
||||
expect(ids[blueprint.id]).toBeFalsy('ID already exists: ' + blueprint.id);
|
||||
expect(blueprint.name).toBeDefined('Blueprint has no name, ID:' + blueprint.id);
|
||||
|
||||
for (var x in blueprint.features) {
|
||||
var b = blueprint.features[x];
|
||||
var bfs = {};
|
||||
for (var bf in b) {
|
||||
expect(bfs[bf]).toBeFalsy(`Blueprint feature [${bf}] already exists: ${blueprint.name}`);
|
||||
expect(Modifications.modifications[bf]).toBeDefined(`Blueprint feature [${bf}] uknown: ${blueprint.name}`);
|
||||
bfs[bf] = true;
|
||||
}
|
||||
}
|
||||
|
||||
ids[blueprint.id] = true;
|
||||
expect(blueprint.name).toBeDefined('Blueprint has no name, ID:' + blueprint.id);
|
||||
expect(blueprint.grades).toBeDefined('Blueprint has no grades, ID:' + blueprint.id);
|
||||
|
||||
grades = {}
|
||||
for (var grade in blueprint.grades) {
|
||||
expect(grades[grade]).toBeFalsy('Grade already exists: ' + grade + ' for ' + blueprintname);
|
||||
grades[grade] = true;
|
||||
|
||||
const blueprintgrade = blueprint.grades[grade];
|
||||
expect(blueprintgrade.components).toBeDefined('Blueprint grade ' + grade + ' has no components for ' + blueprintname);
|
||||
expect(blueprintgrade.features).toBeDefined('Blueprint grade ' + grade + ' has no features for ' + blueprintname);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user