@shipload/sdk 2.0.0-rc2 → 2.0.0-rc4

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.
Files changed (39) hide show
  1. package/lib/shipload.d.ts +319 -137
  2. package/lib/shipload.js +3253 -1812
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +2657 -1131
  5. package/lib/shipload.m.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/capabilities/extraction.ts +14 -21
  8. package/src/capabilities/storage.ts +2 -2
  9. package/src/contracts/server.ts +311 -120
  10. package/src/data/items.json +16 -0
  11. package/src/data/nebula-adjectives.json +211 -0
  12. package/src/data/nebula-nouns.json +151 -0
  13. package/src/data/syllables.json +1386 -780
  14. package/src/derivation/index.ts +25 -0
  15. package/src/derivation/location-size.ts +15 -0
  16. package/src/derivation/resources.ts +141 -0
  17. package/src/derivation/stratum.ts +118 -0
  18. package/src/entities/cargo-utils.ts +8 -8
  19. package/src/entities/entity-inventory.ts +13 -9
  20. package/src/entities/inventory-accessor.ts +2 -2
  21. package/src/entities/location.ts +10 -10
  22. package/src/entities/ship.ts +10 -6
  23. package/src/entities/warehouse.ts +2 -2
  24. package/src/errors.ts +4 -4
  25. package/src/index-module.ts +31 -6
  26. package/src/managers/actions.ts +21 -9
  27. package/src/managers/locations.ts +7 -7
  28. package/src/managers/trades.ts +5 -5
  29. package/src/market/items.ts +31 -0
  30. package/src/market/market.ts +9 -9
  31. package/src/scheduling/projection.ts +7 -7
  32. package/src/trading/collect.ts +25 -25
  33. package/src/trading/deal.ts +8 -8
  34. package/src/trading/trade.ts +9 -9
  35. package/src/travel/travel.ts +6 -6
  36. package/src/types.ts +17 -7
  37. package/src/utils/system.ts +51 -52
  38. package/src/data/goods.json +0 -23
  39. package/src/market/goods.ts +0 -31
