@shipload/sdk 2.0.0-rc15 → 2.0.0-rc17

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.m.js CHANGED
@@ -2204,7 +2204,36 @@ function coordsToLocationId(coords) {
2204
2204
  const id = (x << BigInt(32)) | y;
2205
2205
  return UInt64.from(id);
2206
2206
  }
2207
+ const TIER_ADJECTIVES = {
2208
+ 1: 'Crude',
2209
+ 2: 'Dense',
2210
+ 3: 'Pure',
2211
+ 4: 'Prime',
2212
+ 5: 'Pristine',
2213
+ 6: 'Radiant',
2214
+ 7: 'Exotic',
2215
+ 8: 'Mythic',
2216
+ 9: 'Cosmic',
2217
+ 10: 'Ascendant',
2218
+ };
2219
+ const CATEGORY_LABELS = {
2220
+ ore: 'Ore',
2221
+ crystal: 'Crystal',
2222
+ gas: 'Gas',
2223
+ regolith: 'Regolith',
2224
+ biomass: 'Biomass',
2225
+ };
2226
+ function tierNumber(tier) {
2227
+ return Number(String(tier).replace(/^t/i, ''));
2228
+ }
2207
2229
  let Item = class Item extends Struct {
2230
+ get displayName() {
2231
+ if (this.name && this.name.length > 0)
2232
+ return this.name;
2233
+ const adj = TIER_ADJECTIVES[tierNumber(this.tier)] ?? 'Unknown';
2234
+ const cat = CATEGORY_LABELS[this.category] ?? 'Resource';
2235
+ return `${adj} ${cat}`;
2236
+ }
2208
2237
  };
