@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.d.ts
CHANGED
package/lib/testing.js
CHANGED
|
@@ -704,9 +704,6 @@ var Types;
|
|
|
704
704
|
tslib.__decorate([
|
|
705
705
|
antelope.Struct.field(antelope.UInt16)
|
|
706
706
|
], gatherer_stats.prototype, "depth", void 0);
|
|
707
|
-
tslib.__decorate([
|
|
708
|
-
antelope.Struct.field(antelope.UInt16)
|
|
709
|
-
], gatherer_stats.prototype, "speed", void 0);
|
|
710
707
|
gatherer_stats = tslib.__decorate([
|
|
711
708
|
antelope.Struct.type('gatherer_stats')
|
|
712
709
|
], gatherer_stats);
|
|
@@ -2756,6 +2753,13 @@ var items = [
|
|
|
2756
2753
|
tier: 1,
|
|
2757
2754
|
subtype: "warp"
|
|
2758
2755
|
},
|
|
2756
|
+
{
|
|
2757
|
+
id: 10108,
|
|
2758
|
+
mass: 90000,
|
|
2759
|
+
type: "module",
|
|
2760
|
+
tier: 1,
|
|
2761
|
+
subtype: "battery"
|
|
2762
|
+
},
|
|
2759
2763
|
{
|
|
2760
2764
|
id: 10200,
|
|
2761
2765
|
mass: 80000,
|
|
@@ -2894,53 +2898,53 @@ const itemMetadata = {
|
|
|
2894
2898
|
509: { name: 'Biomass', description: '', color: '#5A8B3E' },
|
|
2895
2899
|
510: { name: 'Biomass', description: '', color: '#5A8B3E' },
|
|
2896
2900
|
10001: {
|
|
2897
|
-
name: '
|
|
2898
|
-
description: 'Structural plating formed from ore. Used in hulls, containers, and
|
|
2901
|
+
name: 'Plate',
|
|
2902
|
+
description: 'Structural plating formed from ore. Used in hulls, containers, and storage modules.',
|
|
2899
2903
|
color: '#7B8D9E',
|
|
2900
2904
|
},
|
|
2901
2905
|
10002: {
|
|
2902
|
-
name: '
|
|
2903
|
-
description: 'Composite
|
|
2906
|
+
name: 'Frame',
|
|
2907
|
+
description: 'Composite framing formed from fine regolith bound in biomass polymer. Dense enough to seal cargo holds, flexible enough to absorb vibration.',
|
|
2904
2908
|
color: '#C4A57B',
|
|
2905
2909
|
},
|
|
2906
2910
|
10003: {
|
|
2907
|
-
name: '
|
|
2908
|
-
description: 'High-energy
|
|
2911
|
+
name: 'Plasma Cell',
|
|
2912
|
+
description: 'High-energy gaseous storage cell. Volatile gas held under controlled thermal conditions.',
|
|
2909
2913
|
color: '#E86344',
|
|
2910
2914
|
},
|
|
2911
2915
|
10004: {
|
|
2912
|
-
name: '
|
|
2913
|
-
description: 'Crystalline
|
|
2916
|
+
name: 'Resonator',
|
|
2917
|
+
description: 'Crystalline resonance lattice. Stores and releases charge through coherent oscillation.',
|
|
2914
2918
|
color: '#4ADBFF',
|
|
2915
2919
|
},
|
|
2916
2920
|
10005: {
|
|
2917
|
-
name: '
|
|
2918
|
-
description: 'Heavy-duty ore
|
|
2921
|
+
name: 'Beam',
|
|
2922
|
+
description: 'Heavy-duty structural beam machined from refined ore. Strong enough to bear load, tolerant enough to survive harsh environments.',
|
|
2919
2923
|
color: '#7B8D9E',
|
|
2920
2924
|
},
|
|
2921
2925
|
10006: {
|
|
2922
|
-
name: '
|
|
2923
|
-
description: 'Crystal-lattice
|
|
2926
|
+
name: 'Sensor',
|
|
2927
|
+
description: 'Crystal-lattice sensing element with conductive and reflective properties. Reads signal and surface alike.',
|
|
2924
2928
|
color: '#4ADBFF',
|
|
2925
2929
|
},
|
|
2926
2930
|
10007: {
|
|
2927
|
-
name: '
|
|
2928
|
-
description: '
|
|
2931
|
+
name: 'Polymer',
|
|
2932
|
+
description: 'Pliable biomass-derived polymer with high insulation. Flexible, durable, electrically inert.',
|
|
2929
2933
|
color: '#5A8B3E',
|
|
2930
2934
|
},
|
|
2931
2935
|
10008: {
|
|
2932
|
-
name: '
|
|
2933
|
-
description: '
|
|
2936
|
+
name: 'Ceramic',
|
|
2937
|
+
description: 'Hardened fine-grained ceramic refined from regolith. Hard enough to cut, fine enough to finish.',
|
|
2934
2938
|
color: '#C4A57B',
|
|
2935
2939
|
},
|
|
2936
2940
|
10009: {
|
|
2937
|
-
name: '
|
|
2938
|
-
description: 'Gas-pressurized vessel for controlled
|
|
2941
|
+
name: 'Reactor',
|
|
2942
|
+
description: 'Gas-pressurized vessel for controlled reactions. Vents heat and contains volatility.',
|
|
2939
2943
|
color: '#B8E4A0',
|
|
2940
2944
|
},
|
|
2941
2945
|
10010: {
|
|
2942
|
-
name: '
|
|
2943
|
-
description:
|
|
2946
|
+
name: 'Emitter',
|
|
2947
|
+
description: 'Precision-formed crystal emitter array. Routes energy efficiently to a target lock.',
|
|
2944
2948
|
color: '#4ADBFF',
|
|
2945
2949
|
},
|
|
2946
2950
|
10100: {
|
|
@@ -2983,6 +2987,11 @@ const itemMetadata = {
|
|
|
2983
2987
|
description: 'Folds local space-time around the hull, projecting the ship across vast distances in a single discharge of the entire energy reserve.',
|
|
2984
2988
|
color: '#9be4ff',
|
|
2985
2989
|
},
|
|
2990
|
+
10108: {
|
|
2991
|
+
name: 'Battery',
|
|
2992
|
+
description: 'Extends energy capacity. Stores additional charge produced by generators, letting builds chain more high-drain actions between recharges.',
|
|
2993
|
+
color: '#4ADBFF',
|
|
2994
|
+
},
|
|
2986
2995
|
10200: {
|
|
2987
2996
|
name: 'Container',
|
|
2988
2997
|
description: 'Passive floating cargo storage in space. Towed by ships.',
|
|
@@ -3009,13 +3018,13 @@ const itemMetadata = {
|
|
|
3009
3018
|
color: '#7BA7D4',
|
|
3010
3019
|
},
|
|
3011
3020
|
20001: {
|
|
3012
|
-
name: '
|
|
3021
|
+
name: 'Plate',
|
|
3013
3022
|
description: 'Advanced structural plating reinforced with tier 2 ore.',
|
|
3014
3023
|
color: '#9BADB8',
|
|
3015
3024
|
},
|
|
3016
3025
|
20002: {
|
|
3017
|
-
name: '
|
|
3018
|
-
description: 'Advanced composite
|
|
3026
|
+
name: 'Frame',
|
|
3027
|
+
description: 'Advanced composite framing reinforced with tier 2 regolith and biomass polymer.',
|
|
3019
3028
|
color: '#C4A57B',
|
|
3020
3029
|
},
|
|
3021
3030
|
20200: {
|