@shipload/sdk 2.0.0-rc16 → 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.d.ts CHANGED
@@ -2325,7 +2325,7 @@ declare const ITEM_ENGINE_T1 = 10100;
2325
2325
  declare const ITEM_GENERATOR_T1 = 10101;
2326
2326
  declare const ITEM_GATHERER_T1 = 10102;
2327
2327
  declare const ITEM_LOADER_T1 = 10103;
2328
- declare const ITEM_MANUFACTURING_T1 = 10104;
2328
+ declare const ITEM_CRAFTER_T1 = 10104;
2329
2329
  declare const ITEM_STORAGE_T1 = 10105;
2330
2330
  declare const ITEM_HAULER_T1 = 10106;
2331
2331
  declare const MODULE_ANY = 0;
@@ -2527,7 +2527,7 @@ declare function computeLoaderCapabilities(stats: Record<string, number>): {
2527
2527
  thrust: number;
2528
2528
  quantity: number;
2529
2529
  };
2530
- declare function computeManufacturingCapabilities(stats: Record<string, number>): {
2530
+ declare function computeCrafterCapabilities(stats: Record<string, number>): {
2531
2531
  speed: number;
2532
2532
  drain: number;
2533
2533
  };
@@ -2787,4 +2787,4 @@ type location_epoch = Types.location_epoch;
2787
2787
  type location_derived = Types.location_derived;
2788
2788
  type location_row = Types.location_row;
2789
2789
 
2790
- export { ActionsManager, AnyEntity, BASE_ORBITAL_MASS, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ComponentDefinition, ComponentStat, Container, ContainerEntity, ContainerStateInput, Coordinates, CoordinatesType, CraftableItem, CraftedItemCategory, CrafterCapability, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityInventory, EntityRecipe, EntityRefInput, EntityState, EntityType, EntityTypeName, EpochInfo, EpochsManager, EstimateTravelTimeOptions, EstimatedTravelTime, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GameState, GathererCapability, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, 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, LoadTimeBreakdown, LoaderCapability, 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, MassCapability, ModuleDescription, ModuleEntry, ModuleRecipe, ModuleSlot, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, 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, PackedModule, PackedModuleInput, PlanetSubtypeInfo, platform as PlatformContract, Player, PlayerStateInput, PlayersManager, Projectable, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RecipeInput, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, ResourceTier, 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, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, StackInput, StatDefinition, StatMapping, StorageCapability, StratumInfo, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, TextSpan, TierRange, TransferEntity, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, Warehouse, WarehouseEntity, WarehouseStateInput, 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, cargo_item, 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, container_row, 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, energy_stats, entityDisplayName, entityRecipes, estimateDealTravelTime, estimateTravelTime, findNearbyPlanets, formatMass, formatMassDelta, formatModuleLine, gatherer_stats, 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, 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, loader_stats, location_derived, location_epoch, location_row, location_static, makeContainer, makeShip, makeWarehouse, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleRecipes, movement_stats, needsRecharge, projectEntity, projectEntityAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveStats, rollTier, rollWithinTier, rotation, schedule, stackKey, stackToCargoItem, stacksEqual, statMappings, task, tierColors, tierLabels, tierNumber, toLocation, validateSchedule, warehouse_row };
2790
+ export { ActionsManager, AnyEntity, BASE_ORBITAL_MASS, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ComponentDefinition, ComponentStat, Container, ContainerEntity, ContainerStateInput, Coordinates, CoordinatesType, CraftableItem, CraftedItemCategory, CrafterCapability, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityInventory, EntityRecipe, EntityRefInput, EntityState, EntityType, EntityTypeName, EpochInfo, EpochsManager, EstimateTravelTimeOptions, EstimatedTravelTime, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GameState, GathererCapability, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, 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, LoadTimeBreakdown, LoaderCapability, 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, MassCapability, ModuleDescription, ModuleEntry, ModuleRecipe, ModuleSlot, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, 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, PackedModule, PackedModuleInput, PlanetSubtypeInfo, platform as PlatformContract, Player, PlayerStateInput, PlayersManager, Projectable, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RecipeInput, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, ResourceTier, 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, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, StackInput, StatDefinition, StatMapping, StorageCapability, StratumInfo, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, TextSpan, TierRange, TransferEntity, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, Warehouse, WarehouseEntity, WarehouseStateInput, 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, cargo_item, 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, container_row, 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, energy_stats, entityDisplayName, entityRecipes, estimateDealTravelTime, estimateTravelTime, findNearbyPlanets, formatMass, formatMassDelta, formatModuleLine, gatherer_stats, 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, 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, loader_stats, location_derived, location_epoch, location_row, location_static, makeContainer, makeShip, makeWarehouse, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleRecipes, movement_stats, needsRecharge, projectEntity, projectEntityAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveStats, rollTier, rollWithinTier, rotation, schedule, stackKey, stackToCargoItem, stacksEqual, statMappings, task, tierColors, tierLabels, tierNumber, toLocation, validateSchedule, warehouse_row };
package/lib/shipload.js CHANGED
@@ -4949,7 +4949,7 @@ const ITEM_ENGINE_T1 = 10100;
4949
4949
  const ITEM_GENERATOR_T1 = 10101;
4950
4950
  const ITEM_GATHERER_T1 = 10102;
4951
4951
  const ITEM_LOADER_T1 = 10103;
4952
- const ITEM_MANUFACTURING_T1 = 10104;
4952
+ const ITEM_CRAFTER_T1 = 10104;
4953
4953
  const ITEM_STORAGE_T1 = 10105;
4954
4954
  const ITEM_HAULER_T1 = 10106;
4955
4955
  const MODULE_ANY = 0;
@@ -4975,7 +4975,7 @@ function getModuleCapabilityType(itemId) {
4975
4975
  return MODULE_GATHERER;
4976
4976
  case ITEM_LOADER_T1:
4977
4977
  return MODULE_LOADER;
4978
- case ITEM_MANUFACTURING_T1:
4978
+ case ITEM_CRAFTER_T1:
4979
4979
  return MODULE_CRAFTER;
4980
4980
  case ITEM_STORAGE_T1:
4981
4981
  return MODULE_STORAGE;
@@ -5114,7 +5114,7 @@ const components = [
5114
5114
  {
5115
5115
  id: ITEM_TOOL_BIT,
5116
5116
  name: 'Tool Bit',
5117
- description: 'Dense regolith cutting head for manufacturing operations.',
5117
+ description: 'Dense regolith cutting head for crafting operations.',
5118
5118
  color: '#C4A57B',
5119
5119
  mass: 30000,
5120
5120
  stats: [
@@ -5122,12 +5122,12 @@ const components = [
5122
5122
  { key: 'composition', source: 'regolith' },
5123
5123
  ],
5124
5124
  recipe: [{ category: 'regolith', quantity: 20 }],
5125
- usedIn: [{ type: 'module', name: 'Manufacturing' }],
5125
+ usedIn: [{ type: 'module', name: 'Crafter' }],
5126
5126
  },
5127
5127
  {
5128
5128
  id: ITEM_REACTION_CHAMBER,
5129
5129
  name: 'Reaction Chamber',
5130
- description: 'Gas-pressurized vessel for controlled manufacturing reactions.',
5130
+ description: 'Gas-pressurized vessel for controlled crafting reactions.',
5131
5131
  color: '#B8E4A0',
5132
5132
  mass: 50000,
5133
5133
  stats: [
@@ -5135,7 +5135,7 @@ const components = [
5135
5135
  { key: 'thermal', source: 'gas' },
5136
5136
  ],
5137
5137
  recipe: [{ category: 'gas', quantity: 32 }],
5138
- usedIn: [{ type: 'module', name: 'Manufacturing' }],
5138
+ usedIn: [{ type: 'module', name: 'Crafter' }],
5139
5139
  },
5140
5140
  {
5141
5141
  id: ITEM_FOCUSING_ARRAY,
@@ -5347,11 +5347,11 @@ const moduleRecipes = [
5347
5347
  ],
5348
5348
  },
5349
5349
  {
5350
- id: 'manufacturing-t1',
5351
- name: 'Manufacturing',
5350
+ id: 'crafter-t1',
5351
+ name: 'Crafter',
5352
5352
  description: 'Basic crafting system. Processes materials using reaction chambers and cutting tools.',
5353
5353
  color: '#B8E4A0',
5354
- itemId: ITEM_MANUFACTURING_T1,
5354
+ itemId: ITEM_CRAFTER_T1,
5355
5355
  moduleType: MODULE_CRAFTER,
5356
5356
  recipe: [
5357
5357
  { itemId: ITEM_TOOL_BIT, quantity: 3 },
@@ -7177,7 +7177,7 @@ function computeLoaderCapabilities(stats) {
7177
7177
  quantity: 1,
7178
7178
  };
7179
7179
  }
7180
- function computeManufacturingCapabilities(stats) {
7180
+ function computeCrafterCapabilities(stats) {
7181
7181
  const rea = stats.reactivity ?? 500;
7182
7182
  const com = stats.composition ?? 500;
7183
7183
  return {
@@ -7288,7 +7288,7 @@ function computeShipCapabilities(modules) {
7288
7288
  let totalSpeed = 0;
7289
7289
  let totalDrain = 0;
7290
7290
  for (const m of crafterModules) {
7291
- const caps = computeManufacturingCapabilities(decodeCraftedItemStats(m.itemId, m.stats));
7291
+ const caps = computeCrafterCapabilities(decodeCraftedItemStats(m.itemId, m.stats));
7292
7292
  totalSpeed += caps.speed;
7293
7293
  totalDrain += caps.drain;
7294
7294
  }
@@ -8362,7 +8362,7 @@ const capabilityNames = [
8362
8362
  'Loader',
8363
8363
  'Gathering',
8364
8364
  'Warp',
8365
- 'Manufacturing',
8365
+ 'Crafter',
8366
8366
  'Launch',
8367
8367
  'Hauler',
8368
8368
  ];
@@ -8380,13 +8380,13 @@ const capabilityAttributes = [
8380
8380
  { capability: 'Gathering', attribute: 'depth', description: 'Maximum gather depth' },
8381
8381
  { capability: 'Gathering', attribute: 'speed', description: 'Gathering speed/penetration' },
8382
8382
  { capability: 'Warp', attribute: 'range', description: 'Maximum warp distance' },
8383
- { capability: 'Manufacturing', attribute: 'speed', description: 'Crafting time per item' },
8383
+ { capability: 'Crafter', attribute: 'speed', description: 'Crafting time per item' },
8384
8384
  {
8385
- capability: 'Manufacturing',
8385
+ capability: 'Crafter',
8386
8386
  attribute: 'drain',
8387
8387
  description: 'Energy consumed per second while crafting',
8388
8388
  },
8389
- { capability: 'Manufacturing', attribute: 'quality', description: 'Modifier on output quality' },
8389
+ { capability: 'Crafter', attribute: 'quality', description: 'Modifier on output quality' },
8390
8390
  { capability: 'Launch', attribute: 'range', description: 'Maximum launch distance' },
8391
8391
  { capability: 'Launch', attribute: 'capacity', description: 'Maximum mass per launch' },
8392
8392
  { capability: 'Launch', attribute: 'drain', description: 'Energy consumed per launch' },
@@ -8481,9 +8481,9 @@ const statMappings = [
8481
8481
  },
8482
8482
  {
8483
8483
  stat: 'Conductivity',
8484
- capability: 'Manufacturing',
8484
+ capability: 'Crafter',
8485
8485
  attribute: 'drain',
8486
- rationale: 'Efficient energy transfer reduces manufacturing energy cost',
8486
+ rationale: 'Efficient energy transfer reduces crafting energy cost',
8487
8487
  },
8488
8488
  {
8489
8489
  stat: 'Conductivity',
@@ -8493,9 +8493,9 @@ const statMappings = [
8493
8493
  },
8494
8494
  {
8495
8495
  stat: 'Ductility',
8496
- capability: 'Manufacturing',
8496
+ capability: 'Crafter',
8497
8497
  attribute: 'quality',
8498
- rationale: 'Precise shaping enables tighter manufacturing tolerances',
8498
+ rationale: 'Precise shaping enables tighter crafting tolerances',
8499
8499
  },
8500
8500
  {
8501
8501
  stat: 'Ductility',
@@ -8553,7 +8553,7 @@ const statMappings = [
8553
8553
  },
8554
8554
  {
8555
8555
  stat: 'Reactivity',
8556
- capability: 'Manufacturing',
8556
+ capability: 'Crafter',
8557
8557
  attribute: 'speed',
8558
8558
  rationale: 'Reactive gases accelerate chemical/thermal processing',
8559
8559
  },
@@ -8571,7 +8571,7 @@ const statMappings = [
8571
8571
  },
8572
8572
  {
8573
8573
  stat: 'Thermal',
8574
- capability: 'Manufacturing',
8574
+ capability: 'Crafter',
8575
8575
  attribute: 'quality',
8576
8576
  rationale: 'Precise thermal control during fabrication',
8577
8577
  },
@@ -8613,7 +8613,7 @@ const statMappings = [
8613
8613
  },
8614
8614
  {
8615
8615
  stat: 'Hardness',
8616
- capability: 'Manufacturing',
8616
+ capability: 'Crafter',
8617
8617
  attribute: 'speed',
8618
8618
  rationale: 'Hard tooling surfaces cut and shape materials faster',
8619
8619
  },
@@ -8631,19 +8631,19 @@ const statMappings = [
8631
8631
  },
8632
8632
  {
8633
8633
  stat: 'Clarity',
8634
- capability: 'Manufacturing',
8634
+ capability: 'Crafter',
8635
8635
  attribute: 'quality',
8636
8636
  rationale: 'Precision optics for calibration during fabrication',
8637
8637
  },
8638
8638
  {
8639
8639
  stat: 'Clarity',
8640
- capability: 'Manufacturing',
8640
+ capability: 'Crafter',
8641
8641
  attribute: 'drain',
8642
8642
  rationale: 'Precision computing optimizes energy routing in factory',
8643
8643
  },
8644
8644
  {
8645
8645
  stat: 'Plasticity',
8646
- capability: 'Manufacturing',
8646
+ capability: 'Crafter',
8647
8647
  attribute: 'speed',
8648
8648
  rationale: 'Easily reshaped materials speed up processing',
8649
8649
  },
@@ -8673,9 +8673,9 @@ const statMappings = [
8673
8673
  },
8674
8674
  {
8675
8675
  stat: 'Insulation',
8676
- capability: 'Manufacturing',
8676
+ capability: 'Crafter',
8677
8677
  attribute: 'drain',
8678
- rationale: 'Better insulation reduces energy loss during manufacturing',
8678
+ rationale: 'Better insulation reduces energy loss during crafting',
8679
8679
  },
8680
8680
  {
8681
8681
  stat: 'Insulation',
@@ -8858,9 +8858,9 @@ function computeCapabilityGroup(moduleType, stats) {
8858
8858
  };
8859
8859
  }
8860
8860
  case MODULE_CRAFTER: {
8861
- const caps = computeManufacturingCapabilities(stats);
8861
+ const caps = computeCrafterCapabilities(stats);
8862
8862
  return {
8863
- capability: 'Manufacturing',
8863
+ capability: 'Crafter',
8864
8864
  attributes: [
8865
8865
  { label: 'Speed', value: caps.speed },
8866
8866
  { label: 'Drain', value: caps.drain },
@@ -9022,8 +9022,8 @@ const TEMPLATES = {
9022
9022
  ],
9023
9023
  highlightKeys: ['quantity', 'thrust', 'mass'],
9024
9024
  },
9025
- manufacturing: {
9026
- id: 'module.manufacturing.description',
9025
+ crafter: {
9026
+ id: 'module.crafter.description',
9027
9027
  template: 'manufactures items at {speed} speed while draining {drain} energy per second',
9028
9028
  params: [
9029
9029
  ['speed', 'Speed'],
@@ -9204,8 +9204,8 @@ function moduleDisplayName(itemId) {
9204
9204
  return 'Gatherer';
9205
9205
  case ITEM_LOADER_T1:
9206
9206
  return 'Loader';
9207
- case ITEM_MANUFACTURING_T1:
9208
- return 'Manufacturing';
9207
+ case ITEM_CRAFTER_T1:
9208
+ return 'Crafter';
9209
9209
  case ITEM_STORAGE_T1:
9210
9210
  return 'Storage';
9211
9211
  default:
@@ -9392,6 +9392,7 @@ exports.ITEM_CARGO_LINING = ITEM_CARGO_LINING;
9392
9392
  exports.ITEM_CARGO_LINING_T2 = ITEM_CARGO_LINING_T2;
9393
9393
  exports.ITEM_CONTAINER_T1_PACKED = ITEM_CONTAINER_T1_PACKED;
9394
9394
  exports.ITEM_CONTAINER_T2_PACKED = ITEM_CONTAINER_T2_PACKED;
9395
+ exports.ITEM_CRAFTER_T1 = ITEM_CRAFTER_T1;
9395
9396
  exports.ITEM_DOES_NOT_EXIST = ITEM_DOES_NOT_EXIST;
9396
9397
  exports.ITEM_ENGINE_T1 = ITEM_ENGINE_T1;
9397
9398
  exports.ITEM_FOCUSING_ARRAY = ITEM_FOCUSING_ARRAY;
@@ -9401,7 +9402,6 @@ exports.ITEM_HAULER_T1 = ITEM_HAULER_T1;
9401
9402
  exports.ITEM_HULL_PLATES = ITEM_HULL_PLATES;
9402
9403
  exports.ITEM_HULL_PLATES_T2 = ITEM_HULL_PLATES_T2;
9403
9404
  exports.ITEM_LOADER_T1 = ITEM_LOADER_T1;
9404
- exports.ITEM_MANUFACTURING_T1 = ITEM_MANUFACTURING_T1;
9405
9405
  exports.ITEM_MATTER_CONDUIT = ITEM_MATTER_CONDUIT;
9406
9406
  exports.ITEM_NOT_AVAILABLE_AT_LOCATION = ITEM_NOT_AVAILABLE_AT_LOCATION;
9407
9407
  exports.ITEM_POWER_CELL = ITEM_POWER_CELL;
@@ -9541,6 +9541,7 @@ exports.computeComponentStats = computeComponentStats;
9541
9541
  exports.computeContainerCapabilities = computeContainerCapabilities;
9542
9542
  exports.computeContainerT2Capabilities = computeContainerT2Capabilities;
9543
9543
  exports.computeCraftedOutputStats = computeCraftedOutputStats;
9544
+ exports.computeCrafterCapabilities = computeCrafterCapabilities;
9544
9545
  exports.computeCrafterDrain = computeCrafterDrain;
9545
9546
  exports.computeCrafterSpeed = computeCrafterSpeed;
9546
9547
  exports.computeEngineCapabilities = computeEngineCapabilities;
@@ -9562,7 +9563,6 @@ exports.computeInputMass = computeInputMass;
9562
9563
  exports.computeLoaderCapabilities = computeLoaderCapabilities;
9563
9564
  exports.computeLoaderMass = computeLoaderMass;
9564
9565
  exports.computeLoaderThrust = computeLoaderThrust;
9565
- exports.computeManufacturingCapabilities = computeManufacturingCapabilities;
9566
9566
  exports.computeShipCapabilities = computeShipCapabilities;
9567
9567
  exports.computeShipHullCapabilities = computeShipHullCapabilities;
9568
9568
  exports.computeStorageCapabilities = computeStorageCapabilities;