2209
2238
  __decorate([
2210
2239
  Struct.field(UInt16)
@@ -4912,7 +4941,7 @@ const ITEM_ENGINE_T1 = 10100;
4912
4941
  const ITEM_GENERATOR_T1 = 10101;
4913
4942
  const ITEM_GATHERER_T1 = 10102;
4914
4943
  const ITEM_LOADER_T1 = 10103;
4915
- const ITEM_MANUFACTURING_T1 = 10104;
4944
+ const ITEM_CRAFTER_T1 = 10104;
4916
4945
  const ITEM_STORAGE_T1 = 10105;
4917
4946
  const ITEM_HAULER_T1 = 10106;
4918
4947
  const MODULE_ANY = 0;
@@ -4938,7 +4967,7 @@ function getModuleCapabilityType(itemId) {
4938
4967
  return MODULE_GATHERER;
4939
4968
  case ITEM_LOADER_T1:
4940
4969
  return MODULE_LOADER;
4941
- case ITEM_MANUFACTURING_T1:
4970
+ case ITEM_CRAFTER_T1:
4942
4971
  return MODULE_CRAFTER;
4943
4972
  case ITEM_STORAGE_T1:
4944
4973
  return MODULE_STORAGE;
@@ -5077,7 +5106,7 @@ const components = [
5077
5106
  {
5078
5107
  id: ITEM_TOOL_BIT,
5079
5108
  name: 'Tool Bit',
5080
- description: 'Dense regolith cutting head for manufacturing operations.',
5109
+ description: 'Dense regolith cutting head for crafting operations.',
5081
5110
  color: '#C4A57B',
5082
5111
  mass: 30000,
5083
5112
  stats: [
@@ -5085,12 +5114,12 @@ const components = [
5085
5114
  { key: 'composition', source: 'regolith' },
5086
5115
  ],
5087
5116
  recipe: [{ category: 'regolith', quantity: 20 }],
5088
- usedIn: [{ type: 'module', name: 'Manufacturing' }],
5117
+ usedIn: [{ type: 'module', name: 'Crafter' }],
5089
5118
  },
5090
5119
  {
5091
5120
  id: ITEM_REACTION_CHAMBER,
5092
5121
  name: 'Reaction Chamber',
5093
- description: 'Gas-pressurized vessel for controlled manufacturing reactions.',
5122
+ description: 'Gas-pressurized vessel for controlled crafting reactions.',
5094
5123
  color: '#B8E4A0',
5095
5124
  mass: 50000,
5096
5125
  stats: [
@@ -5098,7 +5127,7 @@ const components = [
5098
5127
  { key: 'thermal', source: 'gas' },
5099
5128
  ],
5100
5129
  recipe: [{ category: 'gas', quantity: 32 }],
5101
- usedIn: [{ type: 'module', name: 'Manufacturing' }],
5130
+ usedIn: [{ type: 'module', name: 'Crafter' }],
5102
5131
  },
5103
5132
  {
5104
5133
  id: ITEM_FOCUSING_ARRAY,
@@ -5310,11 +5339,11 @@ const moduleRecipes = [
5310
5339
  ],
5311
5340
  },
5312
5341
  {
5313
- id: 'manufacturing-t1',
5314
- name: 'Manufacturing',
5342
+ id: 'crafter-t1',
5343
+ name: 'Crafter',
5315
5344
  description: 'Basic crafting system. Processes materials using reaction chambers and cutting tools.',
5316
5345
  color: '#B8E4A0',
5317
- itemId: ITEM_MANUFACTURING_T1,
5346
+ itemId: ITEM_CRAFTER_T1,
5318
5347
  moduleType: MODULE_CRAFTER,
5319
5348
  recipe: [
5320
5349
  { itemId: ITEM_TOOL_BIT, quantity: 3 },
@@ -6895,7 +6924,7 @@ class EntityInventory extends Types.cargo_item {
6895
6924
  return this.item;
6896
6925
  }
6897
6926
  get name() {
6898
- return this.item.name;
6927
+ return this.item.displayName;
6899
6928
  }
6900
6929
  get unitMass() {
6901
6930
  return this.item.mass;
@@ -7140,7 +7169,7 @@ function computeLoaderCapabilities(stats) {
7140
7169
  quantity: 1,
7141
7170
  };
7142
7171
  }
7143
- function computeManufacturingCapabilities(stats) {
7172
+ function computeCrafterCapabilities(stats) {
7144
7173
  const rea = stats.reactivity ?? 500;
7145
7174
  const com = stats.composition ?? 500;
7146
7175
  return {
@@ -7251,7 +7280,7 @@ function computeShipCapabilities(modules) {
7251
7280
  let totalSpeed = 0;
7252
7281
  let totalDrain = 0;
7253
7282
  for (const m of crafterModules) {
7254
- const caps = computeManufacturingCapabilities(decodeCraftedItemStats(m.itemId, m.stats));
7283
+ const caps = computeCrafterCapabilities(decodeCraftedItemStats(m.itemId, m.stats));
7255
7284
  totalSpeed += caps.speed;
7256
7285
  totalDrain += caps.drain;
7257
7286
  }
@@ -8325,7 +8354,7 @@ const capabilityNames = [
8325
8354
  'Loader',
8326
8355
  'Gathering',
8327
8356
  'Warp',
8328
- 'Manufacturing',
8357
+ 'Crafter',
8329
8358
  'Launch',
8330
8359
  'Hauler',
8331
8360
  ];
@@ -8343,13 +8372,13 @@ const capabilityAttributes = [
8343
8372
  { capability: 'Gathering', attribute: 'depth', description: 'Maximum gather depth' },
8344
8373
  { capability: 'Gathering', attribute: 'speed', description: 'Gathering speed/penetration' },
8345
8374
  { capability: 'Warp', attribute: 'range', description: 'Maximum warp distance' },
8346
- { capability: 'Manufacturing', attribute: 'speed', description: 'Crafting time per item' },
8375
+ { capability: 'Crafter', attribute: 'speed', description: 'Crafting time per item' },
8347
8376
  {
8348
- capability: 'Manufacturing',
8377
+ capability: 'Crafter',
8349
8378
  attribute: 'drain',
8350
8379
  description: 'Energy consumed per second while crafting',
8351
8380
  },
8352
- { capability: 'Manufacturing', attribute: 'quality', description: 'Modifier on output quality' },
8381
+ { capability: 'Crafter', attribute: 'quality', description: 'Modifier on output quality' },
8353
8382
  { capability: 'Launch', attribute: 'range', description: 'Maximum launch distance' },
8354
8383
  { capability: 'Launch', attribute: 'capacity', description: 'Maximum mass per launch' },
8355
8384
  { capability: 'Launch', attribute: 'drain', description: 'Energy consumed per launch' },
@@ -8444,9 +8473,9 @@ const statMappings = [
8444
8473
  },
8445
8474
  {
8446
8475
  stat: 'Conductivity',
8447
- capability: 'Manufacturing',
8476
+ capability: 'Crafter',
8448
8477
  attribute: 'drain',
8449
- rationale: 'Efficient energy transfer reduces manufacturing energy cost',
8478
+ rationale: 'Efficient energy transfer reduces crafting energy cost',
8450
8479
  },
8451
8480
  {
8452
8481
  stat: 'Conductivity',
@@ -8456,9 +8485,9 @@ const statMappings = [
8456
8485
  },
8457
8486
  {
8458
8487
  stat: 'Ductility',
8459
- capability: 'Manufacturing',
8488
+ capability: 'Crafter',
8460
8489
  attribute: 'quality',
8461
- rationale: 'Precise shaping enables tighter manufacturing tolerances',
8490
+ rationale: 'Precise shaping enables tighter crafting tolerances',
8462
8491
  },
8463
8492
  {
8464
8493
  stat: 'Ductility',
@@ -8516,7 +8545,7 @@ const statMappings = [
8516
8545
  },
8517
8546
  {
8518
8547
  stat: 'Reactivity',
8519
- capability: 'Manufacturing',
8548
+ capability: 'Crafter',
8520
8549
  attribute: 'speed',
8521
8550
  rationale: 'Reactive gases accelerate chemical/thermal processing',
8522
8551
  },
@@ -8534,7 +8563,7 @@ const statMappings = [
8534
8563
  },
8535
8564
  {
8536
8565
  stat: 'Thermal',
8537
- capability: 'Manufacturing',
8566
+ capability: 'Crafter',
8538
8567
  attribute: 'quality',
8539
8568
  rationale: 'Precise thermal control during fabrication',
8540
8569
  },
@@ -8576,7 +8605,7 @@ const statMappings = [
8576
8605
  },
8577
8606
  {
8578
8607
  stat: 'Hardness',
8579
- capability: 'Manufacturing',
8608
+ capability: 'Crafter',
8580
8609
  attribute: 'speed',
8581
8610
  rationale: 'Hard tooling surfaces cut and shape materials faster',
8582
8611
  },
@@ -8594,19 +8623,19 @@ const statMappings = [
8594
8623
  },
8595
8624
  {
8596
8625
  stat: 'Clarity',
8597
- capability: 'Manufacturing',
8626
+ capability: 'Crafter',
8598
8627
  attribute: 'quality',
8599
8628
  rationale: 'Precision optics for calibration during fabrication',
8600
8629
  },
8601
8630
  {
8602
8631
  stat: 'Clarity',
8603
- capability: 'Manufacturing',
8632
+ capability: 'Crafter',
8604
8633
  attribute: 'drain',
8605
8634
  rationale: 'Precision computing optimizes energy routing in factory',
8606
8635
  },
8607
8636
  {
8608
8637
  stat: 'Plasticity',
8609
- capability: 'Manufacturing',
8638
+ capability: 'Crafter',
8610
8639
  attribute: 'speed',
8611
8640
  rationale: 'Easily reshaped materials speed up processing',
8612
8641
  },
@@ -8636,9 +8665,9 @@ const statMappings = [
8636
8665
  },
8637
8666
  {
8638
8667
  stat: 'Insulation',
8639
- capability: 'Manufacturing',
8668
+ capability: 'Crafter',
8640
8669
  attribute: 'drain',
8641
- rationale: 'Better insulation reduces energy loss during manufacturing',
8670
+ rationale: 'Better insulation reduces energy loss during crafting',
8642
8671
  },
8643
8672
  {
8644
8673
  stat: 'Insulation',
@@ -8729,7 +8758,7 @@ function resolveResource(id, stats) {
8729
8758
  }
8730
8759
  return {
8731
8760
  itemId: id,
8732
- name: String(item.name),
8761
+ name: item.displayName,
8733
8762
  icon: categoryIcons[cat] ?? '⬡',
8734
8763
  abbreviation: null,
8735
8764
  category: cat,
@@ -8821,9 +8850,9 @@ function computeCapabilityGroup(moduleType, stats) {
8821
8850
  };
8822
8851
  }
8823
8852
  case MODULE_CRAFTER: {
8824
- const caps = computeManufacturingCapabilities(stats);
8853
+ const caps = computeCrafterCapabilities(stats);
8825
8854
  return {
8826
- capability: 'Manufacturing',
8855
+ capability: 'Crafter',
8827
8856
  attributes: [
8828
8857
  { label: 'Speed', value: caps.speed },
8829
8858
  { label: 'Drain', value: caps.drain },
@@ -8985,8 +9014,8 @@ const TEMPLATES = {
8985
9014
  ],
8986
9015
  highlightKeys: ['quantity', 'thrust', 'mass'],
8987
9016
  },
8988
- manufacturing: {
8989
- id: 'module.manufacturing.description',
9017
+ crafter: {
9018
+ id: 'module.crafter.description',
8990
9019
  template: 'manufactures items at {speed} speed while draining {drain} energy per second',
8991
9020
  params: [
8992
9021
  ['speed', 'Speed'],
@@ -9167,8 +9196,8 @@ function moduleDisplayName(itemId) {
9167
9196
  return 'Gatherer';
9168
9197
  case ITEM_LOADER_T1:
9169
9198
  return 'Loader';
9170
- case ITEM_MANUFACTURING_T1:
9171
- return 'Manufacturing';
9199
+ case ITEM_CRAFTER_T1:
9200
+ return 'Crafter';
9172
9201
  case ITEM_STORAGE_T1:
9173
9202
  return 'Storage';
9174
9203
  default:
@@ -9293,32 +9322,9 @@ function formatMassDelta(kg) {
9293
9322
  return `${sign}${formatMass(Math.abs(kg))}`;
9294
9323
  }
9295
9324
 
9296
- const TIER_ADJECTIVES = {
9297
- 1: 'Crude',
9298
- 2: 'Dense',
9299
- 3: 'Pure',
9300
- 4: 'Prime',
9301
- 5: 'Pristine',
9302
- 6: 'Radiant',
9303
- 7: 'Exotic',
9304
- 8: 'Mythic',
9305
- 9: 'Cosmic',
9306
- 10: 'Ascendant',
9307
- };
9308
- const CATEGORY_LABELS = {
9309
- ore: 'Ore',
9310
- crystal: 'Crystal',
9311
- gas: 'Gas',
9312
- regolith: 'Regolith',
9313
- biomass: 'Biomass',
9314
- };
9315
- function tierNumber(tier) {
9316
- return Number(String(tier).replace(/^t/i, ''));
9317
- }
9318
9325
  function displayName(resolved) {
9319
9326
  if (resolved.itemType === 'resource') {
9320
- const tierNum = tierNumber(resolved.tier);
9321
- const adj = TIER_ADJECTIVES[tierNum] ?? 'Unknown';
9327
+ const adj = TIER_ADJECTIVES[tierNumber(resolved.tier)] ?? 'Unknown';
9322
9328
  const cat = resolved.category ? CATEGORY_LABELS[resolved.category] : 'Resource';
9323
9329
  return `${adj} ${cat}`;
9324
9330
  }
@@ -9337,5 +9343,5 @@ function describeItem(resolved, opts) {
9337
9343
  return `${tier} ${resolved.name} · ${mass}`;
9338
9344
  }
9339
9345
 
9340
- export { ActionsManager, BASE_ORBITAL_MASS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, Container, Coordinates, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, ENTITY_CAPACITY_EXCEEDED, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EntitiesManager, EntityInventory, EntityType, EpochsManager, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GameState, INITIAL_CONTAINER_CAPACITY, INITIAL_CONTAINER_HULLMASS, INITIAL_WAREHOUSE_CAPACITY, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_DOES_NOT_EXIST, ITEM_ENGINE_T1, ITEM_FOCUSING_ARRAY, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_HULL_PLATES, ITEM_HULL_PLATES_T2, ITEM_LOADER_T1, ITEM_MANUFACTURING_T1, ITEM_MATTER_CONDUIT, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_POWER_CELL, ITEM_REACTION_CHAMBER, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_SURVEY_PROBE, ITEM_THRUSTER_CORE, ITEM_TOOL_BIT, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, InventoryAccessor, Item, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, Location, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MODULE_ANY, MODULE_CRAFTER, MODULE_ENGINE, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_STORAGE, MODULE_WARP, index as NFT, NO_SCHEDULE, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PRECISION$1 as PRECISION, platform as PlatformContract, Player, PlayersManager, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CARGO_NOT_LOADED, SHIP_CARGO_NOT_OWNED, SHIP_INVALID_CARGO, SHIP_INVALID_DESTINATION, SHIP_INVALID_TRAVEL_DURATION, SHIP_NOT_ARRIVED, SHIP_NOT_ENOUGH_ENERGY, SHIP_NOT_ENOUGH_ENERGY_CAPACITY, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, ScheduleAccessor, server as ServerContract, Ship, Shipload, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, Warehouse, availableCapacity$1 as availableCapacity, availableCapacityFromMass, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildEntityDescription, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcLoadDuration, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItemToStack, cargoUtils, categoryColors, categoryIconShapes, categoryIcons, categoryItemMass, componentIcon, components, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerDrain, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeManufacturingCapabilities, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationEpoch, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, encodeGatheredCargoStats, encodeStats, energyPercent, entityDisplayName, entityRecipes, estimateDealTravelTime, estimateTravelTime, findNearbyPlanets, formatMass, formatMassDelta, formatModuleLine, getAllCraftableItems, getCapabilityAttributes, getCategoryInfo, getComponentById, getComponentsForCategory, getComponentsForStat, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityRecipe, getEntityRecipeByItemId, getEntitySlotLayout, getEpochInfo, getFlightOrigin, getItem, getItems, getLocationCandidates, getLocationType, getLocationTypeName, getModuleCapabilityType, getModuleRecipe, getModuleRecipeByItemId, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getResourceTier, getResourceWeight, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance$1 as hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, isCraftedItem, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isModuleItem, isRelatedItem, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, makeContainer, makeShip, makeWarehouse, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleRecipes, needsRecharge, projectEntity, projectEntityAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveStats, rollTier, rollWithinTier, rotation, schedule, stackKey, stackToCargoItem, stacksEqual, statMappings, tierColors, tierLabels, toLocation, validateSchedule };
9346
+ export { ActionsManager, BASE_ORBITAL_MASS, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, Container, Coordinates, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, ENTITY_CAPACITY_EXCEEDED, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EntitiesManager, EntityInventory, EntityType, EpochsManager, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GameState, INITIAL_CONTAINER_CAPACITY, INITIAL_CONTAINER_HULLMASS, INITIAL_WAREHOUSE_CAPACITY, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_DOES_NOT_EXIST, ITEM_ENGINE_T1, ITEM_FOCUSING_ARRAY, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_HULL_PLATES, ITEM_HULL_PLATES_T2, ITEM_LOADER_T1, ITEM_MATTER_CONDUIT, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_POWER_CELL, ITEM_REACTION_CHAMBER, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_SURVEY_PROBE, ITEM_THRUSTER_CORE, ITEM_TOOL_BIT, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, InventoryAccessor, Item, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, Location, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MODULE_ANY, MODULE_CRAFTER, MODULE_ENGINE, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_STORAGE, MODULE_WARP, index as NFT, NO_SCHEDULE, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PRECISION$1 as PRECISION, platform as PlatformContract, Player, PlayersManager, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CARGO_NOT_LOADED, SHIP_CARGO_NOT_OWNED, SHIP_INVALID_CARGO, SHIP_INVALID_DESTINATION, SHIP_INVALID_TRAVEL_DURATION, SHIP_NOT_ARRIVED, SHIP_NOT_ENOUGH_ENERGY, SHIP_NOT_ENOUGH_ENERGY_CAPACITY, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, ScheduleAccessor, server as ServerContract, Ship, Shipload, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, Warehouse, availableCapacity$1 as availableCapacity, availableCapacityFromMass, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildEntityDescription, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcLoadDuration, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItemToStack, cargoUtils, categoryColors, categoryIconShapes, categoryIcons, categoryItemMass, componentIcon, components, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerDrain, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationEpoch, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, encodeGatheredCargoStats, encodeStats, energyPercent, entityDisplayName, entityRecipes, estimateDealTravelTime, estimateTravelTime, findNearbyPlanets, formatMass, formatMassDelta, formatModuleLine, getAllCraftableItems, getCapabilityAttributes, getCategoryInfo, getComponentById, getComponentsForCategory, getComponentsForStat, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityRecipe, getEntityRecipeByItemId, getEntitySlotLayout, getEpochInfo, getFlightOrigin, getItem, getItems, getLocationCandidates, getLocationType, getLocationTypeName, getModuleCapabilityType, getModuleRecipe, getModuleRecipeByItemId, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getResourceTier, getResourceWeight, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance$1 as hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, isCraftedItem, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isModuleItem, isRelatedItem, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, makeContainer, makeShip, makeWarehouse, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleRecipes, needsRecharge, projectEntity, projectEntityAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveStats, rollTier, rollWithinTier, rotation, schedule, stackKey, stackToCargoItem, stacksEqual, statMappings, tierColors, tierLabels, tierNumber, toLocation, validateSchedule };
9341
9347
  //# sourceMappingURL=shipload.m.js.map