@shipload/sdk 1.0.0-next.60 → 1.0.0-next.61
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 +37 -26
- package/lib/shipload.js +466 -302
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +465 -303
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.js +69 -45
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +69 -45
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/capabilities/modules.ts +3 -48
- package/src/data/catalog.ts +7 -3
- package/src/data/colors.ts +3 -3
- package/src/data/entities.json +4 -4
- package/src/data/item-ids.ts +24 -22
- package/src/data/items.json +37 -23
- package/src/data/kind-registry.json +4 -4
- package/src/data/metadata.ts +36 -25
- package/src/data/recipes.json +242 -56
- package/src/data/tiers.ts +9 -6
- package/src/derivation/capabilities.ts +36 -35
- package/src/derivation/crafting.ts +1 -1
- package/src/derivation/recipe-usage.test.ts +2 -0
- package/src/nft/buildImmutableData.ts +5 -2
- package/src/nft/description.ts +77 -134
- package/src/resolution/resolve-item.ts +1 -1
package/lib/testing.js
CHANGED
|
@@ -4119,7 +4119,7 @@ var items = [
|
|
|
4119
4119
|
},
|
|
4120
4120
|
{
|
|
4121
4121
|
id: 10208,
|
|
4122
|
-
mass:
|
|
4122
|
+
mass: 4800000,
|
|
4123
4123
|
type: "entity",
|
|
4124
4124
|
tier: 1
|
|
4125
4125
|
},
|
|
@@ -4172,141 +4172,155 @@ var items = [
|
|
|
4172
4172
|
tier: 1
|
|
4173
4173
|
},
|
|
4174
4174
|
{
|
|
4175
|
-
id:
|
|
4175
|
+
id: 11001,
|
|
4176
4176
|
mass: 4800,
|
|
4177
4177
|
type: "component",
|
|
4178
4178
|
tier: 2
|
|
4179
4179
|
},
|
|
4180
4180
|
{
|
|
4181
|
-
id:
|
|
4181
|
+
id: 11002,
|
|
4182
4182
|
mass: 4800,
|
|
4183
4183
|
type: "component",
|
|
4184
4184
|
tier: 2
|
|
4185
4185
|
},
|
|
4186
4186
|
{
|
|
4187
|
-
id:
|
|
4187
|
+
id: 11003,
|
|
4188
4188
|
mass: 4800,
|
|
4189
4189
|
type: "component",
|
|
4190
4190
|
tier: 2
|
|
4191
4191
|
},
|
|
4192
4192
|
{
|
|
4193
|
-
id:
|
|
4193
|
+
id: 11004,
|
|
4194
4194
|
mass: 4800,
|
|
4195
4195
|
type: "component",
|
|
4196
4196
|
tier: 2
|
|
4197
4197
|
},
|
|
4198
4198
|
{
|
|
4199
|
-
id:
|
|
4199
|
+
id: 11005,
|
|
4200
4200
|
mass: 4800,
|
|
4201
4201
|
type: "component",
|
|
4202
4202
|
tier: 2
|
|
4203
4203
|
},
|
|
4204
4204
|
{
|
|
4205
|
-
id:
|
|
4205
|
+
id: 11006,
|
|
4206
4206
|
mass: 4800,
|
|
4207
4207
|
type: "component",
|
|
4208
4208
|
tier: 2
|
|
4209
4209
|
},
|
|
4210
4210
|
{
|
|
4211
|
-
id:
|
|
4211
|
+
id: 11007,
|
|
4212
4212
|
mass: 4800,
|
|
4213
4213
|
type: "component",
|
|
4214
4214
|
tier: 2
|
|
4215
4215
|
},
|
|
4216
4216
|
{
|
|
4217
|
-
id:
|
|
4217
|
+
id: 11008,
|
|
4218
4218
|
mass: 4800,
|
|
4219
4219
|
type: "component",
|
|
4220
4220
|
tier: 2
|
|
4221
4221
|
},
|
|
4222
4222
|
{
|
|
4223
|
-
id:
|
|
4223
|
+
id: 11009,
|
|
4224
4224
|
mass: 4800,
|
|
4225
4225
|
type: "component",
|
|
4226
4226
|
tier: 2
|
|
4227
4227
|
},
|
|
4228
4228
|
{
|
|
4229
|
-
id:
|
|
4229
|
+
id: 11010,
|
|
4230
4230
|
mass: 4800,
|
|
4231
4231
|
type: "component",
|
|
4232
4232
|
tier: 2
|
|
4233
4233
|
},
|
|
4234
4234
|
{
|
|
4235
|
-
id:
|
|
4235
|
+
id: 11100,
|
|
4236
4236
|
mass: 1536000,
|
|
4237
4237
|
type: "module",
|
|
4238
4238
|
tier: 2,
|
|
4239
4239
|
subtype: "engine"
|
|
4240
4240
|
},
|
|
4241
4241
|
{
|
|
4242
|
-
id:
|
|
4242
|
+
id: 11101,
|
|
4243
4243
|
mass: 1536000,
|
|
4244
4244
|
type: "module",
|
|
4245
4245
|
tier: 2,
|
|
4246
4246
|
subtype: "generator"
|
|
4247
4247
|
},
|
|
4248
4248
|
{
|
|
4249
|
-
id:
|
|
4249
|
+
id: 11102,
|
|
4250
4250
|
mass: 1536000,
|
|
4251
4251
|
type: "module",
|
|
4252
4252
|
tier: 2,
|
|
4253
4253
|
subtype: "gatherer"
|
|
4254
4254
|
},
|
|
4255
4255
|
{
|
|
4256
|
-
id:
|
|
4256
|
+
id: 11103,
|
|
4257
4257
|
mass: 1536000,
|
|
4258
4258
|
type: "module",
|
|
4259
4259
|
tier: 2,
|
|
4260
4260
|
subtype: "loader"
|
|
4261
4261
|
},
|
|
4262
4262
|
{
|
|
4263
|
-
id:
|
|
4263
|
+
id: 11104,
|
|
4264
4264
|
mass: 1536000,
|
|
4265
4265
|
type: "module",
|
|
4266
4266
|
tier: 2,
|
|
4267
4267
|
subtype: "crafter"
|
|
4268
4268
|
},
|
|
4269
4269
|
{
|
|
4270
|
-
id:
|
|
4270
|
+
id: 11105,
|
|
4271
|
+
mass: 1536000,
|
|
4272
|
+
type: "module",
|
|
4273
|
+
tier: 2,
|
|
4274
|
+
subtype: "storage"
|
|
4275
|
+
},
|
|
4276
|
+
{
|
|
4277
|
+
id: 11106,
|
|
4271
4278
|
mass: 1536000,
|
|
4272
4279
|
type: "module",
|
|
4273
4280
|
tier: 2,
|
|
4274
4281
|
subtype: "hauler"
|
|
4275
4282
|
},
|
|
4276
4283
|
{
|
|
4277
|
-
id:
|
|
4284
|
+
id: 11107,
|
|
4278
4285
|
mass: 1536000,
|
|
4279
4286
|
type: "module",
|
|
4280
4287
|
tier: 2,
|
|
4281
4288
|
subtype: "warp"
|
|
4282
4289
|
},
|
|
4283
4290
|
{
|
|
4284
|
-
id:
|
|
4291
|
+
id: 11108,
|
|
4292
|
+
mass: 1536000,
|
|
4293
|
+
type: "module",
|
|
4294
|
+
tier: 2,
|
|
4295
|
+
subtype: "battery"
|
|
4296
|
+
},
|
|
4297
|
+
{
|
|
4298
|
+
id: 11110,
|
|
4285
4299
|
mass: 1536000,
|
|
4286
4300
|
type: "module",
|
|
4287
4301
|
tier: 2,
|
|
4288
4302
|
subtype: "builder"
|
|
4289
4303
|
},
|
|
4290
4304
|
{
|
|
4291
|
-
id:
|
|
4305
|
+
id: 11200,
|
|
4292
4306
|
mass: 3100000,
|
|
4293
4307
|
type: "entity",
|
|
4294
4308
|
tier: 2
|
|
4295
4309
|
},
|
|
4296
4310
|
{
|
|
4297
|
-
id:
|
|
4311
|
+
id: 11212,
|
|
4298
4312
|
mass: 4320000,
|
|
4299
4313
|
type: "entity",
|
|
4300
4314
|
tier: 2
|
|
4301
4315
|
},
|
|
4302
4316
|
{
|
|
4303
|
-
id:
|
|
4317
|
+
id: 11213,
|
|
4304
4318
|
mass: 5760000,
|
|
4305
4319
|
type: "entity",
|
|
4306
4320
|
tier: 2
|
|
4307
4321
|
},
|
|
4308
4322
|
{
|
|
4309
|
-
id:
|
|
4323
|
+
id: 11214,
|
|
4310
4324
|
mass: 5760000,
|
|
4311
4325
|
type: "entity",
|
|
4312
4326
|
tier: 2
|
|
@@ -4590,112 +4604,122 @@ const itemMetadata = {
|
|
|
4590
4604
|
description: 'A crafting ship. One engine, one power core, and a fabricator for crafting away from home.',
|
|
4591
4605
|
color: '#4AE898',
|
|
4592
4606
|
},
|
|
4593
|
-
|
|
4607
|
+
11001: {
|
|
4594
4608
|
name: 'Plate',
|
|
4595
4609
|
description: 'Advanced structural plating reinforced with tier 2 ore.',
|
|
4596
4610
|
color: '#9BADB8',
|
|
4597
4611
|
},
|
|
4598
|
-
|
|
4612
|
+
11002: {
|
|
4599
4613
|
name: 'Frame',
|
|
4600
4614
|
description: 'Advanced composite framing reinforced with tier 2 regolith and biomass polymer.',
|
|
4601
4615
|
color: '#C4A57B',
|
|
4602
4616
|
},
|
|
4603
|
-
|
|
4617
|
+
11003: {
|
|
4604
4618
|
name: 'Plasma Cell',
|
|
4605
4619
|
description: 'Advanced high-energy gaseous storage cell reinforced with tier 2 gas.',
|
|
4606
4620
|
color: '#E86344',
|
|
4607
4621
|
},
|
|
4608
|
-
|
|
4622
|
+
11004: {
|
|
4609
4623
|
name: 'Resonator',
|
|
4610
4624
|
description: 'Advanced crystalline resonance lattice reinforced with tier 2 crystal.',
|
|
4611
4625
|
color: '#4ADBFF',
|
|
4612
4626
|
},
|
|
4613
|
-
|
|
4627
|
+
11005: {
|
|
4614
4628
|
name: 'Beam',
|
|
4615
4629
|
description: 'Advanced heavy-duty structural beam reinforced with tier 2 ore.',
|
|
4616
4630
|
color: '#7B8D9E',
|
|
4617
4631
|
},
|
|
4618
|
-
|
|
4632
|
+
11006: {
|
|
4619
4633
|
name: 'Sensor',
|
|
4620
4634
|
description: 'Advanced crystal-lattice sensing element reinforced with tier 2 crystal.',
|
|
4621
4635
|
color: '#4ADBFF',
|
|
4622
4636
|
},
|
|
4623
|
-
|
|
4637
|
+
11007: {
|
|
4624
4638
|
name: 'Polymer',
|
|
4625
4639
|
description: 'Advanced pliable biomass-derived polymer reinforced with tier 2 biomass.',
|
|
4626
4640
|
color: '#5A8B3E',
|
|
4627
4641
|
},
|
|
4628
|
-
|
|
4642
|
+
11008: {
|
|
4629
4643
|
name: 'Ceramic',
|
|
4630
4644
|
description: 'Advanced hardened ceramic reinforced with tier 2 regolith.',
|
|
4631
4645
|
color: '#C4A57B',
|
|
4632
4646
|
},
|
|
4633
|
-
|
|
4647
|
+
11009: {
|
|
4634
4648
|
name: 'Reactor',
|
|
4635
4649
|
description: 'Advanced gas-pressurized reaction vessel reinforced with tier 2 gas.',
|
|
4636
4650
|
color: '#B877FF',
|
|
4637
4651
|
},
|
|
4638
|
-
|
|
4652
|
+
11010: {
|
|
4639
4653
|
name: 'Resin',
|
|
4640
4654
|
description: 'Advanced saturated organic binder reinforced with tier 2 biomass.',
|
|
4641
4655
|
color: '#5A8B3E',
|
|
4642
4656
|
},
|
|
4643
|
-
|
|
4657
|
+
11100: {
|
|
4644
4658
|
name: 'Engine',
|
|
4645
4659
|
description: 'Advanced propulsion system. Reinforced thrust chambers for higher velocity.',
|
|
4646
4660
|
color: '#E86344',
|
|
4647
4661
|
},
|
|
4648
|
-
|
|
4662
|
+
11101: {
|
|
4649
4663
|
name: 'Power Core',
|
|
4650
4664
|
description: 'Advanced energy system. Higher-density crystal matrix for increased energy throughput.',
|
|
4651
4665
|
color: '#4ADBFF',
|
|
4652
4666
|
},
|
|
4653
|
-
|
|
4667
|
+
11102: {
|
|
4654
4668
|
name: 'Limpet Bay',
|
|
4655
4669
|
description: 'Advanced gathering system. Reinforced probes and conduits for deeper yield.',
|
|
4656
4670
|
color: '#7B8D9E',
|
|
4657
4671
|
},
|
|
4658
|
-
|
|
4672
|
+
11103: {
|
|
4659
4673
|
name: 'Shuttle Bay',
|
|
4660
4674
|
description: 'Advanced cargo handling system. Reinforced articulated arms for greater loading throughput.',
|
|
4661
4675
|
color: '#5A8B3E',
|
|
4662
4676
|
},
|
|
4663
|
-
|
|
4677
|
+
11104: {
|
|
4664
4678
|
name: 'Fabricator',
|
|
4665
4679
|
description: 'Advanced crafting system. Higher-grade reaction chambers for faster processing.',
|
|
4666
4680
|
color: '#B877FF',
|
|
4667
4681
|
},
|
|
4668
|
-
|
|
4682
|
+
11105: {
|
|
4683
|
+
name: 'Cargo Hold',
|
|
4684
|
+
description: 'Advanced cargo storage. Reinforced tier 2 holds carry more mass.',
|
|
4685
|
+
color: '#8B7355',
|
|
4686
|
+
},
|
|
4687
|
+
11106: {
|
|
4669
4688
|
name: 'Tractor Beam',
|
|
4670
4689
|
description: 'Advanced haul beam projector reinforced with tier 2 components for greater towing capacity.',
|
|
4671
4690
|
color: '#4ADBFF',
|
|
4672
4691
|
},
|
|
4673
|
-
|
|
4692
|
+
11107: {
|
|
4674
4693
|
name: 'Warp Drive',
|
|
4675
4694
|
description: 'Advanced warp system. Reinforced field coils project the hull across greater distances.',
|
|
4676
4695
|
color: '#9be4ff',
|
|
4677
4696
|
},
|
|
4678
|
-
|
|
4697
|
+
11108: {
|
|
4698
|
+
name: 'Battery Bank',
|
|
4699
|
+
description: 'Advanced battery bank. Higher-density cells store more charge from the power core.',
|
|
4700
|
+
color: '#4ADBFF',
|
|
4701
|
+
},
|
|
4702
|
+
11110: {
|
|
4679
4703
|
name: 'Assembly Arm',
|
|
4680
4704
|
description: 'Advanced construction system. Reinforced manipulator arms for faster build and upgrade work.',
|
|
4681
4705
|
color: '#FFB347',
|
|
4682
4706
|
},
|
|
4683
|
-
|
|
4707
|
+
11200: {
|
|
4684
4708
|
name: 'Container',
|
|
4685
4709
|
description: 'Advanced cargo container with improved capacity formulas.',
|
|
4686
4710
|
color: '#9BADB8',
|
|
4687
4711
|
},
|
|
4688
|
-
|
|
4712
|
+
11212: {
|
|
4689
4713
|
name: 'Prospector',
|
|
4690
4714
|
description: 'The tier 2 Prospector. The same three systems, ready for tier 2 modules.',
|
|
4691
4715
|
color: '#4AE898',
|
|
4692
4716
|
},
|
|
4693
|
-
|
|
4717
|
+
11213: {
|
|
4694
4718
|
name: 'Prospector',
|
|
4695
4719
|
description: 'A tier 2 Prospector with an auxiliary system for extra power, mobility, or endurance.',
|
|
4696
4720
|
color: '#4AE898',
|
|
4697
4721
|
},
|
|
4698
|
-
|
|
4722
|
+
11214: {
|
|
4699
4723
|
name: 'Dredger',
|
|
4700
4724
|
description: 'A gathering ship that stores what it digs. Its limpet bay works alongside a cargo hold.',
|
|
4701
4725
|
color: '#4AE898',
|