@shipload/sdk 1.0.0-next.56 → 1.0.0-next.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/shipload.d.ts +57 -36
- package/lib/shipload.js +385 -245
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +371 -236
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.js +25 -25
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +25 -25
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/capabilities/craftable.test.ts +82 -0
- package/src/capabilities/craftable.ts +36 -5
- package/src/capabilities/modules.ts +10 -0
- package/src/data/entities.json +32 -42
- package/src/data/item-ids.ts +10 -10
- package/src/data/items.json +12 -12
- package/src/data/kind-registry.json +10 -10
- package/src/data/metadata.ts +17 -17
- package/src/data/recipes.json +111 -111
- package/src/derivation/capabilities.test.ts +15 -17
- package/src/derivation/crafting.test.ts +17 -0
- package/src/derivation/crafting.ts +18 -0
- package/src/derivation/recipe-usage.test.ts +8 -10
- package/src/index-module.ts +5 -0
- package/src/nft/description.ts +23 -23
- package/src/resolution/resolve-item.ts +12 -0
- package/src/scheduling/availability.test.ts +157 -0
- package/src/scheduling/availability.ts +94 -13
- package/src/scheduling/cancel.test.ts +161 -1
- package/src/scheduling/cancel.ts +58 -5
- package/src/types.ts +1 -0
package/lib/testing.m.js
CHANGED
|
@@ -4126,14 +4126,8 @@ var items = [
|
|
|
4126
4126
|
tier: 1
|
|
4127
4127
|
},
|
|
4128
4128
|
{
|
|
4129
|
-
id:
|
|
4130
|
-
mass:
|
|
4131
|
-
type: "entity",
|
|
4132
|
-
tier: 1
|
|
4133
|
-
},
|
|
4134
|
-
{
|
|
4135
|
-
id: 10217,
|
|
4136
|
-
mass: 3600000,
|
|
4129
|
+
id: 10218,
|
|
4130
|
+
mass: 2400000,
|
|
4137
4131
|
type: "entity",
|
|
4138
4132
|
tier: 1
|
|
4139
4133
|
},
|
|
@@ -4218,14 +4212,20 @@ var items = [
|
|
|
4218
4212
|
tier: 2
|
|
4219
4213
|
},
|
|
4220
4214
|
{
|
|
4221
|
-
id:
|
|
4222
|
-
mass:
|
|
4215
|
+
id: 20212,
|
|
4216
|
+
mass: 4320000,
|
|
4217
|
+
type: "entity",
|
|
4218
|
+
tier: 2
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
id: 20213,
|
|
4222
|
+
mass: 5760000,
|
|
4223
4223
|
type: "entity",
|
|
4224
4224
|
tier: 2
|
|
4225
4225
|
},
|
|
4226
4226
|
{
|
|
4227
|
-
id:
|
|
4228
|
-
mass:
|
|
4227
|
+
id: 20214,
|
|
4228
|
+
mass: 5760000,
|
|
4229
4229
|
type: "entity",
|
|
4230
4230
|
tier: 2
|
|
4231
4231
|
}
|
|
@@ -4503,14 +4503,9 @@ const itemMetadata = {
|
|
|
4503
4503
|
description: 'A cargo ship built around a large storage hold. The extra mass makes it slower than a Roustabout.',
|
|
4504
4504
|
color: '#4AE898',
|
|
4505
4505
|
},
|
|
4506
|
-
|
|
4507
|
-
name: '
|
|
4508
|
-
description: 'A
|
|
4509
|
-
color: '#4AE898',
|
|
4510
|
-
},
|
|
4511
|
-
10217: {
|
|
4512
|
-
name: 'Dredger',
|
|
4513
|
-
description: 'A gathering ship with its own storage hold, so it can keep mining before it has to offload.',
|
|
4506
|
+
10218: {
|
|
4507
|
+
name: 'Smith',
|
|
4508
|
+
description: 'A crafting ship. One engine, one power core, and a fabricator for crafting away from home.',
|
|
4514
4509
|
color: '#4AE898',
|
|
4515
4510
|
},
|
|
4516
4511
|
20001: {
|
|
@@ -4578,14 +4573,19 @@ const itemMetadata = {
|
|
|
4578
4573
|
description: 'Advanced cargo container with improved capacity formulas.',
|
|
4579
4574
|
color: '#9BADB8',
|
|
4580
4575
|
},
|
|
4581
|
-
|
|
4576
|
+
20212: {
|
|
4582
4577
|
name: 'Prospector',
|
|
4583
|
-
description: '
|
|
4578
|
+
description: 'The tier 2 Prospector. The same three systems, ready for tier 2 modules.',
|
|
4584
4579
|
color: '#4AE898',
|
|
4585
4580
|
},
|
|
4586
|
-
|
|
4587
|
-
name: '
|
|
4588
|
-
description: '
|
|
4581
|
+
20213: {
|
|
4582
|
+
name: 'Prospector',
|
|
4583
|
+
description: 'A tier 2 Prospector with an auxiliary system for extra power, mobility, or endurance.',
|
|
4584
|
+
color: '#4AE898',
|
|
4585
|
+
},
|
|
4586
|
+
20214: {
|
|
4587
|
+
name: 'Dredger',
|
|
4588
|
+
description: 'A gathering ship that stores what it digs. Its limpet bay works alongside a cargo hold.',
|
|
4589
4589
|
color: '#4AE898',
|
|
4590
4590
|
},
|
|
4591
4591
|
};
|