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