@shipload/sdk 1.0.0-next.6 → 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/scan.d.ts +52 -0
- package/lib/scan.js +162 -0
- package/lib/scan.js.map +1 -0
- package/lib/scan.m.js +152 -0
- package/lib/scan.m.js.map +1 -0
- package/lib/shipload.d.ts +3601 -1364
- package/lib/shipload.js +15671 -5261
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +15392 -5209
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +1173 -0
- package/lib/testing.js +4971 -0
- package/lib/testing.js.map +1 -0
- package/lib/testing.m.js +4965 -0
- package/lib/testing.m.js.map +1 -0
- package/package.json +20 -2
- package/src/capabilities/craftable.test.ts +82 -0
- package/src/capabilities/craftable.ts +82 -0
- package/src/capabilities/crafting.test.ts +35 -0
- package/src/capabilities/crafting.ts +34 -7
- package/src/capabilities/gathering.test.ts +29 -0
- package/src/capabilities/gathering.ts +37 -19
- package/src/capabilities/hauling.ts +0 -5
- package/src/capabilities/index.ts +0 -1
- package/src/capabilities/modules.ts +27 -30
- package/src/capabilities/movement.ts +1 -1
- package/src/capabilities/storage.ts +16 -1
- package/src/contracts/platform.ts +231 -3
- package/src/contracts/server.ts +1518 -501
- package/src/coordinates/address.ts +88 -0
- package/src/coordinates/constants.test.ts +15 -0
- package/src/coordinates/constants.ts +23 -0
- package/src/coordinates/index.ts +15 -0
- package/src/coordinates/memo.test.ts +47 -0
- package/src/coordinates/memo.ts +20 -0
- package/src/coordinates/permutation.ts +77 -0
- package/src/coordinates/regions.ts +48 -0
- package/src/coordinates/sectors.ts +115 -0
- package/src/data/capabilities.ts +49 -18
- package/src/data/capability-formulas.ts +26 -14
- package/src/data/catalog.ts +7 -8
- package/src/data/colors.ts +14 -48
- package/src/data/entities.json +380 -15
- package/src/data/item-ids.ts +51 -13
- package/src/data/items.json +318 -77
- package/src/data/kind-registry.json +195 -0
- package/src/data/kind-registry.ts +182 -0
- package/src/data/metadata.ts +291 -51
- package/src/data/recipes-runtime.ts +6 -23
- package/src/data/recipes.json +2260 -173
- package/src/data/tiers.ts +9 -6
- package/src/derivation/build-methods.test.ts +13 -0
- package/src/derivation/build-methods.ts +48 -0
- package/src/derivation/capabilities.test.ts +348 -0
- package/src/derivation/capabilities.ts +693 -0
- package/src/derivation/capability-mappings.ts +60 -16
- package/src/derivation/crafting.test.ts +17 -0
- package/src/derivation/crafting.ts +57 -34
- package/src/derivation/index.ts +27 -2
- package/src/derivation/recipe-usage.test.ts +90 -0
- package/src/derivation/recipe-usage.ts +141 -0
- package/src/derivation/reserve-regen.ts +34 -0
- package/src/derivation/resources.ts +9 -1
- package/src/derivation/rollups.test.ts +55 -0
- package/src/derivation/rollups.ts +72 -0
- package/src/derivation/stars.test.ts +67 -0
- package/src/derivation/stars.ts +25 -0
- package/src/derivation/stat-scaling.ts +12 -0
- package/src/derivation/stats.ts +6 -6
- package/src/derivation/stratum.ts +26 -22
- package/src/derivation/tiers.ts +40 -7
- package/src/derivation/upgrades.ts +14 -0
- package/src/derivation/wormhole.ts +154 -0
- package/src/entities/entity.ts +102 -0
- package/src/entities/gamestate.ts +3 -28
- package/src/entities/makers.ts +141 -135
- package/src/entities/slot-multiplier.ts +43 -0
- package/src/errors.ts +12 -16
- package/src/format.ts +26 -4
- package/src/index-module.ts +333 -35
- package/src/managers/actions.ts +668 -103
- package/src/managers/base.ts +6 -2
- package/src/managers/cluster.test.ts +39 -0
- package/src/managers/cluster.ts +53 -0
- package/src/managers/construction-types.ts +80 -0
- package/src/managers/construction.ts +443 -0
- package/src/managers/context.ts +29 -1
- package/src/managers/coordinates.ts +14 -0
- package/src/managers/entities.ts +27 -66
- package/src/managers/epochs.ts +40 -0
- package/src/managers/index.ts +20 -1
- package/src/managers/locations.ts +25 -29
- package/src/managers/nft.test.ts +14 -0
- package/src/managers/nft.ts +70 -0
- package/src/managers/players.ts +25 -0
- package/src/managers/plot.ts +122 -0
- package/src/nft/atomicassets.abi.json +1342 -0
- package/src/nft/atomicassets.ts +237 -0
- package/src/nft/atomicdata.ts +130 -0
- package/src/nft/buildImmutableData.ts +388 -0
- package/src/nft/description.ts +215 -99
- package/src/nft/index.ts +3 -0
- package/src/planner/index.ts +242 -0
- package/src/planner/planner.test.ts +334 -0
- package/src/resolution/describe-module.ts +43 -25
- package/src/resolution/display-name.ts +38 -10
- package/src/resolution/resolve-item.test.ts +48 -0
- package/src/resolution/resolve-item.ts +112 -58
- package/src/scan/index.ts +244 -0
- package/src/scan/scan-wasm.base64.ts +2 -0
- package/src/scheduling/accessor.ts +65 -23
- package/src/scheduling/availability.test.ts +204 -0
- package/src/scheduling/availability.ts +211 -0
- package/src/scheduling/cancel.test.ts +542 -0
- package/src/scheduling/cancel.ts +254 -0
- package/src/scheduling/cluster-stock.test.ts +31 -0
- package/src/scheduling/cluster-stock.ts +15 -0
- package/src/scheduling/energy.ts +47 -0
- package/src/scheduling/idle-resolve.ts +45 -0
- package/src/scheduling/jobs.ts +71 -0
- package/src/scheduling/lane-core.ts +128 -0
- package/src/scheduling/lanes.test.ts +250 -0
- package/src/scheduling/lanes.ts +227 -0
- package/src/scheduling/projection.ts +257 -133
- package/src/scheduling/schedule.test.ts +119 -0
- package/src/scheduling/schedule.ts +257 -117
- package/src/scheduling/task-cargo.test.ts +44 -0
- package/src/scheduling/task-cargo.ts +46 -0
- package/src/scheduling/unwrap.test.ts +86 -0
- package/src/scheduling/unwrap.ts +190 -0
- package/src/shipload.ts +26 -1
- package/src/subscriptions/manager.cluster.test.ts +51 -0
- package/src/subscriptions/manager.ts +245 -172
- package/src/subscriptions/mappers.ts +5 -8
- package/src/subscriptions/types.ts +28 -3
- package/src/testing/catalog-hash.ts +19 -0
- package/src/testing/index.ts +2 -0
- package/src/testing/projection-parity.ts +167 -0
- package/src/travel/reach.ts +21 -0
- package/src/travel/route-planner.ts +288 -0
- package/src/travel/route-simulator.ts +170 -0
- package/src/travel/travel.ts +188 -122
- package/src/types/capabilities.ts +37 -8
- package/src/types/entity.ts +3 -3
- package/src/types/index.ts +0 -1
- package/src/types.ts +51 -16
- package/src/utils/cargo.test.ts +14 -0
- package/src/utils/cargo.ts +29 -0
- package/src/utils/display-name.ts +70 -0
- package/src/utils/system.ts +15 -16
- package/src/capabilities/loading.ts +0 -8
- package/src/entities/container.ts +0 -123
- package/src/entities/ship-deploy.ts +0 -295
- package/src/entities/ship.ts +0 -221
- package/src/entities/warehouse.ts +0 -127
- package/src/types/entity-traits.ts +0 -69
package/src/data/catalog.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {UInt16, type UInt16Type} from '@wharfkit/antelope'
|
|
2
2
|
import items from './items.json'
|
|
3
|
-
import {tierLabels} from './colors'
|
|
4
3
|
import {itemMetadata} from './metadata'
|
|
5
4
|
import {
|
|
6
5
|
CATEGORY_LABELS,
|
|
@@ -33,12 +32,16 @@ for (const raw of items as any[]) {
|
|
|
33
32
|
export const itemIds = Array.from(itemsById.keys())
|
|
34
33
|
|
|
35
34
|
export function getItem(itemId: UInt16Type): Item {
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
if (!item) throw new Error(`Unknown item id: ${id}`)
|
|
35
|
+
const item = tryGetItem(itemId)
|
|
36
|
+
if (!item) throw new Error(`Unknown item id: ${UInt16.from(itemId).toNumber()}`)
|
|
39
37
|
return item
|
|
40
38
|
}
|
|
41
39
|
|
|
40
|
+
export function tryGetItem(itemId: UInt16Type): Item | undefined {
|
|
41
|
+
const id = UInt16.from(itemId).toNumber()
|
|
42
|
+
return itemsById.get(id)
|
|
43
|
+
}
|
|
44
|
+
|
|
42
45
|
export function getItems(): Item[] {
|
|
43
46
|
return Array.from(itemsById.values())
|
|
44
47
|
}
|
|
@@ -115,10 +118,6 @@ export function categoryLabel(cat: ResourceCategory): string {
|
|
|
115
118
|
return CATEGORY_LABELS[cat]
|
|
116
119
|
}
|
|
117
120
|
|
|
118
|
-
export function tierLabel(tier: number): string {
|
|
119
|
-
return tierLabels[tier] ?? `T${tier}`
|
|
120
|
-
}
|
|
121
|
-
|
|
122
121
|
// Chain rescat enum order from server::getrescats.
|
|
123
122
|
// IMPORTANT: gas=1, crystal=4 — does NOT match the player-facing T-prefix
|
|
124
123
|
// order (ore=100, crystal=200, gas=300, regolith=400, biomass=500).
|
package/src/data/colors.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type {ResourceCategory} from '../types'
|
|
|
3
3
|
export const categoryColors: Record<ResourceCategory, string> = {
|
|
4
4
|
ore: '#C26D3F',
|
|
5
5
|
crystal: '#4ADBFF',
|
|
6
|
-
gas: '#
|
|
6
|
+
gas: '#B877FF',
|
|
7
7
|
regolith: '#C4A57B',
|
|
8
8
|
biomass: '#5A8B3E',
|
|
9
9
|
}
|
|
@@ -21,54 +21,20 @@ export const tierColors: Record<number, string> = {
|
|
|
21
21
|
10: '#ffffff',
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
// Rarity-tier names (badge labels). Kept disjoint from TIER_ADJECTIVES in
|
|
25
|
-
// types.ts (resource descriptors like "Pristine Ore") so the two vocabularies
|
|
26
|
-
// never collide at any tier.
|
|
27
|
-
export const tierLabels: Record<number, string> = {
|
|
28
|
-
1: 'Common',
|
|
29
|
-
2: 'Uncommon',
|
|
30
|
-
3: 'Rare',
|
|
31
|
-
4: 'Epic',
|
|
32
|
-
5: 'Legendary',
|
|
33
|
-
6: 'Mythic',
|
|
34
|
-
7: 'Divine',
|
|
35
|
-
8: 'Celestial',
|
|
36
|
-
9: 'Eternal',
|
|
37
|
-
10: 'Transcendent',
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export const categoryIcons: Record<ResourceCategory, string> = {
|
|
41
|
-
ore: '⬡',
|
|
42
|
-
crystal: '◈',
|
|
43
|
-
gas: '◎',
|
|
44
|
-
regolith: '■',
|
|
45
|
-
biomass: '❋',
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export type CategoryIconShape = 'hex' | 'diamond' | 'star' | 'circle' | 'square'
|
|
49
|
-
|
|
50
|
-
export const categoryIconShapes: Record<ResourceCategory, CategoryIconShape> = {
|
|
51
|
-
ore: 'hex',
|
|
52
|
-
crystal: 'diamond',
|
|
53
|
-
gas: 'circle',
|
|
54
|
-
regolith: 'square',
|
|
55
|
-
biomass: 'star',
|
|
56
|
-
}
|
|
57
|
-
|
|
58
24
|
export const componentIcon = '▣'
|
|
59
25
|
export const moduleIcon = '⬢'
|
|
60
26
|
|
|
61
27
|
export const itemAbbreviations: Record<number, string> = {
|
|
62
|
-
10001: '
|
|
63
|
-
10002: '
|
|
64
|
-
10003: '
|
|
65
|
-
10004: '
|
|
66
|
-
10005: '
|
|
67
|
-
10006: '
|
|
68
|
-
10007: '
|
|
69
|
-
10008: '
|
|
70
|
-
10009: '
|
|
71
|
-
10010: '
|
|
28
|
+
10001: 'PL',
|
|
29
|
+
10002: 'FR',
|
|
30
|
+
10003: 'PC',
|
|
31
|
+
10004: 'RS',
|
|
32
|
+
10005: 'BM',
|
|
33
|
+
10006: 'SN',
|
|
34
|
+
10007: 'PM',
|
|
35
|
+
10008: 'CR',
|
|
36
|
+
10009: 'RX',
|
|
37
|
+
10010: 'RE',
|
|
72
38
|
10100: 'EN',
|
|
73
39
|
10101: 'GN',
|
|
74
40
|
10102: 'EX',
|
|
@@ -80,7 +46,7 @@ export const itemAbbreviations: Record<number, string> = {
|
|
|
80
46
|
10200: 'CT',
|
|
81
47
|
10201: 'SH',
|
|
82
48
|
10202: 'WH',
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
49
|
+
11001: 'PL',
|
|
50
|
+
11002: 'FR',
|
|
51
|
+
11200: 'CT',
|
|
86
52
|
}
|
package/src/data/entities.json
CHANGED
|
@@ -1,50 +1,415 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"entityItemId": 10200,
|
|
4
|
-
"slots": []
|
|
4
|
+
"slots": [],
|
|
5
|
+
"baseHullmass": 100000
|
|
5
6
|
},
|
|
6
7
|
{
|
|
7
8
|
"entityItemId": 10201,
|
|
8
9
|
"slots": [
|
|
9
10
|
{
|
|
10
|
-
"type": "any"
|
|
11
|
+
"type": "any",
|
|
12
|
+
"outputPct": 80,
|
|
13
|
+
"maxTier": 1
|
|
11
14
|
},
|
|
12
15
|
{
|
|
13
|
-
"type": "any"
|
|
16
|
+
"type": "any",
|
|
17
|
+
"outputPct": 80,
|
|
18
|
+
"maxTier": 1
|
|
14
19
|
},
|
|
15
20
|
{
|
|
16
|
-
"type": "any"
|
|
21
|
+
"type": "any",
|
|
22
|
+
"outputPct": 80,
|
|
23
|
+
"maxTier": 1
|
|
17
24
|
},
|
|
18
25
|
{
|
|
19
|
-
"type": "any"
|
|
26
|
+
"type": "any",
|
|
27
|
+
"outputPct": 80,
|
|
28
|
+
"maxTier": 1
|
|
20
29
|
},
|
|
21
30
|
{
|
|
22
|
-
"type": "any"
|
|
31
|
+
"type": "any",
|
|
32
|
+
"outputPct": 80,
|
|
33
|
+
"maxTier": 1
|
|
23
34
|
}
|
|
24
|
-
]
|
|
35
|
+
],
|
|
36
|
+
"baseHullmass": 4000000
|
|
25
37
|
},
|
|
26
38
|
{
|
|
27
39
|
"entityItemId": 10202,
|
|
28
40
|
"slots": [
|
|
29
41
|
{
|
|
30
|
-
"type": "loader"
|
|
42
|
+
"type": "loader",
|
|
43
|
+
"outputPct": 100,
|
|
44
|
+
"maxTier": 1
|
|
31
45
|
},
|
|
32
46
|
{
|
|
33
|
-
"type": "storage"
|
|
47
|
+
"type": "storage",
|
|
48
|
+
"outputPct": 100,
|
|
49
|
+
"maxTier": 1
|
|
34
50
|
},
|
|
35
51
|
{
|
|
36
|
-
"type": "storage"
|
|
52
|
+
"type": "storage",
|
|
53
|
+
"outputPct": 100,
|
|
54
|
+
"maxTier": 1
|
|
37
55
|
},
|
|
38
56
|
{
|
|
39
|
-
"type": "storage"
|
|
57
|
+
"type": "storage",
|
|
58
|
+
"outputPct": 100,
|
|
59
|
+
"maxTier": 1
|
|
40
60
|
},
|
|
41
61
|
{
|
|
42
|
-
"type": "storage"
|
|
62
|
+
"type": "storage",
|
|
63
|
+
"outputPct": 100,
|
|
64
|
+
"maxTier": 1
|
|
43
65
|
}
|
|
44
|
-
]
|
|
66
|
+
],
|
|
67
|
+
"baseHullmass": 100000
|
|
45
68
|
},
|
|
46
69
|
{
|
|
47
|
-
"entityItemId":
|
|
48
|
-
"slots": [
|
|
70
|
+
"entityItemId": 10203,
|
|
71
|
+
"slots": [
|
|
72
|
+
{
|
|
73
|
+
"type": "generator",
|
|
74
|
+
"outputPct": 200,
|
|
75
|
+
"maxTier": 1
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "gatherer",
|
|
79
|
+
"outputPct": 200,
|
|
80
|
+
"maxTier": 1
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"baseHullmass": 100000
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"entityItemId": 10204,
|
|
87
|
+
"slots": [
|
|
88
|
+
{
|
|
89
|
+
"type": "generator",
|
|
90
|
+
"outputPct": 200,
|
|
91
|
+
"maxTier": 1
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "crafter",
|
|
95
|
+
"outputPct": 200,
|
|
96
|
+
"maxTier": 1
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"baseHullmass": 100000
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"entityItemId": 10205,
|
|
103
|
+
"slots": [
|
|
104
|
+
{
|
|
105
|
+
"type": "generator",
|
|
106
|
+
"outputPct": 200,
|
|
107
|
+
"maxTier": 1
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "launcher",
|
|
111
|
+
"outputPct": 200,
|
|
112
|
+
"maxTier": 1
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"baseHullmass": 100000
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"entityItemId": 10206,
|
|
119
|
+
"slots": [
|
|
120
|
+
{
|
|
121
|
+
"type": "storage",
|
|
122
|
+
"outputPct": 100,
|
|
123
|
+
"maxTier": 1
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "storage",
|
|
127
|
+
"outputPct": 100,
|
|
128
|
+
"maxTier": 1
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "storage",
|
|
132
|
+
"outputPct": 100,
|
|
133
|
+
"maxTier": 1
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"baseHullmass": 100000
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"entityItemId": 10207,
|
|
140
|
+
"slots": [],
|
|
141
|
+
"baseHullmass": 100000
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"entityItemId": 10208,
|
|
145
|
+
"slots": [
|
|
146
|
+
{
|
|
147
|
+
"type": "crafter",
|
|
148
|
+
"outputPct": 75,
|
|
149
|
+
"maxTier": 1
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "crafter",
|
|
153
|
+
"outputPct": 75,
|
|
154
|
+
"maxTier": 1
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"type": "crafter",
|
|
158
|
+
"outputPct": 75,
|
|
159
|
+
"maxTier": 1
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "crafter",
|
|
163
|
+
"outputPct": 75,
|
|
164
|
+
"maxTier": 1
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "crafter",
|
|
168
|
+
"outputPct": 75,
|
|
169
|
+
"maxTier": 1
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"baseHullmass": 100000
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"entityItemId": 10209,
|
|
176
|
+
"slots": [
|
|
177
|
+
{
|
|
178
|
+
"type": "generator",
|
|
179
|
+
"outputPct": 200,
|
|
180
|
+
"maxTier": 1
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "builder",
|
|
184
|
+
"outputPct": 200,
|
|
185
|
+
"maxTier": 1
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"baseHullmass": 100000
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"entityItemId": 10210,
|
|
192
|
+
"slots": [
|
|
193
|
+
{
|
|
194
|
+
"type": "generator",
|
|
195
|
+
"outputPct": 80,
|
|
196
|
+
"maxTier": 1
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "engine",
|
|
200
|
+
"outputPct": 80,
|
|
201
|
+
"maxTier": 1
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"type": "any",
|
|
205
|
+
"outputPct": 60,
|
|
206
|
+
"maxTier": 1
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"baseHullmass": 3200000
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"entityItemId": 10211,
|
|
213
|
+
"slots": [
|
|
214
|
+
{
|
|
215
|
+
"type": "generator",
|
|
216
|
+
"outputPct": 85,
|
|
217
|
+
"maxTier": 1
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "engine",
|
|
221
|
+
"outputPct": 85,
|
|
222
|
+
"maxTier": 1
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "gatherer",
|
|
226
|
+
"outputPct": 100,
|
|
227
|
+
"maxTier": 1
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"baseHullmass": 4000000
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"entityItemId": 10212,
|
|
234
|
+
"slots": [
|
|
235
|
+
{
|
|
236
|
+
"type": "generator",
|
|
237
|
+
"outputPct": 85,
|
|
238
|
+
"maxTier": 1
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "engine",
|
|
242
|
+
"outputPct": 85,
|
|
243
|
+
"maxTier": 1
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "loader",
|
|
247
|
+
"outputPct": 100,
|
|
248
|
+
"maxTier": 1
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"baseHullmass": 4000000
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"entityItemId": 10213,
|
|
255
|
+
"slots": [
|
|
256
|
+
{
|
|
257
|
+
"type": "generator",
|
|
258
|
+
"outputPct": 85,
|
|
259
|
+
"maxTier": 1
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "engine",
|
|
263
|
+
"outputPct": 85,
|
|
264
|
+
"maxTier": 1
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "builder",
|
|
268
|
+
"outputPct": 100,
|
|
269
|
+
"maxTier": 1
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"baseHullmass": 4000000
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"entityItemId": 10214,
|
|
276
|
+
"slots": [
|
|
277
|
+
{
|
|
278
|
+
"type": "generator",
|
|
279
|
+
"outputPct": 85,
|
|
280
|
+
"maxTier": 1
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "engine",
|
|
284
|
+
"outputPct": 85,
|
|
285
|
+
"maxTier": 1
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "hauler",
|
|
289
|
+
"outputPct": 100,
|
|
290
|
+
"maxTier": 1
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"baseHullmass": 4000000
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"entityItemId": 10215,
|
|
297
|
+
"slots": [
|
|
298
|
+
{
|
|
299
|
+
"type": "generator",
|
|
300
|
+
"outputPct": 85,
|
|
301
|
+
"maxTier": 1
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "engine",
|
|
305
|
+
"outputPct": 85,
|
|
306
|
+
"maxTier": 1
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "storage",
|
|
310
|
+
"outputPct": 100,
|
|
311
|
+
"maxTier": 1
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"baseHullmass": 4000000
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"entityItemId": 10218,
|
|
318
|
+
"slots": [
|
|
319
|
+
{
|
|
320
|
+
"type": "generator",
|
|
321
|
+
"outputPct": 85,
|
|
322
|
+
"maxTier": 1
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"type": "engine",
|
|
326
|
+
"outputPct": 85,
|
|
327
|
+
"maxTier": 1
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"type": "crafter",
|
|
331
|
+
"outputPct": 100,
|
|
332
|
+
"maxTier": 1
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"baseHullmass": 4000000
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"entityItemId": 11200,
|
|
339
|
+
"slots": [],
|
|
340
|
+
"baseHullmass": 100000
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"entityItemId": 11212,
|
|
344
|
+
"slots": [
|
|
345
|
+
{
|
|
346
|
+
"type": "generator",
|
|
347
|
+
"outputPct": 90,
|
|
348
|
+
"maxTier": 2
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": "engine",
|
|
352
|
+
"outputPct": 90,
|
|
353
|
+
"maxTier": 2
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"type": "gatherer",
|
|
357
|
+
"outputPct": 100,
|
|
358
|
+
"maxTier": 2
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"baseHullmass": 5920000
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"entityItemId": 11213,
|
|
365
|
+
"slots": [
|
|
366
|
+
{
|
|
367
|
+
"type": "generator",
|
|
368
|
+
"outputPct": 95,
|
|
369
|
+
"maxTier": 2
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"type": "engine",
|
|
373
|
+
"outputPct": 95,
|
|
374
|
+
"maxTier": 2
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"type": "aux",
|
|
378
|
+
"outputPct": 95,
|
|
379
|
+
"maxTier": 2
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"type": "gatherer",
|
|
383
|
+
"outputPct": 100,
|
|
384
|
+
"maxTier": 2
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"baseHullmass": 7360000
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"entityItemId": 11214,
|
|
391
|
+
"slots": [
|
|
392
|
+
{
|
|
393
|
+
"type": "generator",
|
|
394
|
+
"outputPct": 95,
|
|
395
|
+
"maxTier": 2
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"type": "engine",
|
|
399
|
+
"outputPct": 95,
|
|
400
|
+
"maxTier": 2
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"type": "gatherer",
|
|
404
|
+
"outputPct": 100,
|
|
405
|
+
"maxTier": 2
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "storage",
|
|
409
|
+
"outputPct": 100,
|
|
410
|
+
"maxTier": 2
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"baseHullmass": 7360000
|
|
49
414
|
}
|
|
50
415
|
]
|
package/src/data/item-ids.ts
CHANGED
|
@@ -50,16 +50,16 @@ export const ITEM_BIOMASS_T7 = 507
|
|
|
50
50
|
export const ITEM_BIOMASS_T8 = 508
|
|
51
51
|
export const ITEM_BIOMASS_T9 = 509
|
|
52
52
|
export const ITEM_BIOMASS_T10 = 510
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
59
|
-
export const
|
|
60
|
-
export const
|
|
61
|
-
export const
|
|
62
|
-
export const
|
|
53
|
+
export const ITEM_PLATE = 10001
|
|
54
|
+
export const ITEM_FRAME = 10002
|
|
55
|
+
export const ITEM_PLASMA_CELL = 10003
|
|
56
|
+
export const ITEM_RESONATOR = 10004
|
|
57
|
+
export const ITEM_BEAM = 10005
|
|
58
|
+
export const ITEM_SENSOR = 10006
|
|
59
|
+
export const ITEM_POLYMER = 10007
|
|
60
|
+
export const ITEM_CERAMIC = 10008
|
|
61
|
+
export const ITEM_REACTOR = 10009
|
|
62
|
+
export const ITEM_RESIN = 10010
|
|
63
63
|
export const ITEM_ENGINE_T1 = 10100
|
|
64
64
|
export const ITEM_GENERATOR_T1 = 10101
|
|
65
65
|
export const ITEM_GATHERER_T1 = 10102
|
|
@@ -68,9 +68,47 @@ export const ITEM_CRAFTER_T1 = 10104
|
|
|
68
68
|
export const ITEM_STORAGE_T1 = 10105
|
|
69
69
|
export const ITEM_HAULER_T1 = 10106
|
|
70
70
|
export const ITEM_WARP_T1 = 10107
|
|
71
|
+
export const ITEM_BATTERY_T1 = 10108
|
|
72
|
+
export const ITEM_LAUNCHER_T1 = 10109
|
|
73
|
+
export const ITEM_BUILDER_T1 = 10110
|
|
71
74
|
export const ITEM_CONTAINER_T1_PACKED = 10200
|
|
72
75
|
export const ITEM_SHIP_T1_PACKED = 10201
|
|
73
76
|
export const ITEM_WAREHOUSE_T1_PACKED = 10202
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
76
|
-
export const
|
|
77
|
+
export const ITEM_EXTRACTOR_T1_PACKED = 10203
|
|
78
|
+
export const ITEM_FACTORY_T1_PACKED = 10204
|
|
79
|
+
export const ITEM_MASS_DRIVER_T1_PACKED = 10205
|
|
80
|
+
export const ITEM_MASS_CATCHER_T1_PACKED = 10206
|
|
81
|
+
export const ITEM_HUB_T1_PACKED = 10207
|
|
82
|
+
export const ITEM_WORKSHOP_T1_PACKED = 10208
|
|
83
|
+
export const ITEM_CONSTRUCTION_DOCK_T1_PACKED = 10209
|
|
84
|
+
export const ITEM_ROUSTABOUT_T1A_PACKED = 10210
|
|
85
|
+
export const ITEM_PROSPECTOR_T1A_PACKED = 10211
|
|
86
|
+
export const ITEM_TENDER_T1A_PACKED = 10212
|
|
87
|
+
export const ITEM_WRIGHT_T1A_PACKED = 10213
|
|
88
|
+
export const ITEM_TUG_T1A_PACKED = 10214
|
|
89
|
+
export const ITEM_PORTER_T1A_PACKED = 10215
|
|
90
|
+
export const ITEM_SMITH_T1A_PACKED = 10218
|
|
91
|
+
export const ITEM_PLATE_T2 = 11001
|
|
92
|
+
export const ITEM_FRAME_T2 = 11002
|
|
93
|
+
export const ITEM_PLASMA_CELL_T2 = 11003
|
|
94
|
+
export const ITEM_RESONATOR_T2 = 11004
|
|
95
|
+
export const ITEM_BEAM_T2 = 11005
|
|
96
|
+
export const ITEM_SENSOR_T2 = 11006
|
|
97
|
+
export const ITEM_POLYMER_T2 = 11007
|
|
98
|
+
export const ITEM_CERAMIC_T2 = 11008
|
|
99
|
+
export const ITEM_REACTOR_T2 = 11009
|
|
100
|
+
export const ITEM_RESIN_T2 = 11010
|
|
101
|
+
export const ITEM_ENGINE_T2 = 11100
|
|
102
|
+
export const ITEM_GENERATOR_T2 = 11101
|
|
103
|
+
export const ITEM_GATHERER_T2 = 11102
|
|
104
|
+
export const ITEM_LOADER_T2 = 11103
|
|
105
|
+
export const ITEM_CRAFTER_T2 = 11104
|
|
106
|
+
export const ITEM_STORAGE_T2 = 11105
|
|
107
|
+
export const ITEM_HAULER_T2 = 11106
|
|
108
|
+
export const ITEM_WARP_T2 = 11107
|
|
109
|
+
export const ITEM_BATTERY_T2 = 11108
|
|
110
|
+
export const ITEM_BUILDER_T2 = 11110
|
|
111
|
+
export const ITEM_CONTAINER_T2_PACKED = 11200
|
|
112
|
+
export const ITEM_PROSPECTOR_T2A_PACKED = 11212
|
|
113
|
+
export const ITEM_PROSPECTOR_T2B_PACKED = 11213
|
|
114
|
+
export const ITEM_DREDGER_T2A_PACKED = 11214
|