@shipload/sdk 1.0.0-next.16 → 1.0.0-next.17
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 +95 -24
- package/lib/shipload.js +3277 -2803
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +3255 -2791
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +0 -1
- package/lib/testing.js +35 -26
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +35 -26
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/capabilities/gathering.ts +15 -6
- package/src/capabilities/modules.ts +6 -0
- package/src/contracts/server.ts +0 -3
- package/src/data/capabilities.ts +6 -1
- package/src/data/capability-formulas.ts +7 -1
- package/src/data/colors.ts +12 -12
- package/src/data/item-ids.ts +13 -12
- package/src/data/items.json +7 -0
- package/src/data/metadata.ts +36 -23
- package/src/data/recipes.json +49 -0
- package/src/derivation/capabilities.ts +18 -7
- package/src/derivation/capability-mappings.ts +2 -0
- package/src/derivation/stratum.ts +5 -9
- package/src/index-module.ts +18 -2
- package/src/managers/actions.ts +104 -12
- package/src/managers/context.ts +9 -0
- package/src/managers/index.ts +2 -0
- package/src/managers/nft.ts +28 -0
- package/src/nft/atomicassets.ts +124 -1
- package/src/nft/buildImmutableData.ts +316 -0
- package/src/nft/description.ts +1 -3
- package/src/nft/index.ts +1 -0
- package/src/resolution/describe-module.ts +3 -4
- package/src/resolution/resolve-item.ts +0 -1
- package/src/shipload.ts +5 -0
- package/src/types.ts +1 -0
package/lib/testing.m.js
CHANGED
|
@@ -700,9 +700,6 @@ var Types;
|
|
|
700
700
|
__decorate([
|
|
701
701
|
Struct.field(UInt16)
|
|
702
702
|
], gatherer_stats.prototype, "depth", void 0);
|
|
703
|
-
__decorate([
|
|
704
|
-
Struct.field(UInt16)
|
|
705
|
-
], gatherer_stats.prototype, "speed", void 0);
|
|
706
703
|
gatherer_stats = __decorate([
|
|
707
704
|
Struct.type('gatherer_stats')
|
|
708
705
|
], gatherer_stats);
|
|
@@ -2752,6 +2749,13 @@ var items = [
|
|
|
2752
2749
|
tier: 1,
|
|
2753
2750
|
subtype: "warp"
|
|
2754
2751
|
},
|
|
2752
|
+
{
|
|
2753
|
+
id: 10108,
|
|
2754
|
+
mass: 90000,
|
|
2755
|
+
type: "module",
|
|
2756
|
+
tier: 1,
|
|
2757
|
+
subtype: "battery"
|
|
2758
|
+
},
|
|
2755
2759
|
{
|
|
2756
2760
|
id: 10200,
|
|
2757
2761
|
mass: 80000,
|
|
@@ -2890,53 +2894,53 @@ const itemMetadata = {
|
|
|
2890
2894
|
509: { name: 'Biomass', description: '', color: '#5A8B3E' },
|
|
2891
2895
|
510: { name: 'Biomass', description: '', color: '#5A8B3E' },
|
|
2892
2896
|
10001: {
|
|
2893
|
-
name: '
|
|
2894
|
-
description: 'Structural plating formed from ore. Used in hulls, containers, and
|
|
2897
|
+
name: 'Plate',
|
|
2898
|
+
description: 'Structural plating formed from ore. Used in hulls, containers, and storage modules.',
|
|
2895
2899
|
color: '#7B8D9E',
|
|
2896
2900
|
},
|
|
2897
2901
|
10002: {
|
|
2898
|
-
name: '
|
|
2899
|
-
description: 'Composite
|
|
2902
|
+
name: 'Frame',
|
|
2903
|
+
description: 'Composite framing formed from fine regolith bound in biomass polymer. Dense enough to seal cargo holds, flexible enough to absorb vibration.',
|
|
2900
2904
|
color: '#C4A57B',
|
|
2901
2905
|
},
|
|
2902
2906
|
10003: {
|
|
2903
|
-
name: '
|
|
2904
|
-
description: 'High-energy
|
|
2907
|
+
name: 'Plasma Cell',
|
|
2908
|
+
description: 'High-energy gaseous storage cell. Volatile gas held under controlled thermal conditions.',
|
|
2905
2909
|
color: '#E86344',
|
|
2906
2910
|
},
|
|
2907
2911
|
10004: {
|
|
2908
|
-
name: '
|
|
2909
|
-
description: 'Crystalline
|
|
2912
|
+
name: 'Resonator',
|
|
2913
|
+
description: 'Crystalline resonance lattice. Stores and releases charge through coherent oscillation.',
|
|
2910
2914
|
color: '#4ADBFF',
|
|
2911
2915
|
},
|
|
2912
2916
|
10005: {
|
|
2913
|
-
name: '
|
|
2914
|
-
description: 'Heavy-duty ore
|
|
2917
|
+
name: 'Beam',
|
|
2918
|
+
description: 'Heavy-duty structural beam machined from refined ore. Strong enough to bear load, tolerant enough to survive harsh environments.',
|
|
2915
2919
|
color: '#7B8D9E',
|
|
2916
2920
|
},
|
|
2917
2921
|
10006: {
|
|
2918
|
-
name: '
|
|
2919
|
-
description: 'Crystal-lattice
|
|
2922
|
+
name: 'Sensor',
|
|
2923
|
+
description: 'Crystal-lattice sensing element with conductive and reflective properties. Reads signal and surface alike.',
|
|
2920
2924
|
color: '#4ADBFF',
|
|
2921
2925
|
},
|
|
2922
2926
|
10007: {
|
|
2923
|
-
name: '
|
|
2924
|
-
description: '
|
|
2927
|
+
name: 'Polymer',
|
|
2928
|
+
description: 'Pliable biomass-derived polymer with high insulation. Flexible, durable, electrically inert.',
|
|
2925
2929
|
color: '#5A8B3E',
|
|
2926
2930
|
},
|
|
2927
2931
|
10008: {
|
|
2928
|
-
name: '
|
|
2929
|
-
description: '
|
|
2932
|
+
name: 'Ceramic',
|
|
2933
|
+
description: 'Hardened fine-grained ceramic refined from regolith. Hard enough to cut, fine enough to finish.',
|
|
2930
2934
|
color: '#C4A57B',
|
|
2931
2935
|
},
|
|
2932
2936
|
10009: {
|
|
2933
|
-
name: '
|
|
2934
|
-
description: 'Gas-pressurized vessel for controlled
|
|
2937
|
+
name: 'Reactor',
|
|
2938
|
+
description: 'Gas-pressurized vessel for controlled reactions. Vents heat and contains volatility.',
|
|
2935
2939
|
color: '#B8E4A0',
|
|
2936
2940
|
},
|
|
2937
2941
|
10010: {
|
|
2938
|
-
name: '
|
|
2939
|
-
description:
|
|
2942
|
+
name: 'Emitter',
|
|
2943
|
+
description: 'Precision-formed crystal emitter array. Routes energy efficiently to a target lock.',
|
|
2940
2944
|
color: '#4ADBFF',
|
|
2941
2945
|
},
|
|
2942
2946
|
10100: {
|
|
@@ -2979,6 +2983,11 @@ const itemMetadata = {
|
|
|
2979
2983
|
description: 'Folds local space-time around the hull, projecting the ship across vast distances in a single discharge of the entire energy reserve.',
|
|
2980
2984
|
color: '#9be4ff',
|
|
2981
2985
|
},
|
|
2986
|
+
10108: {
|
|
2987
|
+
name: 'Battery',
|
|
2988
|
+
description: 'Extends energy capacity. Stores additional charge produced by generators, letting builds chain more high-drain actions between recharges.',
|
|
2989
|
+
color: '#4ADBFF',
|
|
2990
|
+
},
|
|
2982
2991
|
10200: {
|
|
2983
2992
|
name: 'Container',
|
|
2984
2993
|
description: 'Passive floating cargo storage in space. Towed by ships.',
|
|
@@ -3005,13 +3014,13 @@ const itemMetadata = {
|
|
|
3005
3014
|
color: '#7BA7D4',
|
|
3006
3015
|
},
|
|
3007
3016
|
20001: {
|
|
3008
|
-
name: '
|
|
3017
|
+
name: 'Plate',
|
|
3009
3018
|
description: 'Advanced structural plating reinforced with tier 2 ore.',
|
|
3010
3019
|
color: '#9BADB8',
|
|
3011
3020
|
},
|
|
3012
3021
|
20002: {
|
|
3013
|
-
name: '
|
|
3014
|
-
description: 'Advanced composite
|
|
3022
|
+
name: 'Frame',
|
|
3023
|
+
description: 'Advanced composite framing reinforced with tier 2 regolith and biomass polymer.',
|
|
3015
3024
|
color: '#C4A57B',
|
|
3016
3025
|
},
|
|
3017
3026
|
20200: {
|