@shipload/sdk 1.0.0-next.27 → 1.0.0-next.28

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
@@ -3033,7 +3033,7 @@ const ITEM_SENSOR = 10006;
3033
3033
  const ITEM_POLYMER = 10007;
3034
3034
  const ITEM_CERAMIC = 10008;
3035
3035
  const ITEM_REACTOR = 10009;
3036
- const ITEM_EMITTER = 10010;
3036
+ const ITEM_RESIN = 10010;
3037
3037
  const ITEM_ENGINE_T1 = 10100;
3038
3038
  const ITEM_GENERATOR_T1 = 10101;
3039
3039
  const ITEM_GATHERER_T1 = 10102;
@@ -3108,8 +3108,8 @@ var recipes = [
3108
3108
  {
3109
3109
  sources: [
3110
3110
  {
3111
- inputIndex: 1,
3112
- statIndex: 2
3111
+ inputIndex: 0,
3112
+ statIndex: 0
3113
3113
  }
3114
3114
  ]
3115
3115
  }
@@ -3156,7 +3156,7 @@ var recipes = [
3156
3156
  quantity: 6
3157
3157
  },
3158
3158
  {
3159
- itemId: 501,
3159
+ itemId: 101,
3160
3160
  quantity: 9
3161
3161
  }
3162
3162
  ],
