mirror of
https://github.com/EDCD/coriolis-data.git
synced 2025-12-08 23:23:23 +00:00
Add modification information
This commit is contained in:
78
dist/index.js
vendored
78
dist/index.js
vendored
@@ -2327,6 +2327,7 @@ module.exports = {
|
||||
eddbID: 956,
|
||||
grp: "t",
|
||||
id: "ty",
|
||||
integrity: 135,
|
||||
mass: 160,
|
||||
maxmass: 3360,
|
||||
optmass: 2240,
|
||||
@@ -2341,6 +2342,7 @@ module.exports = {
|
||||
eddbID: 957,
|
||||
grp: "t",
|
||||
id: "tx",
|
||||
integrity: 120,
|
||||
mass: 64,
|
||||
maxmass: 3780,
|
||||
optmass: 2520,
|
||||
@@ -2355,6 +2357,7 @@ module.exports = {
|
||||
eddbID: 958,
|
||||
grp: "t",
|
||||
id: "tw",
|
||||
integrity: 150,
|
||||
mass: 160,
|
||||
maxmass: 4200,
|
||||
optmass: 2800,
|
||||
@@ -2369,6 +2372,7 @@ module.exports = {
|
||||
eddbID: 959,
|
||||
grp: "t",
|
||||
id: "tv",
|
||||
integrity: 180,
|
||||
mass: 256,
|
||||
maxmass: 4620,
|
||||
optmass: 3080,
|
||||
@@ -2383,6 +2387,7 @@ module.exports = {
|
||||
eddbID: 960,
|
||||
grp: "t",
|
||||
id: "tu",
|
||||
integrity: 165,
|
||||
mass: 160,
|
||||
maxmass: 5040,
|
||||
optmass: 3360,
|
||||
@@ -2397,6 +2402,7 @@ module.exports = {
|
||||
eddbID: 951,
|
||||
grp: "t",
|
||||
id: "tt",
|
||||
integrity: 118,
|
||||
mass: 80,
|
||||
maxmass: 2160,
|
||||
optmass: 1440,
|
||||
@@ -2411,6 +2417,7 @@ module.exports = {
|
||||
eddbID: 952,
|
||||
grp: "t",
|
||||
id: "ts",
|
||||
integrity: 105,
|
||||
mass: 32,
|
||||
maxmass: 2430,
|
||||
optmass: 1620,
|
||||
@@ -2425,6 +2432,7 @@ module.exports = {
|
||||
eddbID: 953,
|
||||
grp: "t",
|
||||
id: "tr",
|
||||
integrity: 131,
|
||||
mass: 80,
|
||||
maxmass: 2700,
|
||||
optmass: 1800,
|
||||
@@ -2439,6 +2447,7 @@ module.exports = {
|
||||
eddbID: 954,
|
||||
grp: "t",
|
||||
id: "tq",
|
||||
integrity: 157,
|
||||
mass: 128,
|
||||
maxmass: 2970,
|
||||
optmass: 1980,
|
||||
@@ -2453,6 +2462,7 @@ module.exports = {
|
||||
eddbID: 955,
|
||||
grp: "t",
|
||||
id: "tp",
|
||||
integrity: 144,
|
||||
mass: 80,
|
||||
maxmass: 3240,
|
||||
optmass: 2160,
|
||||
@@ -2467,6 +2477,7 @@ module.exports = {
|
||||
eddbID: 946,
|
||||
grp: "t",
|
||||
id: "to",
|
||||
integrity: 102,
|
||||
mass: 40,
|
||||
maxmass: 1440,
|
||||
optmass: 960,
|
||||
@@ -2481,6 +2492,7 @@ module.exports = {
|
||||
eddbID: 947,
|
||||
grp: "t",
|
||||
id: "tn",
|
||||
integrity: 90,
|
||||
mass: 16,
|
||||
maxmass: 1620,
|
||||
optmass: 1080,
|
||||
@@ -2495,6 +2507,7 @@ module.exports = {
|
||||
eddbID: 948,
|
||||
grp: "t",
|
||||
id: "tm",
|
||||
integrity: 113,
|
||||
mass: 40,
|
||||
maxmass: 1800,
|
||||
optmass: 1200,
|
||||
@@ -2509,6 +2522,7 @@ module.exports = {
|
||||
eddbID: 949,
|
||||
grp: "t",
|
||||
id: "tl",
|
||||
integrity: 136,
|
||||
mass: 64,
|
||||
maxmass: 1980,
|
||||
optmass: 1320,
|
||||
@@ -2523,6 +2537,7 @@ module.exports = {
|
||||
eddbID: 950,
|
||||
grp: "t",
|
||||
id: "tk",
|
||||
integrity: 124,
|
||||
mass: 40,
|
||||
maxmass: 2160,
|
||||
optmass: 1440,
|
||||
@@ -2537,6 +2552,7 @@ module.exports = {
|
||||
eddbID: 941,
|
||||
grp: "t",
|
||||
id: "tj",
|
||||
integrity: 86,
|
||||
mass: 20,
|
||||
maxmass: 840,
|
||||
optmass: 560,
|
||||
@@ -2551,6 +2567,7 @@ module.exports = {
|
||||
eddbID: 942,
|
||||
grp: "t",
|
||||
id: "ti",
|
||||
integrity: 77,
|
||||
mass: 8,
|
||||
maxmass: 945,
|
||||
optmass: 630,
|
||||
@@ -2565,6 +2582,7 @@ module.exports = {
|
||||
eddbID: 943,
|
||||
grp: "t",
|
||||
id: "th",
|
||||
integrity: 96,
|
||||
mass: 20,
|
||||
maxmass: 1050,
|
||||
optmass: 700,
|
||||
@@ -2579,6 +2597,7 @@ module.exports = {
|
||||
eddbID: 944,
|
||||
grp: "t",
|
||||
id: "tg",
|
||||
integrity: 115,
|
||||
mass: 32,
|
||||
maxmass: 1155,
|
||||
optmass: 770,
|
||||
@@ -2593,6 +2612,7 @@ module.exports = {
|
||||
eddbID: 945,
|
||||
grp: "t",
|
||||
id: "tf",
|
||||
integrity: 106,
|
||||
mass: 20,
|
||||
maxmass: 1260,
|
||||
optmass: 840,
|
||||
@@ -2607,6 +2627,7 @@ module.exports = {
|
||||
eddbID: 936,
|
||||
grp: "t",
|
||||
id: "te",
|
||||
integrity: 72,
|
||||
mass: 10,
|
||||
maxmass: 420,
|
||||
optmass: 280,
|
||||
@@ -2621,6 +2642,7 @@ module.exports = {
|
||||
eddbID: 937,
|
||||
grp: "t",
|
||||
id: "td",
|
||||
integrity: 64,
|
||||
mass: 4,
|
||||
maxmass: 473,
|
||||
optmass: 315,
|
||||
@@ -2635,6 +2657,7 @@ module.exports = {
|
||||
eddbID: 938,
|
||||
grp: "t",
|
||||
id: "tc",
|
||||
integrity: 80,
|
||||
mass: 10,
|
||||
maxmass: 525,
|
||||
optmass: 350,
|
||||
@@ -2649,6 +2672,7 @@ module.exports = {
|
||||
eddbID: 939,
|
||||
grp: "t",
|
||||
id: "tb",
|
||||
integrity: 96,
|
||||
mass: 16,
|
||||
maxmass: 578,
|
||||
optmass: 385,
|
||||
@@ -2663,6 +2687,7 @@ module.exports = {
|
||||
eddbID: 940,
|
||||
grp: "t",
|
||||
id: "ta",
|
||||
integrity: 88,
|
||||
mass: 10,
|
||||
maxmass: 630,
|
||||
optmass: 420,
|
||||
@@ -2677,6 +2702,7 @@ module.exports = {
|
||||
eddbID: 931,
|
||||
grp: "t",
|
||||
id: "t9",
|
||||
integrity: 58,
|
||||
mass: 5,
|
||||
maxmass: 120,
|
||||
optmass: 80,
|
||||
@@ -2691,6 +2717,7 @@ module.exports = {
|
||||
eddbID: 932,
|
||||
grp: "t",
|
||||
id: "t8",
|
||||
integrity: 51,
|
||||
mass: 2,
|
||||
maxmass: 135,
|
||||
optmass: 90,
|
||||
@@ -2705,6 +2732,7 @@ module.exports = {
|
||||
eddbID: 933,
|
||||
grp: "t",
|
||||
id: "t7",
|
||||
integrity: 64,
|
||||
mass: 5,
|
||||
maxmass: 150,
|
||||
optmass: 100,
|
||||
@@ -2719,6 +2747,7 @@ module.exports = {
|
||||
eddbID: 934,
|
||||
grp: "t",
|
||||
id: "t6",
|
||||
integrity: 77,
|
||||
mass: 8,
|
||||
maxmass: 165,
|
||||
optmass: 110,
|
||||
@@ -2733,6 +2762,7 @@ module.exports = {
|
||||
eddbID: 935,
|
||||
grp: "t",
|
||||
id: "t5",
|
||||
integrity: 72,
|
||||
mass: 5,
|
||||
maxmass: 180,
|
||||
optmass: 120,
|
||||
@@ -2747,6 +2777,7 @@ module.exports = {
|
||||
eddbID: 926,
|
||||
grp: "t",
|
||||
id: "t4",
|
||||
integrity: 46,
|
||||
mass: 2.5,
|
||||
maxmass: 72,
|
||||
optmass: 48,
|
||||
@@ -2761,6 +2792,7 @@ module.exports = {
|
||||
eddbID: 927,
|
||||
grp: "t",
|
||||
id: "t3",
|
||||
integrity: 41,
|
||||
mass: 1,
|
||||
maxmass: 81,
|
||||
optmass: 54,
|
||||
@@ -2775,6 +2807,7 @@ module.exports = {
|
||||
eddbID: 928,
|
||||
grp: "t",
|
||||
id: "t2",
|
||||
integrity: 51,
|
||||
mass: 2.5,
|
||||
maxmass: 90,
|
||||
optmass: 60,
|
||||
@@ -2789,6 +2822,7 @@ module.exports = {
|
||||
eddbID: 929,
|
||||
grp: "t",
|
||||
id: "t1",
|
||||
integrity: 61,
|
||||
mass: 4,
|
||||
maxmass: 99,
|
||||
optmass: 66,
|
||||
@@ -2803,6 +2837,7 @@ module.exports = {
|
||||
eddbID: 930,
|
||||
grp: "t",
|
||||
id: "t0",
|
||||
integrity: 56,
|
||||
mass: 2.5,
|
||||
maxmass: 108,
|
||||
optmass: 72,
|
||||
@@ -2817,6 +2852,7 @@ module.exports = {
|
||||
eddbID: 1548,
|
||||
grp: "t",
|
||||
id: "tz",
|
||||
integrity: 70,
|
||||
mass: 5,
|
||||
maxmass: 200,
|
||||
name: "Enhanced Performance",
|
||||
@@ -2832,6 +2868,7 @@ module.exports = {
|
||||
eddbID: 1547,
|
||||
grp: "t",
|
||||
id: "u0",
|
||||
integrity: 56,
|
||||
mass: 2.5,
|
||||
maxmass: 120,
|
||||
name: "Enhanced Performance",
|
||||
@@ -11910,5 +11947,44 @@ module.exports = {
|
||||
recover: 1
|
||||
} ]
|
||||
}
|
||||
},
|
||||
Modifications: {
|
||||
modifiers: {
|
||||
"1": {
|
||||
value: "pGen",
|
||||
description: "Modifier for power generation",
|
||||
operator: "multiply"
|
||||
},
|
||||
"2": {
|
||||
value: "power",
|
||||
description: "Modifier for power usage",
|
||||
operator: "multiply"
|
||||
},
|
||||
"3": {
|
||||
value: "integrity",
|
||||
description: "Modifier for integrity",
|
||||
operator: "multiply"
|
||||
},
|
||||
"4": {
|
||||
value: "mass",
|
||||
description: "Modifier for mass",
|
||||
operator: "multiply"
|
||||
},
|
||||
"5": {
|
||||
value: "eff",
|
||||
description: "Modifier for heat efficiency",
|
||||
operator: "multiply"
|
||||
}
|
||||
},
|
||||
validity: {
|
||||
pp: [ 1, 3, 4, 5 ],
|
||||
t: [ 2, 3, 4, 5 ],
|
||||
fsd: [ 2, 3, 4, 5 ],
|
||||
ls: [ 2, 3, 4, 5 ],
|
||||
pd: [ 2, 3, 4, 5 ],
|
||||
s: [ 2, 3, 4, 5 ],
|
||||
ft: [],
|
||||
pas: []
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
106
dist/index.json
vendored
106
dist/index.json
vendored
@@ -4012,6 +4012,7 @@
|
||||
"eddbID": 956,
|
||||
"grp": "t",
|
||||
"id": "ty",
|
||||
"integrity": 135,
|
||||
"mass": 160,
|
||||
"maxmass": 3360,
|
||||
"optmass": 2240,
|
||||
@@ -4027,6 +4028,7 @@
|
||||
"eddbID": 957,
|
||||
"grp": "t",
|
||||
"id": "tx",
|
||||
"integrity": 120,
|
||||
"mass": 64,
|
||||
"maxmass": 3780,
|
||||
"optmass": 2520,
|
||||
@@ -4042,6 +4044,7 @@
|
||||
"eddbID": 958,
|
||||
"grp": "t",
|
||||
"id": "tw",
|
||||
"integrity": 150,
|
||||
"mass": 160,
|
||||
"maxmass": 4200,
|
||||
"optmass": 2800,
|
||||
@@ -4057,6 +4060,7 @@
|
||||
"eddbID": 959,
|
||||
"grp": "t",
|
||||
"id": "tv",
|
||||
"integrity": 180,
|
||||
"mass": 256,
|
||||
"maxmass": 4620,
|
||||
"optmass": 3080,
|
||||
@@ -4072,6 +4076,7 @@
|
||||
"eddbID": 960,
|
||||
"grp": "t",
|
||||
"id": "tu",
|
||||
"integrity": 165,
|
||||
"mass": 160,
|
||||
"maxmass": 5040,
|
||||
"optmass": 3360,
|
||||
@@ -4087,6 +4092,7 @@
|
||||
"eddbID": 951,
|
||||
"grp": "t",
|
||||
"id": "tt",
|
||||
"integrity": 118,
|
||||
"mass": 80,
|
||||
"maxmass": 2160,
|
||||
"optmass": 1440,
|
||||
@@ -4102,6 +4108,7 @@
|
||||
"eddbID": 952,
|
||||
"grp": "t",
|
||||
"id": "ts",
|
||||
"integrity": 105,
|
||||
"mass": 32,
|
||||
"maxmass": 2430,
|
||||
"optmass": 1620,
|
||||
@@ -4117,6 +4124,7 @@
|
||||
"eddbID": 953,
|
||||
"grp": "t",
|
||||
"id": "tr",
|
||||
"integrity": 131,
|
||||
"mass": 80,
|
||||
"maxmass": 2700,
|
||||
"optmass": 1800,
|
||||
@@ -4132,6 +4140,7 @@
|
||||
"eddbID": 954,
|
||||
"grp": "t",
|
||||
"id": "tq",
|
||||
"integrity": 157,
|
||||
"mass": 128,
|
||||
"maxmass": 2970,
|
||||
"optmass": 1980,
|
||||
@@ -4147,6 +4156,7 @@
|
||||
"eddbID": 955,
|
||||
"grp": "t",
|
||||
"id": "tp",
|
||||
"integrity": 144,
|
||||
"mass": 80,
|
||||
"maxmass": 3240,
|
||||
"optmass": 2160,
|
||||
@@ -4162,6 +4172,7 @@
|
||||
"eddbID": 946,
|
||||
"grp": "t",
|
||||
"id": "to",
|
||||
"integrity": 102,
|
||||
"mass": 40,
|
||||
"maxmass": 1440,
|
||||
"optmass": 960,
|
||||
@@ -4177,6 +4188,7 @@
|
||||
"eddbID": 947,
|
||||
"grp": "t",
|
||||
"id": "tn",
|
||||
"integrity": 90,
|
||||
"mass": 16,
|
||||
"maxmass": 1620,
|
||||
"optmass": 1080,
|
||||
@@ -4192,6 +4204,7 @@
|
||||
"eddbID": 948,
|
||||
"grp": "t",
|
||||
"id": "tm",
|
||||
"integrity": 113,
|
||||
"mass": 40,
|
||||
"maxmass": 1800,
|
||||
"optmass": 1200,
|
||||
@@ -4207,6 +4220,7 @@
|
||||
"eddbID": 949,
|
||||
"grp": "t",
|
||||
"id": "tl",
|
||||
"integrity": 136,
|
||||
"mass": 64,
|
||||
"maxmass": 1980,
|
||||
"optmass": 1320,
|
||||
@@ -4222,6 +4236,7 @@
|
||||
"eddbID": 950,
|
||||
"grp": "t",
|
||||
"id": "tk",
|
||||
"integrity": 124,
|
||||
"mass": 40,
|
||||
"maxmass": 2160,
|
||||
"optmass": 1440,
|
||||
@@ -4237,6 +4252,7 @@
|
||||
"eddbID": 941,
|
||||
"grp": "t",
|
||||
"id": "tj",
|
||||
"integrity": 86,
|
||||
"mass": 20,
|
||||
"maxmass": 840,
|
||||
"optmass": 560,
|
||||
@@ -4252,6 +4268,7 @@
|
||||
"eddbID": 942,
|
||||
"grp": "t",
|
||||
"id": "ti",
|
||||
"integrity": 77,
|
||||
"mass": 8,
|
||||
"maxmass": 945,
|
||||
"optmass": 630,
|
||||
@@ -4267,6 +4284,7 @@
|
||||
"eddbID": 943,
|
||||
"grp": "t",
|
||||
"id": "th",
|
||||
"integrity": 96,
|
||||
"mass": 20,
|
||||
"maxmass": 1050,
|
||||
"optmass": 700,
|
||||
@@ -4282,6 +4300,7 @@
|
||||
"eddbID": 944,
|
||||
"grp": "t",
|
||||
"id": "tg",
|
||||
"integrity": 115,
|
||||
"mass": 32,
|
||||
"maxmass": 1155,
|
||||
"optmass": 770,
|
||||
@@ -4297,6 +4316,7 @@
|
||||
"eddbID": 945,
|
||||
"grp": "t",
|
||||
"id": "tf",
|
||||
"integrity": 106,
|
||||
"mass": 20,
|
||||
"maxmass": 1260,
|
||||
"optmass": 840,
|
||||
@@ -4312,6 +4332,7 @@
|
||||
"eddbID": 936,
|
||||
"grp": "t",
|
||||
"id": "te",
|
||||
"integrity": 72,
|
||||
"mass": 10,
|
||||
"maxmass": 420,
|
||||
"optmass": 280,
|
||||
@@ -4327,6 +4348,7 @@
|
||||
"eddbID": 937,
|
||||
"grp": "t",
|
||||
"id": "td",
|
||||
"integrity": 64,
|
||||
"mass": 4,
|
||||
"maxmass": 473,
|
||||
"optmass": 315,
|
||||
@@ -4342,6 +4364,7 @@
|
||||
"eddbID": 938,
|
||||
"grp": "t",
|
||||
"id": "tc",
|
||||
"integrity": 80,
|
||||
"mass": 10,
|
||||
"maxmass": 525,
|
||||
"optmass": 350,
|
||||
@@ -4357,6 +4380,7 @@
|
||||
"eddbID": 939,
|
||||
"grp": "t",
|
||||
"id": "tb",
|
||||
"integrity": 96,
|
||||
"mass": 16,
|
||||
"maxmass": 578,
|
||||
"optmass": 385,
|
||||
@@ -4372,6 +4396,7 @@
|
||||
"eddbID": 940,
|
||||
"grp": "t",
|
||||
"id": "ta",
|
||||
"integrity": 88,
|
||||
"mass": 10,
|
||||
"maxmass": 630,
|
||||
"optmass": 420,
|
||||
@@ -4387,6 +4412,7 @@
|
||||
"eddbID": 931,
|
||||
"grp": "t",
|
||||
"id": "t9",
|
||||
"integrity": 58,
|
||||
"mass": 5,
|
||||
"maxmass": 120,
|
||||
"optmass": 80,
|
||||
@@ -4402,6 +4428,7 @@
|
||||
"eddbID": 932,
|
||||
"grp": "t",
|
||||
"id": "t8",
|
||||
"integrity": 51,
|
||||
"mass": 2,
|
||||
"maxmass": 135,
|
||||
"optmass": 90,
|
||||
@@ -4417,6 +4444,7 @@
|
||||
"eddbID": 933,
|
||||
"grp": "t",
|
||||
"id": "t7",
|
||||
"integrity": 64,
|
||||
"mass": 5,
|
||||
"maxmass": 150,
|
||||
"optmass": 100,
|
||||
@@ -4432,6 +4460,7 @@
|
||||
"eddbID": 934,
|
||||
"grp": "t",
|
||||
"id": "t6",
|
||||
"integrity": 77,
|
||||
"mass": 8,
|
||||
"maxmass": 165,
|
||||
"optmass": 110,
|
||||
@@ -4447,6 +4476,7 @@
|
||||
"eddbID": 935,
|
||||
"grp": "t",
|
||||
"id": "t5",
|
||||
"integrity": 72,
|
||||
"mass": 5,
|
||||
"maxmass": 180,
|
||||
"optmass": 120,
|
||||
@@ -4462,6 +4492,7 @@
|
||||
"eddbID": 926,
|
||||
"grp": "t",
|
||||
"id": "t4",
|
||||
"integrity": 46,
|
||||
"mass": 2.5,
|
||||
"maxmass": 72,
|
||||
"optmass": 48,
|
||||
@@ -4477,6 +4508,7 @@
|
||||
"eddbID": 927,
|
||||
"grp": "t",
|
||||
"id": "t3",
|
||||
"integrity": 41,
|
||||
"mass": 1,
|
||||
"maxmass": 81,
|
||||
"optmass": 54,
|
||||
@@ -4492,6 +4524,7 @@
|
||||
"eddbID": 928,
|
||||
"grp": "t",
|
||||
"id": "t2",
|
||||
"integrity": 51,
|
||||
"mass": 2.5,
|
||||
"maxmass": 90,
|
||||
"optmass": 60,
|
||||
@@ -4507,6 +4540,7 @@
|
||||
"eddbID": 929,
|
||||
"grp": "t",
|
||||
"id": "t1",
|
||||
"integrity": 61,
|
||||
"mass": 4,
|
||||
"maxmass": 99,
|
||||
"optmass": 66,
|
||||
@@ -4522,6 +4556,7 @@
|
||||
"eddbID": 930,
|
||||
"grp": "t",
|
||||
"id": "t0",
|
||||
"integrity": 56,
|
||||
"mass": 2.5,
|
||||
"maxmass": 108,
|
||||
"optmass": 72,
|
||||
@@ -4537,6 +4572,7 @@
|
||||
"eddbID": 1548,
|
||||
"grp": "t",
|
||||
"id": "tz",
|
||||
"integrity": 70,
|
||||
"mass": 5,
|
||||
"maxmass": 200,
|
||||
"name": "Enhanced Performance",
|
||||
@@ -4553,6 +4589,7 @@
|
||||
"eddbID": 1547,
|
||||
"grp": "t",
|
||||
"id": "u0",
|
||||
"integrity": 56,
|
||||
"mass": 2.5,
|
||||
"maxmass": 120,
|
||||
"name": "Enhanced Performance",
|
||||
@@ -14303,5 +14340,74 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Modifications": {
|
||||
"modifiers": {
|
||||
"1": {
|
||||
"value": "pGen",
|
||||
"description": "Modifier for power generation",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"2": {
|
||||
"value": "power",
|
||||
"description": "Modifier for power usage",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"3": {
|
||||
"value": "integrity",
|
||||
"description": "Modifier for integrity",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"4": {
|
||||
"value": "mass",
|
||||
"description": "Modifier for mass",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"5": {
|
||||
"value": "eff",
|
||||
"description": "Modifier for heat efficiency",
|
||||
"operator": "multiply"
|
||||
}
|
||||
},
|
||||
"validity": {
|
||||
"pp": [
|
||||
1,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"t": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"fsd": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"ls": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"pd": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"s": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"ft": [],
|
||||
"pas": []
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,8 +2,9 @@ var fs = require('fs');
|
||||
var UglifyJS = require('uglify-js');
|
||||
var Ships = require('./ships');
|
||||
var Modules = require('./modules');
|
||||
var exportString = JSON.stringify({ Ships: Ships, Modules: Modules }, null, '\t');
|
||||
var ast = UglifyJS.parse(['module.exports = ', JSON.stringify({ Ships: Ships, Modules: Modules }), ';'].join(''));
|
||||
var Modifications = require('./modifications');
|
||||
var exportString = JSON.stringify({ Ships: Ships, Modules: Modules, Modifications: Modifications }, null, '\t');
|
||||
var ast = UglifyJS.parse(['module.exports = ', JSON.stringify({ Ships: Ships, Modules: Modules, Modifications: Modifications }), ';'].join(''));
|
||||
var code = ast.print_to_string({beautify: true, indent_level: 2});
|
||||
|
||||
fs.open('./dist/index.json', 'w', function() {
|
||||
|
||||
4
modifications/index.js
Normal file
4
modifications/index.js
Normal file
@@ -0,0 +1,4 @@
|
||||
module.exports = {
|
||||
modifiers: require('./modifiers'),
|
||||
validity: require('./validity')
|
||||
};
|
||||
27
modifications/modifiers.json
Normal file
27
modifications/modifiers.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"1": {
|
||||
"value": "pGen",
|
||||
"description": "Modifier for power generation",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"2": {
|
||||
"value": "power",
|
||||
"description": "Modifier for power usage",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"3": {
|
||||
"value": "integrity",
|
||||
"description": "Modifier for integrity",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"4": {
|
||||
"value": "mass",
|
||||
"description": "Modifier for mass",
|
||||
"operator": "multiply"
|
||||
},
|
||||
"5": {
|
||||
"value": "eff",
|
||||
"description": "Modifier for heat efficiency",
|
||||
"operator": "multiply"
|
||||
}
|
||||
}
|
||||
40
modifications/validity.json
Normal file
40
modifications/validity.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"pp": [
|
||||
1,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"t": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"fsd": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"ls": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"pd": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"s": [
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5
|
||||
],
|
||||
"ft": [],
|
||||
"pas": []
|
||||
}
|
||||
Reference in New Issue
Block a user