@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.js
CHANGED
|
@@ -4130,14 +4130,8 @@ var items = [
|
|
|
4130
4130
|
tier: 1
|
|
4131
4131
|
},
|
|
4132
4132
|
{
|
|
4133
|
-
id:
|
|
4134
|
-
mass:
|
|
4135
|
-
type: "entity",
|
|
4136
|
-
tier: 1
|
|
4137
|
-
},
|
|
4138
|
-
{
|
|
4139
|
-
id: 10217,
|
|
4140
|
-
mass: 3600000,
|
|
4133
|
+
id: 10218,
|
|
4134
|
+
mass: 2400000,
|
|
4141
4135
|
type: "entity",
|
|
4142
4136
|
tier: 1
|
|
4143
4137
|
},
|
|
@@ -4222,14 +4216,20 @@ var items = [
|
|
|
4222
4216
|
tier: 2
|
|
4223
4217
|
},
|
|
4224
4218
|
{
|
|
4225
|
-
id:
|
|
4226
|
-
mass:
|
|
4219
|
+
id: 20212,
|
|
4220
|
+
mass: 4320000,
|
|
4221
|
+
type: "entity",
|
|
4222
|
+
tier: 2
|
|
4223
|
+
},
|
|
4224
|
+
{
|
|
4225
|
+
id: 20213,
|
|
4226
|
+
mass: 5760000,
|
|
4227
4227
|
type: "entity",
|
|
4228
4228
|
tier: 2
|
|
4229
4229
|
},
|
|
4230
4230
|
{
|
|
4231
|
-
id:
|
|
4232
|
-
mass:
|
|
4231
|
+
id: 20214,
|
|
4232
|
+
mass: 5760000,
|
|
4233
4233
|
type: "entity",
|
|
4234
4234
|
tier: 2
|
|
4235
4235
|
}
|
|
@@ -4507,14 +4507,9 @@ const itemMetadata = {
|
|
|
4507
4507
|
description: 'A cargo ship built around a large storage hold. The extra mass makes it slower than a Roustabout.',
|
|
4508
4508
|
color: '#4AE898',
|
|
4509
4509
|
},
|
|
4510
|
-
|
|
4511
|
-
name: '
|
|
4512
|
-
description: 'A
|
|
4513
|
-
color: '#4AE898',
|
|
4514
|
-
},
|
|
4515
|
-
10217: {
|
|
4516
|
-
name: 'Dredger',
|
|
4517
|
-
description: 'A gathering ship with its own storage hold, so it can keep mining before it has to offload.',
|
|
4510
|
+
10218: {
|
|
4511
|
+
name: 'Smith',
|
|
4512
|
+
description: 'A crafting ship. One engine, one power core, and a fabricator for crafting away from home.',
|
|
4518
4513
|
color: '#4AE898',
|
|
4519
4514
|
},
|
|
4520
4515
|
20001: {
|
|
@@ -4582,14 +4577,19 @@ const itemMetadata = {
|
|
|
4582
4577
|
description: 'Advanced cargo container with improved capacity formulas.',
|
|
4583
4578
|
color: '#9BADB8',
|
|
4584
4579
|
},
|
|
4585
|
-
|
|
4580
|
+
20212: {
|
|
4586
4581
|
name: 'Prospector',
|
|
4587
|
-
description: '
|
|
4582
|
+
description: 'The tier 2 Prospector. The same three systems, ready for tier 2 modules.',
|
|
4588
4583
|
color: '#4AE898',
|
|
4589
4584
|
},
|
|
4590
|
-
|
|
4591
|
-
name: '
|
|
4592
|
-
description: '
|
|
4585
|
+
20213: {
|
|
4586
|
+
name: 'Prospector',
|
|
4587
|
+
description: 'A tier 2 Prospector with an auxiliary system for extra power, mobility, or endurance.',
|
|
4588
|
+
color: '#4AE898',
|
|
4589
|
+
},
|
|
4590
|
+
20214: {
|
|
4591
|
+
name: 'Dredger',
|
|
4592
|
+
description: 'A gathering ship that stores what it digs. Its limpet bay works alongside a cargo hold.',
|
|
4593
4593
|
color: '#4AE898',
|
|
4594
4594
|
},
|
|
4595
4595
|
};
|