@@ -0,0 +1,16 @@
1
+ [
2
+ {"id": 1, "name": "Hydrogen", "description": "A lightweight gas used for fuel cells and propulsion.", "base_price": 50, "mass": 15000, "category": "gas", "rarity": "common", "color": "#7EC8E3"},
3
+ {"id": 2, "name": "Helium", "description": "An inert noble gas used in energy systems.", "base_price": 75, "mass": 2000, "category": "gas", "rarity": "uncommon", "color": "#F5E6CC"},
4
+ {"id": 6, "name": "Carbon", "description": "A versatile element for life support and coatings.", "base_price": 100, "mass": 12000, "category": "organic", "rarity": "common", "color": "#4A4A4A"},
5
+ {"id": 14, "name": "Silicon", "description": "A semiconductor used in sensors and computing.", "base_price": 150, "mass": 28000, "category": "mineral", "rarity": "common", "color": "#B8A9C9"},
6
+ {"id": 18, "name": "Argon", "description": "A noble gas used in industrial and energy applications.", "base_price": 60, "mass": 8000, "category": "gas", "rarity": "rare", "color": "#9B59B6"},
7
+ {"id": 22, "name": "Titanium", "description": "A strong, lightweight metal for ship construction.", "base_price": 300, "mass": 48000, "category": "metal", "rarity": "rare", "color": "#C0C0C0"},
8
+ {"id": 26, "name": "Iron", "description": "A versatile metal used in hulls and structures.", "base_price": 125, "mass": 40000, "category": "metal", "rarity": "common", "color": "#B7410E"},
9
+ {"id": 29, "name": "Copper", "description": "A conductive metal for electronics and wiring.", "base_price": 200, "mass": 60000, "category": "metal", "rarity": "uncommon", "color": "#B87333"},
10
+ {"id": 54, "name": "Xenon", "description": "A rare noble gas for advanced propulsion systems.", "base_price": 175, "mass": 20000, "category": "gas", "rarity": "epic", "color": "#5B2C6F"},
11
+ {"id": 74, "name": "Tungsten", "description": "An extremely dense metal for heavy-duty applications.", "base_price": 500, "mass": 80000, "category": "metal", "rarity": "epic", "color": "#708090"},
12
+ {"id": 1000, "name": "Quartz", "description": "A crystalline mineral for sensors and optics.", "base_price": 200, "mass": 35000, "category": "mineral", "rarity": "uncommon", "color": "#E8D5B7"},
13
+ {"id": 1001, "name": "Sapphire", "description": "A precious crystal for precision instruments.", "base_price": 400, "mass": 45000, "category": "mineral", "rarity": "rare", "color": "#0F52BA"},
14
+ {"id": 1002, "name": "Polymers", "description": "Synthetic materials for coatings and consumables.", "base_price": 150, "mass": 25000, "category": "organic", "rarity": "rare", "color": "#2ECC71"},
15
+ {"id": 1003, "name": "Biomass", "description": "Organic matter for life support systems.", "base_price": 100, "mass": 30000, "category": "organic", "rarity": "uncommon", "color": "#8B4513"}
16
+ ]
@@ -0,0 +1,211 @@
1
+ [
2
+ "Abyssal",
3
+ "Alabaster",
4
+ "Amber",
5
+ "Ancient",
6
+ "Argent",
7
+ "Ashen",
8
+ "Astral",
9
+ "Aurora",
10
+ "Azure",
11
+ "Barren",
12
+ "Blazing",
13
+ "Bleak",
14
+ "Boreal",
15
+ "Brazen",
16
+ "Bright",
17
+ "Brilliant",
18
+ "Bronze",
19
+ "Burning",
20
+ "Cadmium",
21
+ "Calcified",
22
+ "Cardinal",
23
+ "Celestial",
24
+ "Cerulean",
25
+ "Chartreuse",
26
+ "Chromatic",
27
+ "Cindered",
28
+ "Cobalt",
29
+ "Coiled",
30
+ "Copper",
31
+ "Corroded",
32
+ "Crimson",
33
+ "Crumbling",
34
+ "Crystal",
35
+ "Crystalline",
36
+ "Cursed",
37
+ "Cyan",
38
+ "Dark",
39
+ "Dawn",
40
+ "Deep",
41
+ "Desolate",
42
+ "Dim",
43
+ "Distant",
44
+ "Drifting",
45
+ "Dulled",
46
+ "Dusk",
47
+ "Dusted",
48
+ "Ebony",
49
+ "Elder",
50
+ "Ember",
51
+ "Emerald",
52
+ "Ephemeral",
53
+ "Eroded",
54
+ "Eternal",
55
+ "Ethereal",
56
+ "Fading",
57
+ "Ferrous",
58
+ "Fibrous",
59
+ "Flickering",
60
+ "Floating",
61
+ "Forlorn",
62
+ "Forgotten",
63
+ "Forsaken",
64
+ "Fossil",
65
+ "Fractal",
66
+ "Fractured",
67
+ "Frigid",
68
+ "Frozen",
69
+ "Fulgurite",
70
+ "Fused",
71
+ "Garnet",
72
+ "Ghostly",
73
+ "Glacial",
74
+ "Gleaming",
75
+ "Glinting",
76
+ "Glowing",
77
+ "Golden",
78
+ "Granite",
79
+ "Grazing",
80
+ "Grim",
81
+ "Hallowed",
82
+ "Haze",
83
+ "Hidden",
84
+ "Hollow",
85
+ "Hushed",
86
+ "Igneous",
87
+ "Incandescent",
88
+ "Indigo",
89
+ "Infinite",
90
+ "Iridescent",
91
+ "Iron",
92
+ "Ivory",
93
+ "Jade",
94
+ "Kindled",
95
+ "Lapis",
96
+ "Latticed",
97
+ "Leaden",
98
+ "Lingering",
99
+ "Lost",
100
+ "Luminous",
101
+ "Lunar",
102
+ "Lustrous",
103
+ "Magenta",
104
+ "Malachite",
105
+ "Marbled",
106
+ "Mercurial",
107
+ "Midnight",
108
+ "Mineral",
109
+ "Mirrored",
110
+ "Molten",
111
+ "Monolithic",
112
+ "Muted",
113
+ "Nebular",
114
+ "Nocturnal",
115
+ "Obsidian",
116
+ "Ochre",
117
+ "Onyx",
118
+ "Opal",
119
+ "Orbiting",
120
+ "Oxidized",
121
+ "Pale",
122
+ "Pallid",
123
+ "Pearlescent",
124
+ "Petrified",
125
+ "Phantom",
126
+ "Phosphor",
127
+ "Pitted",
128
+ "Polar",
129
+ "Primeval",
130
+ "Primordial",
131
+ "Prismatic",
132
+ "Pulsing",
133
+ "Quartz",
134
+ "Quiet",
135
+ "Radiant",
136
+ "Refracting",
137
+ "Remnant",
138
+ "Riven",
139
+ "Roaming",
140
+ "Roiling",
141
+ "Ruby",
142
+ "Ruined",
143
+ "Rust",
144
+ "Sapphire",
145
+ "Scarlet",
146
+ "Scattered",
147
+ "Scorched",
148
+ "Seething",
149
+ "Shadowed",
150
+ "Shattered",
151
+ "Shimmering",
152
+ "Silent",
153
+ "Silver",
154
+ "Sintered",
155
+ "Slate",
156
+ "Smoldering",
157
+ "Solar",
158
+ "Solemn",
159
+ "Somber",
160
+ "Sorrow",
161
+ "Spectral",
162
+ "Spired",
163
+ "Spiraling",
164
+ "Stark",
165
+ "Steel",
166
+ "Stellar",
167
+ "Stilled",
168
+ "Storm",
169
+ "Stranded",
170
+ "Striated",
171
+ "Stygian",
172
+ "Sullen",
173
+ "Sunken",
174
+ "Sunlit",
175
+ "Swirling",
176
+ "Tarnished",
177
+ "Tempest",
178
+ "Thorned",
179
+ "Tidal",
180
+ "Timeless",
181
+ "Titanium",
182
+ "Topaz",
183
+ "Torrential",
184
+ "Turquoise",
185
+ "Twilight",
186
+ "Umbral",
187
+ "Unbound",
188
+ "Unfathomed",
189
+ "Vagrant",
190
+ "Vanishing",
191
+ "Vaulted",
192
+ "Veiled",
193
+ "Verdant",
194
+ "Vermillion",
195
+ "Violet",
196
+ "Viridian",
197
+ "Void",
198
+ "Volatile",
199
+ "Wandering",
200
+ "Waning",
201
+ "Wasted",
202
+ "Weathered",
203
+ "Whispered",
204
+ "Woven",
205
+ "Wraith",
206
+ "Wretched",
207
+ "Yawning",
208
+ "Yielding",
209
+ "Zenith",
210
+ "Zinc"
211
+ ]
@@ -0,0 +1,151 @@
1
+ [
2
+ "Abyss",
3
+ "Anchor",
4
+ "Anvil",
5
+ "Apex",
6
+ "Arch",
7
+ "Aurora",
8
+ "Basin",
9
+ "Beacon",
10
+ "Bloom",
11
+ "Bough",
12
+ "Briar",
13
+ "Brine",
14
+ "Bulwark",
15
+ "Cairn",
16
+ "Caldera",
17
+ "Canopy",
18
+ "Cascade",
19
+ "Chalice",
20
+ "Chasm",
21
+ "Chorus",
22
+ "Cistern",
23
+ "Citadel",
24
+ "Cloak",
25
+ "Cloud",
26
+ "Coil",
27
+ "Column",
28
+ "Core",
29
+ "Corona",
30
+ "Cradle",
31
+ "Crest",
32
+ "Crown",
33
+ "Crucible",
34
+ "Current",
35
+ "Curtain",
36
+ "Drift",
37
+ "Dusk",
38
+ "Echo",
39
+ "Eddy",
40
+ "Ember",
41
+ "Expanse",
42
+ "Eye",
43
+ "Fathom",
44
+ "Fissure",
45
+ "Fjord",
46
+ "Flare",
47
+ "Fold",
48
+ "Forge",
49
+ "Frontier",
50
+ "Furrow",
51
+ "Gate",
52
+ "Glade",
53
+ "Gorge",
54
+ "Grip",
55
+ "Grotto",
56
+ "Gulf",
57
+ "Gyre",
58
+ "Halo",
59
+ "Haven",
60
+ "Heart",
61
+ "Hearth",
62
+ "Helix",
63
+ "Hollow",
64
+ "Horn",
65
+ "Husk",
66
+ "Inlet",
67
+ "Iris",
68
+ "Jaw",
69
+ "Keel",
70
+ "Knot",
71
+ "Lantern",
72
+ "Lattice",
73
+ "Loom",
74
+ "Mantle",
75
+ "Marrow",
76
+ "Maw",
77
+ "Meridian",
78
+ "Mirage",
79
+ "Monolith",
80
+ "Mote",
81
+ "Nave",
82
+ "Nebula",
83
+ "Nexus",
84
+ "Obelisk",
85
+ "Orbit",
86
+ "Pall",
87
+ "Passage",
88
+ "Petal",
89
+ "Pillar",
90
+ "Pinnacle",
91
+ "Plume",
92
+ "Prism",
93
+ "Prow",
94
+ "Pulse",
95
+ "Pyre",
96
+ "Reach",
97
+ "Remnant",
98
+ "Rib",
99
+ "Ridge",
100
+ "Rift",
101
+ "Root",
102
+ "Sanctum",
103
+ "Seal",
104
+ "Seam",
105
+ "Shard",
106
+ "Shoal",
107
+ "Shroud",
108
+ "Sigil",
109
+ "Sink",
110
+ "Skull",
111
+ "Span",
112
+ "Spar",
113
+ "Spine",
114
+ "Spire",
115
+ "Spoke",
116
+ "Spur",
117
+ "Steeple",
118
+ "Storm",
119
+ "Strand",
120
+ "Surge",
121
+ "Talon",
122
+ "Tendril",
123
+ "Thicket",
124
+ "Thorn",
125
+ "Thread",
126
+ "Threshold",
127
+ "Throat",
128
+ "Tide",
129
+ "Tomb",
130
+ "Torrent",
131
+ "Trench",
132
+ "Trough",
133
+ "Vault",
134
+ "Veil",
135
+ "Vestige",
136
+ "Vigil",
137
+ "Void",
138
+ "Vortex",
139
+ "Wake",
140
+ "Ward",
141
+ "Warden",
142
+ "Weave",
143
+ "Web",
144
+ "Well",
145
+ "Wellspring",
146
+ "Whisper",
147
+ "Wisp",
148
+ "Wraith",
149
+ "Wreath",
150
+ "Zenith"
151
+ ]