@@ -3344,11 +3344,11 @@ var recipes = [
3344
3344
  outputMass: 6000,
3345
3345
  inputs: [
3346
3346
  {
3347
- itemId: 201,
3347
+ itemId: 501,
3348
3348
  quantity: 6
3349
3349
  },
3350
3350
  {
3351
- itemId: 101,
3351
+ itemId: 201,
3352
3352
  quantity: 9
3353
3353
  }
3354
3354
  ],
@@ -3357,7 +3357,7 @@ var recipes = [
3357
3357
  sources: [
3358
3358
  {
3359
3359
  inputIndex: 0,
3360
- statIndex: 0
3360
+ statIndex: 2
3361
3361
  }
3362
3362
  ]
3363
3363
  },
@@ -3365,7 +3365,7 @@ var recipes = [
3365
3365
  sources: [
3366
3366
  {
3367
3367
  inputIndex: 0,
3368
- statIndex: 1
3368
+ statIndex: 0
3369
3369
  }
3370
3370
  ]
3371
3371
  }
@@ -3623,7 +3623,7 @@ var recipes = [
3623
3623
  sources: [
3624
3624
  {
3625
3625
  inputIndex: 1,
3626
- statIndex: 0
3626
+ statIndex: 1
3627
3627
  }
3628
3628
  ]
3629
3629
  },
@@ -3644,7 +3644,7 @@ var recipes = [
3644
3644
  outputMass: 1400000,
3645
3645
  inputs: [
3646
3646
  {
3647
- itemId: 10010,
3647
+ itemId: 10004,
3648
3648
  quantity: 300
3649
3649
  },
3650
3650
  {
@@ -3657,7 +3657,7 @@ var recipes = [
3657
3657
  sources: [
3658
3658
  {
3659
3659
  inputIndex: 0,
3660
- statIndex: 1
3660
+ statIndex: 0
3661
3661
  },
3662
3662
  {
3663
3663
  inputIndex: 1,
@@ -4910,9 +4910,9 @@ const itemMetadata = {
4910
4910
  color: '#B877FF',
4911
4911
  },
4912
4912
  10010: {
4913
- name: 'Emitter',
4914
- description: 'Precision-formed crystal emitter array. Routes energy efficiently to a target lock.',
4915
- color: '#4ADBFF',
4913
+ name: 'Resin',
4914
+ description: 'Saturated organic binder cured from biomass. A pliable matrix for haulage and field components.',
4915
+ color: '#5A8B3E',
4916
4916
  },
4917
4917
  10100: {
4918
4918
  name: 'Engine',
@@ -9157,10 +9157,10 @@ const GAS_STATS = [
9157
9157
  ];
9158
9158
  const REGOLITH_STATS = [
9159
9159
  {
9160
- key: 'composition',
9161
- label: 'Composition',
9162
- abbreviation: 'COM',
9163
- purpose: 'Mineral/metal mix drives sensor, chip, and optic crafting quality',
9160
+ key: 'cohesion',
9161
+ label: 'Cohesion',
9162
+ abbreviation: 'COH',
9163
+ purpose: 'Binding strength of the loose aggregate; higher cohesion yields more rigid frames and hulls',
9164
9164
  },
9165
9165
  {
9166
9166
  key: 'hardness',
@@ -9492,6 +9492,19 @@ function encodeGatheredCargoStats(depositSeed) {
9492
9492
  return UInt64.from(encodeStats([raw.stat1, raw.stat2, raw.stat3]));
9493
9493
  }
9494
9494
 
9495
+ const STAR_STEP = 250;
9496
+ const MAX_STARS_PER_STAT = 3;
9497
+ const MAX_STAR_RATING = MAX_STARS_PER_STAT * 3;
9498
+ function starsForStat(value) {
9499
+ return Math.max(0, Math.min(MAX_STARS_PER_STAT, Math.floor(value / STAR_STEP)));
9500
+ }
9501
+ function starRating(stat1, stat2, stat3) {
9502
+ return starsForStat(stat1) + starsForStat(stat2) + starsForStat(stat3);
9503
+ }
9504
+ function statMagnitude(stat1, stat2, stat3) {
9505
+ return stat1 + stat2 + stat3;
9506
+ }
9507
+
9495
9508
  class LocationsManager extends BaseManager {
9496
9509
  async hasSystem(location) {
9497
9510
  const game = await this.getGame();
@@ -12309,7 +12322,7 @@ function computeBaseHullmass$1(stats) {
12309
12322
  return 100000 - 75 * stats.density;
12310
12323
  }
12311
12324
  function computeShipHullCapabilities(stats) {
12312
- const statSum = stats.strength + stats.hardness + stats.saturation;
12325
+ const statSum = stats.strength + stats.hardness + stats.cohesion;
12313
12326
  const exponent = statSum / 2997.0;
12314
12327
  return {
12315
12328
  hullmass: computeBaseHullmass$1(stats),
@@ -12381,11 +12394,11 @@ function computeCrafterCapabilities(stats) {
12381
12394
  }
12382
12395
  function computeHaulerCapabilities(stats) {
12383
12396
  const resonance = stats.resonance;
12384
- const conductivity = stats.conductivity;
12397
+ const plasticity = stats.plasticity;
12385
12398
  const reflectivity = stats.reflectivity;
12386
12399
  return {
12387
12400
  capacity: Math.max(1, 1 + Math.floor(resonance / 400)),
12388
- efficiency: 2000 + conductivity * 6,
12401
+ efficiency: 2000 + plasticity * 6,
12389
12402
  drain: Math.max(3, 15 - Math.floor(reflectivity / 80)),
12390
12403
  };
12391
12404
  }
@@ -12393,8 +12406,8 @@ function computeStorageCapabilities(stats, baseCapacity) {
12393
12406
  const strength = stats.strength;
12394
12407
  const density = stats.density;
12395
12408
  const hardness = stats.hardness;
12396
- const saturation = stats.saturation;
12397
- const statSum = strength + density + hardness + saturation;
12409
+ const cohesion = stats.cohesion;
12410
+ const statSum = strength + density + hardness + cohesion;
12398
12411
  const capacityBonus = Math.floor((baseCapacity * (10 + Math.floor((statSum * 10) / 2997))) / 100);
12399
12412
  return { capacityBonus };
12400
12413
  }
@@ -12415,11 +12428,11 @@ function computeBaseCapacity(itemId, stats) {
12415
12428
  }
12416
12429
  }
12417
12430
  function computeWarpCapabilities(stats) {
12418
- const res = stats.resonance;
12419
- return { range: 100 + res * 3 };
12431
+ const resonance = stats.resonance;
12432
+ return { range: 100 + resonance * 3 };
12420
12433
  }
12421
12434
  function computeWarehouseHullCapabilities(stats) {
12422
- const statSum = stats.strength + stats.hardness + stats.saturation;
12435
+ const statSum = stats.strength + stats.hardness + stats.cohesion;
12423
12436
  const exponent = statSum / 2997.0;
12424
12437
  return {
12425
12438
  hullmass: computeBaseHullmass$1(stats),
@@ -12570,7 +12583,7 @@ function computeEntityCapabilities(stats, itemId, modules, layout) {
12570
12583
  return result;
12571
12584
  }
12572
12585
  function computeContainerCapabilities(stats) {
12573
- const statSum = stats.strength + stats.hardness + stats.saturation;
12586
+ const statSum = stats.strength + stats.hardness + stats.cohesion;
12574
12587
  const exponent = statSum / 2997.0;
12575
12588
  return {
12576
12589
  hullmass: computeBaseHullmass$1(stats),
@@ -12581,9 +12594,9 @@ function computeContainerT2Capabilities(stats) {
12581
12594
  const strength = stats.strength;
12582
12595
  const density = stats.density;
12583
12596
  const hardness = stats.hardness;
12584
- const saturation = stats.saturation;
12597
+ const cohesion = stats.cohesion;
12585
12598
  const hullmass = 70000 - 50 * density;
12586
- const statSum = strength + hardness + saturation;
12599
+ const statSum = strength + hardness + cohesion;
12587
12600
  const exponent = statSum / 2947;
12588
12601
  const capacity = Math.floor(24000000 * 6 ** exponent);
12589
12602
  return { hullmass, capacity };
@@ -12618,7 +12631,7 @@ const ZERO_HULL_STATS = {
12618
12631
  density: 0,
12619
12632
  strength: 0,
12620
12633
  hardness: 0,
12621
- saturation: 0,
12634
+ cohesion: 0,
12622
12635
  };
12623
12636
  function makeEntity(packedItemId, state) {
12624
12637
  const template = getTemplateMeta(packedItemId);
@@ -13963,7 +13976,7 @@ const itemAbbreviations = {
13963
13976
  10007: 'PM',
13964
13977
  10008: 'CR',
13965
13978
  10009: 'RX',
13966
- 10010: 'EM',
13979
+ 10010: 'RE',
13967
13980
  10100: 'EN',
13968
13981
  10101: 'GN',
13969
13982
  10102: 'EX',
@@ -14455,8 +14468,8 @@ function computeCapabilityGroup(moduleType, stats, tier) {
14455
14468
  const str = stats.strength;
14456
14469
  const den = stats.density;
14457
14470
  const hrd = stats.hardness;
14458
- const sat = stats.saturation;
14459
- const statSum = str + den + hrd + sat;
14471
+ const com = stats.cohesion;
14472
+ const statSum = str + den + hrd + com;
14460
14473
  const pct = 10 + Math.floor((statSum * 10) / 2997);
14461
14474
  return { capability: 'Storage', attributes: [{ label: 'Capacity Bonus', value: pct }] };
14462
14475
  }
@@ -14824,9 +14837,9 @@ function formatModuleLine(slot, itemId, stats) {
14824
14837
  }
14825
14838
  case MODULE_HAULER: {
14826
14839
  const res = decodeStat(stats, 0);
14827
- const con = decodeStat(stats, 1);
14840
+ const pla = decodeStat(stats, 1);
14828
14841
  const ref = decodeStat(stats, 2);
14829
- out += ` Capacity ${computeHaulerCapacity(res)} Efficiency ${computeHaulerEfficiency(con)} Drain ${computeHaulerDrain(ref)}`;
14842
+ out += ` Capacity ${computeHaulerCapacity(res)} Efficiency ${computeHaulerEfficiency(pla)} Drain ${computeHaulerDrain(ref)}`;
14830
14843
  break;
14831
14844
  }
14832
14845
  case MODULE_WARP: {
@@ -14983,21 +14996,23 @@ function buildModuleImmutable(itemId, quantity, stats, originX, originY) {
14983
14996
  }
14984
14997
  case MODULE_CRAFTER: {
14985
14998
  const rea = decodeStat(stats, 0);
14986
- const com = decodeStat(stats, 1);
14999
+ const fin = decodeStat(stats, 1);
14987
15000
  base.push({ first: 'reactivity', second: ['uint16', rea] });
14988
- base.push({ first: 'composition', second: ['uint16', com] });
15001
+ base.push({ first: 'fineness', second: ['uint16', fin] });
14989
15002
  base.push({ first: 'speed', second: ['uint16', computeCrafterSpeed(rea)] });
14990
- base.push({ first: 'drain', second: ['uint16', computeCrafterDrain(com)] });
15003
+ base.push({ first: 'drain', second: ['uint16', computeCrafterDrain(fin)] });
14991
15004
  break;
14992
15005
  }
14993
15006
  case MODULE_STORAGE: {
14994
15007
  const str = decodeStat(stats, 0);
14995
- const fin = decodeStat(stats, 1);
14996
- const sat = decodeStat(stats, 2);
14997
- const sum = str + fin + sat;
15008
+ const den = decodeStat(stats, 1);
15009
+ const hrd = decodeStat(stats, 2);
15010
+ const com = decodeStat(stats, 3);
15011
+ const sum = str + den + hrd + com;
14998
15012
  base.push({ first: 'strength', second: ['uint16', str] });
14999
- base.push({ first: 'fineness', second: ['uint16', fin] });
15000
- base.push({ first: 'saturation', second: ['uint16', sat] });
15013
+ base.push({ first: 'density', second: ['uint16', den] });
15014
+ base.push({ first: 'hardness', second: ['uint16', hrd] });
15015
+ base.push({ first: 'cohesion', second: ['uint16', com] });
15001
15016
  base.push({
15002
15017
  first: 'capacity_bonus_pct',
15003
15018
  second: ['uint16', 10 + Math.floor((sum * 10) / 2997)],
@@ -15006,13 +15021,13 @@ function buildModuleImmutable(itemId, quantity, stats, originX, originY) {
15006
15021
  }
15007
15022
  case MODULE_HAULER: {
15008
15023
  const res = decodeStat(stats, 0);
15009
- const con = decodeStat(stats, 1);
15024
+ const pla = decodeStat(stats, 1);
15010
15025
  const ref = decodeStat(stats, 2);
15011
15026
  base.push({ first: 'resonance', second: ['uint16', res] });
15012
- base.push({ first: 'conductivity', second: ['uint16', con] });
15027
+ base.push({ first: 'plasticity', second: ['uint16', pla] });
15013
15028
  base.push({ first: 'reflectivity', second: ['uint16', ref] });
15014
15029
  base.push({ first: 'capacity', second: ['uint8', computeHaulerCapacity(res)] });
15015
- base.push({ first: 'efficiency', second: ['uint16', computeHaulerEfficiency(con)] });
15030
+ base.push({ first: 'efficiency', second: ['uint16', computeHaulerEfficiency(pla)] });
15016
15031
  base.push({ first: 'drain', second: ['uint16', computeHaulerDrain(ref)] });
15017
15032
  break;
15018
15033
  }
@@ -15182,5 +15197,5 @@ function describeItem(resolved, opts) {
15182
15197
  return `${tier} ${resolved.name} · ${mass}`;
15183
15198
  }
15184
15199
 
15185
- export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, ActionsManager, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, ConstructionManager, Coordinates, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EntitiesManager, Entity, EntityClass, EntityInventory, EpochsManager, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BEAM, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_CERAMIC, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_EMITTER, ITEM_ENGINE_T1, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_LOADER_T1, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_REACTOR, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESONATOR, ITEM_SENSOR, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, InventoryAccessor, LANE_BARRIER, LANE_MOBILITY, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, Location, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, MODULE_BATTERY, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, index as NFT, NO_SCHEDULE, NftManager, PLANETARY_STRUCTURE_Z, 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, PLAYER_NOT_JOINED, PRECISION$1 as PRECISION, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayersManager, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, ScheduleAccessor, server as ServerContract, Types as ServerTypes, Shipload, SubscriptionsManager, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WebSocketConnection, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, allBuildableItems, allPlotBuildableItems, availableBuildMethods, availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, 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, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoReadyAt, cargoRef, cargoUtils, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAtomicAsset, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyAtTime, energyPercent, entityDisplayName, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isBuildable, isContainer, isCraftedItem, isExtractor, isFactory, isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, laneKeyForModule, lerp$1 as lerp, makeEntity, mapEntity, maxCraftable, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, rawScheduleEnd, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateSchedule, workerLaneKey, yieldThresholdAt };
15200
+ export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, ActionsManager, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, ConstructionManager, Coordinates, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EntitiesManager, Entity, EntityClass, EntityInventory, EpochsManager, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BEAM, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_CERAMIC, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_ENGINE_T1, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_LOADER_T1, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_REACTOR, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESONATOR, ITEM_SENSOR, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, InventoryAccessor, LANE_BARRIER, LANE_MOBILITY, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, Location, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, MODULE_BATTERY, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, index as NFT, NO_SCHEDULE, NftManager, PLANETARY_STRUCTURE_Z, 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, PLAYER_NOT_JOINED, PRECISION$1 as PRECISION, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayersManager, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScheduleAccessor, server as ServerContract, Types as ServerTypes, Shipload, SubscriptionsManager, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WebSocketConnection, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, allBuildableItems, allPlotBuildableItems, availableBuildMethods, availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, 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, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoReadyAt, cargoRef, cargoUtils, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAtomicAsset, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyAtTime, energyPercent, entityDisplayName, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isBuildable, isContainer, isCraftedItem, isExtractor, isFactory, isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, laneKeyForModule, lerp$1 as lerp, makeEntity, mapEntity, maxCraftable, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, rawScheduleEnd, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateSchedule, workerLaneKey, yieldThresholdAt };
15186
15201
  //# sourceMappingURL=shipload.m.js.map