@shipload/sdk 1.0.0-next.7 → 1.0.0-next.9
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 +160 -23
- package/lib/shipload.js +545 -47
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +521 -47
- package/lib/shipload.m.js.map +1 -1
- package/package.json +2 -2
- package/src/capabilities/storage.ts +1 -1
- package/src/contracts/server.ts +62 -1
- package/src/data/capability-formulas.ts +2 -0
- package/src/data/entities.json +33 -10
- package/src/data/item-ids.ts +1 -0
- package/src/data/items.json +6 -0
- package/src/data/metadata.ts +7 -0
- package/src/data/recipes-runtime.ts +1 -0
- package/src/data/recipes.json +49 -0
- package/src/derivation/capability-mappings.ts +2 -0
- package/src/entities/extractor.ts +144 -0
- package/src/entities/makers.ts +71 -20
- package/src/entities/ship-deploy.ts +35 -14
- package/src/entities/slot-multiplier.ts +21 -0
- package/src/entities/warehouse.ts +12 -3
- package/src/index-module.ts +27 -1
- package/src/managers/actions.ts +7 -0
- package/src/nft/description.ts +5 -0
- package/src/resolution/resolve-item.ts +3 -0
- package/src/scheduling/task-cargo.ts +47 -0
- package/src/travel/travel.ts +3 -1
- package/src/types/entity-traits.ts +59 -1
- package/src/types.ts +3 -1
- package/src/utils/system.ts +7 -0
package/lib/shipload.d.ts
CHANGED
|
@@ -393,6 +393,7 @@ declare namespace Types {
|
|
|
393
393
|
}
|
|
394
394
|
class slot_def extends Struct {
|
|
395
395
|
type: UInt8;
|
|
396
|
+
output_pct: UInt16;
|
|
396
397
|
}
|
|
397
398
|
class entity_layout extends Struct {
|
|
398
399
|
entity_item_id: UInt16;
|
|
@@ -428,6 +429,27 @@ declare namespace Types {
|
|
|
428
429
|
class enum_result extends Struct {
|
|
429
430
|
members: enum_member[];
|
|
430
431
|
}
|
|
432
|
+
class extractor_row extends Struct {
|
|
433
|
+
id: UInt64;
|
|
434
|
+
owner: Name;
|
|
435
|
+
name: string;
|
|
436
|
+
stats: UInt64;
|
|
437
|
+
coordinates: coordinates;
|
|
438
|
+
hullmass?: UInt32;
|
|
439
|
+
capacity?: UInt32;
|
|
440
|
+
energy?: UInt16;
|
|
441
|
+
cargomass: UInt32;
|
|
442
|
+
generator?: energy_stats;
|
|
443
|
+
gatherer?: gatherer_stats;
|
|
444
|
+
loaders?: loader_stats;
|
|
445
|
+
modules: module_entry[];
|
|
446
|
+
schedule?: schedule;
|
|
447
|
+
item_id: UInt16;
|
|
448
|
+
}
|
|
449
|
+
class fixcargomass extends Struct {
|
|
450
|
+
entity_type: Name;
|
|
451
|
+
entity_id: UInt64;
|
|
452
|
+
}
|
|
431
453
|
class gather extends Struct {
|
|
432
454
|
source: entity_ref;
|
|
433
455
|
destination: entity_ref;
|
|
@@ -666,6 +688,10 @@ declare namespace Types {
|
|
|
666
688
|
entity_type: Name;
|
|
667
689
|
id: UInt64;
|
|
668
690
|
}
|
|
691
|
+
class refrshentity extends Struct {
|
|
692
|
+
entity_type: Name;
|
|
693
|
+
entity_id: UInt64;
|
|
694
|
+
}
|
|
669
695
|
class reserve_row extends Struct {
|
|
670
696
|
id: UInt64;
|
|
671
697
|
coord_id: UInt64;
|
|
@@ -849,6 +875,7 @@ declare const TableMap: {
|
|
|
849
875
|
cargo: typeof Types.cargo_row;
|
|
850
876
|
container: typeof Types.container_row;
|
|
851
877
|
entitygroup: typeof Types.entitygroup_row;
|
|
878
|
+
extractor: typeof Types.extractor_row;
|
|
852
879
|
location: typeof Types.location_row;
|
|
853
880
|
nexus: typeof Types.nexus_row;
|
|
854
881
|
nftconfig: typeof Types.nftconfig_row;
|
|
@@ -864,6 +891,7 @@ interface TableTypes {
|
|
|
864
891
|
cargo: Types.cargo_row;
|
|
865
892
|
container: Types.container_row;
|
|
866
893
|
entitygroup: Types.entitygroup_row;
|
|
894
|
+
extractor: Types.extractor_row;
|
|
867
895
|
location: Types.location_row;
|
|
868
896
|
nexus: Types.nexus_row;
|
|
869
897
|
nftconfig: Types.nftconfig_row;
|
|
@@ -1023,6 +1051,10 @@ declare namespace ActionParams {
|
|
|
1023
1051
|
interface enable {
|
|
1024
1052
|
enabled: boolean;
|
|
1025
1053
|
}
|
|
1054
|
+
interface fixcargomass {
|
|
1055
|
+
entity_type: NameType;
|
|
1056
|
+
entity_id: UInt64Type;
|
|
1057
|
+
}
|
|
1026
1058
|
interface gather {
|
|
1027
1059
|
source: Type.entity_ref;
|
|
1028
1060
|
destination: Type.entity_ref;
|
|
@@ -1124,6 +1156,10 @@ declare namespace ActionParams {
|
|
|
1124
1156
|
entity_type: NameType;
|
|
1125
1157
|
id: UInt64Type;
|
|
1126
1158
|
}
|
|
1159
|
+
interface refrshentity {
|
|
1160
|
+
entity_type: NameType;
|
|
1161
|
+
entity_id: UInt64Type;
|
|
1162
|
+
}
|
|
1127
1163
|
interface resolve {
|
|
1128
1164
|
entity_type: NameType;
|
|
1129
1165
|
id: UInt64Type;
|
|
@@ -1221,6 +1257,7 @@ interface ActionNameParams {
|
|
|
1221
1257
|
deploy: ActionParams.deploy;
|
|
1222
1258
|
descentity: ActionParams.descentity;
|
|
1223
1259
|
enable: ActionParams.enable;
|
|
1260
|
+
fixcargomass: ActionParams.fixcargomass;
|
|
1224
1261
|
gather: ActionParams.gather;
|
|
1225
1262
|
getconfig: ActionParams.getconfig;
|
|
1226
1263
|
geteligible: ActionParams.geteligible;
|
|
@@ -1252,6 +1289,7 @@ interface ActionNameParams {
|
|
|
1252
1289
|
join: ActionParams.join;
|
|
1253
1290
|
notify: ActionParams.notify;
|
|
1254
1291
|
recharge: ActionParams.recharge;
|
|
1292
|
+
refrshentity: ActionParams.refrshentity;
|
|
1255
1293
|
resolve: ActionParams.resolve;
|
|
1256
1294
|
rmmodule: ActionParams.rmmodule;
|
|
1257
1295
|
rmnftcfg: ActionParams.rmnftcfg;
|
|
@@ -1444,12 +1482,13 @@ declare const INSUFFICIENT_ITEM_SUPPLY = "Insufficient supply of item at locatio
|
|
|
1444
1482
|
|
|
1445
1483
|
declare const PRECISION = 10000;
|
|
1446
1484
|
declare const CRAFT_ENERGY_DIVISOR = 150000;
|
|
1447
|
-
declare const
|
|
1485
|
+
declare const PLANETARY_STRUCTURE_Z = 0;
|
|
1448
1486
|
declare const CONTAINER_Z = 300;
|
|
1449
1487
|
declare const TRAVEL_MAX_DURATION = 86400;
|
|
1450
1488
|
declare const MIN_ORBITAL_ALTITUDE = 800;
|
|
1451
1489
|
declare const MAX_ORBITAL_ALTITUDE = 3000;
|
|
1452
1490
|
declare const BASE_ORBITAL_MASS = 100000;
|
|
1491
|
+
declare const MIN_TRANSFER_DISTANCE = 100;
|
|
1453
1492
|
interface ShipLike {
|
|
1454
1493
|
coordinates: Types.coordinates;
|
|
1455
1494
|
hullmass?: UInt32;
|
|
@@ -1497,7 +1536,7 @@ declare const EntityType$1: {
|
|
|
1497
1536
|
readonly WAREHOUSE: Name;
|
|
1498
1537
|
readonly CONTAINER: Name;
|
|
1499
1538
|
};
|
|
1500
|
-
type EntityTypeName = (typeof EntityType$1)[keyof typeof EntityType$1];
|
|
1539
|
+
type EntityTypeName$1 = (typeof EntityType$1)[keyof typeof EntityType$1];
|
|
1501
1540
|
type CoordinatesType = Coordinates | Types.coordinates | {
|
|
1502
1541
|
x: Int64Type;
|
|
1503
1542
|
y: Int64Type;
|
|
@@ -1603,6 +1642,7 @@ declare const ITEM_WARP_T1 = 10107;
|
|
|
1603
1642
|
declare const ITEM_CONTAINER_T1_PACKED = 10200;
|
|
1604
1643
|
declare const ITEM_SHIP_T1_PACKED = 10201;
|
|
1605
1644
|
declare const ITEM_WAREHOUSE_T1_PACKED = 10202;
|
|
1645
|
+
declare const ITEM_EXTRACTOR_T1_PACKED = 10203;
|
|
1606
1646
|
declare const ITEM_HULL_PLATES_T2 = 20001;
|
|
1607
1647
|
declare const ITEM_CARGO_LINING_T2 = 20002;
|
|
1608
1648
|
declare const ITEM_CONTAINER_T2_PACKED = 20200;
|
|
@@ -1632,6 +1672,7 @@ interface Recipe {
|
|
|
1632
1672
|
}
|
|
1633
1673
|
interface EntitySlot {
|
|
1634
1674
|
type: ModuleType;
|
|
1675
|
+
outputPct: number;
|
|
1635
1676
|
}
|
|
1636
1677
|
interface EntityLayout {
|
|
1637
1678
|
entityItemId: number;
|
|
@@ -1913,20 +1954,21 @@ type EntityRefInput = {
|
|
|
1913
1954
|
declare class ActionsManager extends BaseManager {
|
|
1914
1955
|
travel(shipId: UInt64Type, destination: CoordinatesType, recharge?: boolean): Action;
|
|
1915
1956
|
grouptravel(entities: EntityRefInput[], destination: CoordinatesType, recharge?: boolean): Action;
|
|
1916
|
-
resolve(entityId: UInt64Type, entityType?: EntityTypeName, count?: UInt64Type): Action;
|
|
1917
|
-
cancel(entityId: UInt64Type, count: UInt64Type, entityType?: EntityTypeName): Action;
|
|
1918
|
-
recharge(entityId: UInt64Type, entityType?: EntityTypeName): Action;
|
|
1919
|
-
|
|
1957
|
+
resolve(entityId: UInt64Type, entityType?: EntityTypeName$1, count?: UInt64Type): Action;
|
|
1958
|
+
cancel(entityId: UInt64Type, count: UInt64Type, entityType?: EntityTypeName$1): Action;
|
|
1959
|
+
recharge(entityId: UInt64Type, entityType?: EntityTypeName$1): Action;
|
|
1960
|
+
refrshentity(entityType: NameType, entityId: UInt64Type): Action;
|
|
1961
|
+
transfer(sourceType: EntityTypeName$1, sourceId: UInt64Type, destType: EntityTypeName$1, destId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
|
|
1920
1962
|
foundCompany(account: NameType, name: string): Action;
|
|
1921
1963
|
join(account: NameType): Action;
|
|
1922
1964
|
gather(source: EntityRefInput, destination: EntityRefInput, stratum: UInt16Type, quantity: UInt32Type): Action;
|
|
1923
|
-
warp(entityId: UInt64Type, destination: CoordinatesType, entityType?: EntityTypeName): Action;
|
|
1924
|
-
craft(entityType: EntityTypeName, entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1925
|
-
blend(entityType: EntityTypeName, entityId: UInt64Type, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1926
|
-
deploy(entityType: EntityTypeName, entityId: UInt64Type, ref: ActionParams.Type.cargo_ref): Action;
|
|
1927
|
-
addmodule(entityType: EntityTypeName, entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
1928
|
-
rmmodule(entityType: EntityTypeName, entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
1929
|
-
wrap(owner: NameType, entityType: EntityTypeName, entityId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
|
|
1965
|
+
warp(entityId: UInt64Type, destination: CoordinatesType, entityType?: EntityTypeName$1): Action;
|
|
1966
|
+
craft(entityType: EntityTypeName$1, entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1967
|
+
blend(entityType: EntityTypeName$1, entityId: UInt64Type, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1968
|
+
deploy(entityType: EntityTypeName$1, entityId: UInt64Type, ref: ActionParams.Type.cargo_ref): Action;
|
|
1969
|
+
addmodule(entityType: EntityTypeName$1, entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
1970
|
+
rmmodule(entityType: EntityTypeName$1, entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
1971
|
+
wrap(owner: NameType, entityType: EntityTypeName$1, entityId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
|
|
1930
1972
|
undeploy(host: EntityRefInput, target: EntityRefInput): Action;
|
|
1931
1973
|
wrapEntity(entity: EntityRefInput): Action;
|
|
1932
1974
|
demolish(entity: EntityRefInput): Action;
|
|
@@ -2499,6 +2541,12 @@ declare class Ship extends Types.entity_info {
|
|
|
2499
2541
|
hasEnergyFor(distance: UInt64): boolean;
|
|
2500
2542
|
}
|
|
2501
2543
|
|
|
2544
|
+
interface InstalledModule {
|
|
2545
|
+
slotIndex: number;
|
|
2546
|
+
itemId: number;
|
|
2547
|
+
stats: bigint;
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2502
2550
|
interface WarehouseStateInput {
|
|
2503
2551
|
id: UInt64Type;
|
|
2504
2552
|
owner: string;
|
|
@@ -2536,10 +2584,7 @@ declare class Warehouse extends Types.entity_info {
|
|
|
2536
2584
|
get orbitalAltitude(): number;
|
|
2537
2585
|
get totalMass(): UInt64;
|
|
2538
2586
|
}
|
|
2539
|
-
declare function computeWarehouseCapabilities(modules: {
|
|
2540
|
-
itemId: number;
|
|
2541
|
-
stats: bigint;
|
|
2542
|
-
}[]): {
|
|
2587
|
+
declare function computeWarehouseCapabilities(modules: InstalledModule[], layout: EntitySlot[]): {
|
|
2543
2588
|
loaders?: {
|
|
2544
2589
|
mass: number;
|
|
2545
2590
|
thrust: number;
|
|
@@ -2731,8 +2776,56 @@ declare class Shipload {
|
|
|
2731
2776
|
getState(reload?: boolean): Promise<GameState>;
|
|
2732
2777
|
}
|
|
2733
2778
|
|
|
2779
|
+
interface ExtractorStateInput {
|
|
2780
|
+
id: UInt64Type;
|
|
2781
|
+
owner: string;
|
|
2782
|
+
name: string;
|
|
2783
|
+
coordinates: CoordinatesType | {
|
|
2784
|
+
x: number;
|
|
2785
|
+
y: number;
|
|
2786
|
+
z?: number;
|
|
2787
|
+
};
|
|
2788
|
+
hullmass?: number;
|
|
2789
|
+
capacity?: number;
|
|
2790
|
+
energy?: number;
|
|
2791
|
+
modules?: PackedModuleInput[];
|
|
2792
|
+
schedule?: Types.schedule;
|
|
2793
|
+
cargo?: Types.cargo_item[];
|
|
2794
|
+
}
|
|
2795
|
+
declare class Extractor extends Types.entity_info {
|
|
2796
|
+
private _sched?;
|
|
2797
|
+
private _inv?;
|
|
2798
|
+
get name(): string;
|
|
2799
|
+
get entityClass(): 'building';
|
|
2800
|
+
get canDemolish(): boolean;
|
|
2801
|
+
get inv(): InventoryAccessor;
|
|
2802
|
+
get inventory(): EntityInventory[];
|
|
2803
|
+
get sched(): ScheduleAccessor;
|
|
2804
|
+
get isIdle(): boolean;
|
|
2805
|
+
get location(): Location;
|
|
2806
|
+
get totalCargoMass(): UInt64;
|
|
2807
|
+
get maxCapacity(): UInt64;
|
|
2808
|
+
get availableCapacity(): UInt64;
|
|
2809
|
+
get isFull(): boolean;
|
|
2810
|
+
get totalMass(): UInt64;
|
|
2811
|
+
}
|
|
2812
|
+
interface ExtractorCapabilities {
|
|
2813
|
+
generator?: {
|
|
2814
|
+
capacity: number;
|
|
2815
|
+
recharge: number;
|
|
2816
|
+
};
|
|
2817
|
+
gatherer?: {
|
|
2818
|
+
yield: number;
|
|
2819
|
+
drain: number;
|
|
2820
|
+
depth: number;
|
|
2821
|
+
speed: number;
|
|
2822
|
+
};
|
|
2823
|
+
}
|
|
2824
|
+
declare function computeExtractorCapabilities(modules: InstalledModule[], layout: EntitySlot[]): ExtractorCapabilities;
|
|
2825
|
+
|
|
2734
2826
|
declare function makeShip(state: ShipStateInput): Ship;
|
|
2735
2827
|
declare function makeWarehouse(state: WarehouseStateInput): Warehouse;
|
|
2828
|
+
declare function makeExtractor(state: ExtractorStateInput): Extractor;
|
|
2736
2829
|
declare function makeContainer(state: ContainerStateInput): Container;
|
|
2737
2830
|
|
|
2738
2831
|
declare const itemIds: number[];
|
|
@@ -2764,6 +2857,7 @@ declare function getLocationTypeName(type: LocationType): string;
|
|
|
2764
2857
|
declare function getSystemName(gameSeed: Checksum256Type, location: CoordinatesType): string;
|
|
2765
2858
|
declare function hasSystem(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
2766
2859
|
declare function deriveLocationStatic(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_static;
|
|
2860
|
+
declare function isLocationBuildable(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
2767
2861
|
declare function deriveLocation(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_derived;
|
|
2768
2862
|
|
|
2769
2863
|
declare function hash(seed: Checksum256Type, string: string): Checksum256;
|
|
@@ -2815,6 +2909,16 @@ declare function cargoItem(src: {
|
|
|
2815
2909
|
modules?: Types.module_entry[];
|
|
2816
2910
|
}, quantity: bigint | number): ActionParams.Type.cargo_item;
|
|
2817
2911
|
|
|
2912
|
+
type TaskCargoDirection = 'in' | 'out';
|
|
2913
|
+
interface TaskCargoChange {
|
|
2914
|
+
direction: TaskCargoDirection;
|
|
2915
|
+
item_id: number;
|
|
2916
|
+
stats: bigint;
|
|
2917
|
+
modules: Types.module_entry[];
|
|
2918
|
+
quantity: number;
|
|
2919
|
+
}
|
|
2920
|
+
declare function taskCargoChanges(task: Types.task): TaskCargoChange[];
|
|
2921
|
+
|
|
2818
2922
|
interface Entity {
|
|
2819
2923
|
id: UInt64;
|
|
2820
2924
|
type: Name;
|
|
@@ -2829,6 +2933,42 @@ type WarehouseEntity = Entity & StorageCapability & Partial<LoaderCapability> &
|
|
|
2829
2933
|
type ContainerEntity = Entity & StorageCapability & MassCapability & ScheduleCapability;
|
|
2830
2934
|
type AnyEntity = ShipEntity | WarehouseEntity | ContainerEntity;
|
|
2831
2935
|
|
|
2936
|
+
declare const ENTITY_SHIP: Name;
|
|
2937
|
+
declare const ENTITY_WAREHOUSE: Name;
|
|
2938
|
+
declare const ENTITY_EXTRACTOR: Name;
|
|
2939
|
+
declare const ENTITY_CONTAINER: Name;
|
|
2940
|
+
declare enum EntityClass {
|
|
2941
|
+
OrbitalVessel = 0,
|
|
2942
|
+
PlanetaryStructure = 1
|
|
2943
|
+
}
|
|
2944
|
+
declare function getEntityClass(entityType: Name | EntityTypeName): EntityClass;
|
|
2945
|
+
declare function getPackedEntityType(itemId: number): Name | null;
|
|
2946
|
+
type EntityTypeName = 'ship' | 'warehouse' | 'extractor' | 'container';
|
|
2947
|
+
interface EntityTraits {
|
|
2948
|
+
typeName: Name;
|
|
2949
|
+
isMovable: boolean;
|
|
2950
|
+
hasEnergy: boolean;
|
|
2951
|
+
hasLoaders: boolean;
|
|
2952
|
+
notFoundError: string;
|
|
2953
|
+
}
|
|
2954
|
+
declare const shipTraits: EntityTraits;
|
|
2955
|
+
declare const warehouseTraits: EntityTraits;
|
|
2956
|
+
declare const extractorTraits: EntityTraits;
|
|
2957
|
+
declare const containerTraits: EntityTraits;
|
|
2958
|
+
declare function getEntityTraits(entityType: Name | EntityTypeName): EntityTraits;
|
|
2959
|
+
declare function isShip(entity: {
|
|
2960
|
+
type?: Name;
|
|
2961
|
+
}): boolean;
|
|
2962
|
+
declare function isWarehouse(entity: {
|
|
2963
|
+
type?: Name;
|
|
2964
|
+
}): boolean;
|
|
2965
|
+
declare function isExtractor(entity: {
|
|
2966
|
+
type?: Name;
|
|
2967
|
+
}): boolean;
|
|
2968
|
+
declare function isContainer(entity: {
|
|
2969
|
+
type?: Name;
|
|
2970
|
+
}): boolean;
|
|
2971
|
+
|
|
2832
2972
|
declare function canMove(e: Entity): e is Entity & MovementCapability & EnergyCapability;
|
|
2833
2973
|
declare function hasEnergy(e: Entity): e is Entity & EnergyCapability;
|
|
2834
2974
|
declare function hasStorage(e: Entity): e is Entity & StorageCapability;
|
|
@@ -2939,7 +3079,7 @@ interface SlotConsumer {
|
|
|
2939
3079
|
capability: string;
|
|
2940
3080
|
attribute: string;
|
|
2941
3081
|
}
|
|
2942
|
-
type SlotConsumerKind = 'engine' | 'generator' | 'gatherer' | 'loader' | 'crafter' | 'storage' | 'hauler' | 'warp' | 'ship-t1' | 'container-t1' | 'warehouse-t1' | 'container-t2';
|
|
3082
|
+
type SlotConsumerKind = 'engine' | 'generator' | 'gatherer' | 'loader' | 'crafter' | 'storage' | 'hauler' | 'warp' | 'ship-t1' | 'container-t1' | 'warehouse-t1' | 'extractor-t1' | 'container-t2';
|
|
2943
3083
|
declare const SLOT_FORMULAS: Record<SlotConsumerKind, Record<number, SlotConsumer>>;
|
|
2944
3084
|
|
|
2945
3085
|
declare function deriveStatMappings(): StatMapping[];
|
|
@@ -3023,10 +3163,7 @@ interface ShipCapabilities {
|
|
|
3023
3163
|
drain: number;
|
|
3024
3164
|
};
|
|
3025
3165
|
}
|
|
3026
|
-
declare function computeShipCapabilities(modules:
|
|
3027
|
-
itemId: number;
|
|
3028
|
-
stats: bigint;
|
|
3029
|
-
}[]): ShipCapabilities;
|
|
3166
|
+
declare function computeShipCapabilities(modules: InstalledModule[], layout: EntitySlot[]): ShipCapabilities;
|
|
3030
3167
|
|
|
3031
3168
|
interface ResolvedItemStat {
|
|
3032
3169
|
key: string;
|
|
@@ -3297,4 +3434,4 @@ type location_static = Types.location_static;
|
|
|
3297
3434
|
type location_derived = Types.location_derived;
|
|
3298
3435
|
type location_row = Types.location_row;
|
|
3299
3436
|
|
|
3300
|
-
export { AckMessage, ActionsManager, AnyEntity, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_CAPACITY_EXCEEDED, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ClientMessage, ConnectionState, Container, ContainerEntity, ContainerStateInput, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DerivedStratum, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, ENTITY_NO_CRAFTER, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntitySubscriptionHandle, EntityType, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, FloatPosition, 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, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, 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_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, 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_FOCUSING_ARRAY, 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_HULL_PLATES, ITEM_HULL_PLATES_T2, ITEM_LOADER_T1, ITEM_MATTER_CONDUIT, 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_POWER_CELL, ITEM_REACTION_CHAMBER, 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_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, ITEM_WARP_T1, InventoryAccessor, Item, ItemType, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MODULE_ANY, 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_TYPE_MISMATCH, MODULE_WARP, MassCapability, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, OwnerSubscriptionHandle, 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, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, 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, Recipe, RecipeInput, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CAPACITY_EXCEEDED, 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, SLOT_FORMULAS, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WarehouseStateInput, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, 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, cargoItem, cargoItemToStack, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryIconShapes, categoryIcons, categoryLabel, categoryLabelFromIndex, componentIcon, 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$1 as computeHaulerDrain, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, computeWarpRange, container_row, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, estimateDealTravelTime, estimateTravelTime, findItemByCategoryAndTier, findNearbyPlanets, flightSpeedFactor, formatMass, formatMassDelta, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isCraftedItem, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isModuleItem, isRelatedItem, isSubscriptionsDebugEnabled, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, loader_stats, location_derived, location_row, location_static, makeContainer, makeShip, makeWarehouse, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, tierAdjective, tierColors, toLocation, typeLabel, validateSchedule, warehouse_row };
|
|
3437
|
+
export { AckMessage, ActionsManager, AnyEntity, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_CAPACITY_EXCEEDED, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ClientMessage, ConnectionState, Container, ContainerEntity, ContainerStateInput, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DerivedStratum, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityClass, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntitySubscriptionHandle, EntityType, EntityTypeName$1 as EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, Extractor, ExtractorCapabilities, ExtractorStateInput, FloatPosition, 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, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, 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_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, 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_FOCUSING_ARRAY, 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_HULL_PLATES, ITEM_HULL_PLATES_T2, ITEM_LOADER_T1, ITEM_MATTER_CONDUIT, 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_POWER_CELL, ITEM_REACTION_CHAMBER, 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_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, ITEM_WARP_T1, InventoryAccessor, Item, ItemType, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, 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_TYPE_MISMATCH, MODULE_WARP, MassCapability, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, OwnerSubscriptionHandle, 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, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, 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, Recipe, RecipeInput, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CAPACITY_EXCEEDED, 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, SLOT_FORMULAS, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WarehouseStateInput, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, 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, cargoItem, cargoItemToStack, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryIconShapes, categoryIcons, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityStats, computeExtractorCapabilities, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, computeWarpRange, containerTraits, container_row, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, estimateDealTravelTime, estimateTravelTime, extractorTraits, findItemByCategoryAndTier, findNearbyPlanets, flightSpeedFactor, formatMass, formatMassDelta, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEntityTraits, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isContainer, isCraftedItem, isExtractor, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, loader_stats, location_derived, location_row, location_static, makeContainer, makeExtractor, makeShip, makeWarehouse, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, shipTraits, stackKey, stackToCargoItem, stacksEqual, task, taskCargoChanges, tierAdjective, tierColors, toLocation, typeLabel, validateSchedule, warehouseTraits, warehouse_row };
|