@shipload/sdk 1.0.0-next.32 → 1.0.0-next.33
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 +12 -2
- package/lib/shipload.js +86 -63
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +86 -64
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.js +19 -19
- package/lib/testing.m.js +19 -19
- package/package.json +1 -1
- package/src/capabilities/gathering.ts +20 -10
- package/src/data/items.json +19 -19
- package/src/data/recipes.json +29 -29
- package/src/derivation/capabilities.ts +1 -1
- package/src/index-module.ts +2 -0
- package/src/managers/nft.test.ts +14 -0
- package/src/managers/nft.ts +43 -1
- package/src/managers/plot.ts +0 -3
- package/src/nft/description.ts +1 -1
- package/src/types.ts +1 -1
package/lib/shipload.m.js
CHANGED
|
@@ -2938,7 +2938,7 @@ const MIN_ORBITAL_ALTITUDE = 800;
|
|
|
2938
2938
|
const MAX_ORBITAL_ALTITUDE = 3000;
|
|
2939
2939
|
const BASE_ORBITAL_MASS = 100000;
|
|
2940
2940
|
const MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE = 100;
|
|
2941
|
-
const MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL =
|
|
2941
|
+
const MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL = 200;
|
|
2942
2942
|
var TaskType;
|
|
2943
2943
|
(function (TaskType) {
|
|
2944
2944
|
TaskType[TaskType["IDLE"] = 0] = "IDLE";
|
|
@@ -3136,15 +3136,15 @@ var recipes = [
|
|
|
3136
3136
|
},
|
|
3137
3137
|
{
|
|
3138
3138
|
outputItemId: 10002,
|
|
3139
|
-
outputMass:
|
|
3139
|
+
outputMass: 4000,
|
|
3140
3140
|
inputs: [
|
|
3141
3141
|
{
|
|
3142
3142
|
itemId: 401,
|
|
3143
|
-
quantity:
|
|
3143
|
+
quantity: 5
|
|
3144
3144
|
},
|
|
3145
3145
|
{
|
|
3146
3146
|
itemId: 501,
|
|
3147
|
-
quantity:
|
|
3147
|
+
quantity: 5
|
|
3148
3148
|
}
|
|
3149
3149
|
],
|
|
3150
3150
|
statSlots: [
|
|
@@ -3200,15 +3200,15 @@ var recipes = [
|
|
|
3200
3200
|
},
|
|
3201
3201
|
{
|
|
3202
3202
|
outputItemId: 10004,
|
|
3203
|
-
outputMass:
|
|
3203
|
+
outputMass: 4000,
|
|
3204
3204
|
inputs: [
|
|
3205
3205
|
{
|
|
3206
3206
|
itemId: 201,
|
|
3207
|
-
quantity:
|
|
3207
|
+
quantity: 5
|
|
3208
3208
|
},
|
|
3209
3209
|
{
|
|
3210
3210
|
itemId: 101,
|
|
3211
|
-
quantity:
|
|
3211
|
+
quantity: 5
|
|
3212
3212
|
}
|
|
3213
3213
|
],
|
|
3214
3214
|
statSlots: [
|
|
@@ -3234,15 +3234,15 @@ var recipes = [
|
|
|
3234
3234
|
},
|
|
3235
3235
|
{
|
|
3236
3236
|
outputItemId: 10005,
|
|
3237
|
-
outputMass:
|
|
3237
|
+
outputMass: 4000,
|
|
3238
3238
|
inputs: [
|
|
3239
3239
|
{
|
|
3240
3240
|
itemId: 101,
|
|
3241
|
-
quantity:
|
|
3241
|
+
quantity: 5
|
|
3242
3242
|
},
|
|
3243
3243
|
{
|
|
3244
3244
|
itemId: 301,
|
|
3245
|
-
quantity:
|
|
3245
|
+
quantity: 5
|
|
3246
3246
|
}
|
|
3247
3247
|
],
|
|
3248
3248
|
statSlots: [
|
|
@@ -3358,15 +3358,15 @@ var recipes = [
|
|
|
3358
3358
|
},
|
|
3359
3359
|
{
|
|
3360
3360
|
outputItemId: 10009,
|
|
3361
|
-
outputMass:
|
|
3361
|
+
outputMass: 4000,
|
|
3362
3362
|
inputs: [
|
|
3363
3363
|
{
|
|
3364
3364
|
itemId: 301,
|
|
3365
|
-
quantity:
|
|
3365
|
+
quantity: 5
|
|
3366
3366
|
},
|
|
3367
3367
|
{
|
|
3368
3368
|
itemId: 401,
|
|
3369
|
-
quantity:
|
|
3369
|
+
quantity: 5
|
|
3370
3370
|
}
|
|
3371
3371
|
],
|
|
3372
3372
|
statSlots: [
|
|
@@ -3392,15 +3392,15 @@ var recipes = [
|
|
|
3392
3392
|
},
|
|
3393
3393
|
{
|
|
3394
3394
|
outputItemId: 10010,
|
|
3395
|
-
outputMass:
|
|
3395
|
+
outputMass: 4000,
|
|
3396
3396
|
inputs: [
|
|
3397
3397
|
{
|
|
3398
3398
|
itemId: 501,
|
|
3399
|
-
quantity:
|
|
3399
|
+
quantity: 5
|
|
3400
3400
|
},
|
|
3401
3401
|
{
|
|
3402
3402
|
itemId: 201,
|
|
3403
|
-
quantity:
|
|
3403
|
+
quantity: 5
|
|
3404
3404
|
}
|
|
3405
3405
|
],
|
|
3406
3406
|
statSlots: [
|
|
@@ -3426,7 +3426,7 @@ var recipes = [
|
|
|
3426
3426
|
},
|
|
3427
3427
|
{
|
|
3428
3428
|
outputItemId: 10100,
|
|
3429
|
-
outputMass:
|
|
3429
|
+
outputMass: 960000,
|
|
3430
3430
|
inputs: [
|
|
3431
3431
|
{
|
|
3432
3432
|
itemId: 10003,
|
|
@@ -3456,7 +3456,7 @@ var recipes = [
|
|
|
3456
3456
|
},
|
|
3457
3457
|
{
|
|
3458
3458
|
outputItemId: 10101,
|
|
3459
|
-
outputMass:
|
|
3459
|
+
outputMass: 960000,
|
|
3460
3460
|
inputs: [
|
|
3461
3461
|
{
|
|
3462
3462
|
itemId: 10004,
|
|
@@ -3486,7 +3486,7 @@ var recipes = [
|
|
|
3486
3486
|
},
|
|
3487
3487
|
{
|
|
3488
3488
|
outputItemId: 10102,
|
|
3489
|
-
outputMass:
|
|
3489
|
+
outputMass: 960000,
|
|
3490
3490
|
inputs: [
|
|
3491
3491
|
{
|
|
3492
3492
|
itemId: 10005,
|
|
@@ -3536,7 +3536,7 @@ var recipes = [
|
|
|
3536
3536
|
},
|
|
3537
3537
|
{
|
|
3538
3538
|
outputItemId: 10103,
|
|
3539
|
-
outputMass:
|
|
3539
|
+
outputMass: 960000,
|
|
3540
3540
|
inputs: [
|
|
3541
3541
|
{
|
|
3542
3542
|
itemId: 10007,
|
|
@@ -3566,7 +3566,7 @@ var recipes = [
|
|
|
3566
3566
|
},
|
|
3567
3567
|
{
|
|
3568
3568
|
outputItemId: 10104,
|
|
3569
|
-
outputMass:
|
|
3569
|
+
outputMass: 960000,
|
|
3570
3570
|
inputs: [
|
|
3571
3571
|
{
|
|
3572
3572
|
itemId: 10008,
|
|
@@ -3600,7 +3600,7 @@ var recipes = [
|
|
|
3600
3600
|
},
|
|
3601
3601
|
{
|
|
3602
3602
|
outputItemId: 10105,
|
|
3603
|
-
outputMass:
|
|
3603
|
+
outputMass: 960000,
|
|
3604
3604
|
inputs: [
|
|
3605
3605
|
{
|
|
3606
3606
|
itemId: 10001,
|
|
@@ -3650,7 +3650,7 @@ var recipes = [
|
|
|
3650
3650
|
},
|
|
3651
3651
|
{
|
|
3652
3652
|
outputItemId: 10106,
|
|
3653
|
-
outputMass:
|
|
3653
|
+
outputMass: 960000,
|
|
3654
3654
|
inputs: [
|
|
3655
3655
|
{
|
|
3656
3656
|
itemId: 10004,
|
|
@@ -3692,7 +3692,7 @@ var recipes = [
|
|
|
3692
3692
|
},
|
|
3693
3693
|
{
|
|
3694
3694
|
outputItemId: 10107,
|
|
3695
|
-
outputMass:
|
|
3695
|
+
outputMass: 960000,
|
|
3696
3696
|
inputs: [
|
|
3697
3697
|
{
|
|
3698
3698
|
itemId: 10004,
|
|
@@ -3724,7 +3724,7 @@ var recipes = [
|
|
|
3724
3724
|
},
|
|
3725
3725
|
{
|
|
3726
3726
|
outputItemId: 10108,
|
|
3727
|
-
outputMass:
|
|
3727
|
+
outputMass: 960000,
|
|
3728
3728
|
inputs: [
|
|
3729
3729
|
{
|
|
3730
3730
|
itemId: 10003,
|
|
@@ -3774,7 +3774,7 @@ var recipes = [
|
|
|
3774
3774
|
},
|
|
3775
3775
|
{
|
|
3776
3776
|
outputItemId: 10200,
|
|
3777
|
-
outputMass:
|
|
3777
|
+
outputMass: 1300000,
|
|
3778
3778
|
inputs: [
|
|
3779
3779
|
{
|
|
3780
3780
|
itemId: 10001,
|
|
@@ -3824,7 +3824,7 @@ var recipes = [
|
|
|
3824
3824
|
},
|
|
3825
3825
|
{
|
|
3826
3826
|
outputItemId: 10201,
|
|
3827
|
-
outputMass:
|
|
3827
|
+
outputMass: 1900000,
|
|
3828
3828
|
inputs: [
|
|
3829
3829
|
{
|
|
3830
3830
|
itemId: 10001,
|
|
@@ -3874,7 +3874,7 @@ var recipes = [
|
|
|
3874
3874
|
},
|
|
3875
3875
|
{
|
|
3876
3876
|
outputItemId: 10202,
|
|
3877
|
-
outputMass:
|
|
3877
|
+
outputMass: 4800000,
|
|
3878
3878
|
inputs: [
|
|
3879
3879
|
{
|
|
3880
3880
|
itemId: 10001,
|
|
@@ -3924,7 +3924,7 @@ var recipes = [
|
|
|
3924
3924
|
},
|
|
3925
3925
|
{
|
|
3926
3926
|
outputItemId: 10203,
|
|
3927
|
-
outputMass:
|
|
3927
|
+
outputMass: 3700000,
|
|
3928
3928
|
inputs: [
|
|
3929
3929
|
{
|
|
3930
3930
|
itemId: 10001,
|
|
@@ -3974,7 +3974,7 @@ var recipes = [
|
|
|
3974
3974
|
},
|
|
3975
3975
|
{
|
|
3976
3976
|
outputItemId: 10204,
|
|
3977
|
-
outputMass:
|
|
3977
|
+
outputMass: 4600000,
|
|
3978
3978
|
inputs: [
|
|
3979
3979
|
{
|
|
3980
3980
|
itemId: 10001,
|
|
@@ -4663,7 +4663,7 @@ var items = [
|
|
|
4663
4663
|
},
|
|
4664
4664
|
{
|
|
4665
4665
|
id: 10002,
|
|
4666
|
-
mass:
|
|
4666
|
+
mass: 4000,
|
|
4667
4667
|
type: "component",
|
|
4668
4668
|
tier: 1
|
|
4669
4669
|
},
|
|
@@ -4675,13 +4675,13 @@ var items = [
|
|
|
4675
4675
|
},
|
|
4676
4676
|
{
|
|
4677
4677
|
id: 10004,
|
|
4678
|
-
mass:
|
|
4678
|
+
mass: 4000,
|
|
4679
4679
|
type: "component",
|
|
4680
4680
|
tier: 1
|
|
4681
4681
|
},
|
|
4682
4682
|
{
|
|
4683
4683
|
id: 10005,
|
|
4684
|
-
mass:
|
|
4684
|
+
mass: 4000,
|
|
4685
4685
|
type: "component",
|
|
4686
4686
|
tier: 1
|
|
4687
4687
|
},
|
|
@@ -4705,106 +4705,106 @@ var items = [
|
|
|
4705
4705
|
},
|
|
4706
4706
|
{
|
|
4707
4707
|
id: 10009,
|
|
4708
|
-
mass:
|
|
4708
|
+
mass: 4000,
|
|
4709
4709
|
type: "component",
|
|
4710
4710
|
tier: 1
|
|
4711
4711
|
},
|
|
4712
4712
|
{
|
|
4713
4713
|
id: 10010,
|
|
4714
|
-
mass:
|
|
4714
|
+
mass: 4000,
|
|
4715
4715
|
type: "component",
|
|
4716
4716
|
tier: 1
|
|
4717
4717
|
},
|
|
4718
4718
|
{
|
|
4719
4719
|
id: 10100,
|
|
4720
|
-
mass:
|
|
4720
|
+
mass: 960000,
|
|
4721
4721
|
type: "module",
|
|
4722
4722
|
tier: 1,
|
|
4723
4723
|
subtype: "engine"
|
|
4724
4724
|
},
|
|
4725
4725
|
{
|
|
4726
4726
|
id: 10101,
|
|
4727
|
-
mass:
|
|
4727
|
+
mass: 960000,
|
|
4728
4728
|
type: "module",
|
|
4729
4729
|
tier: 1,
|
|
4730
4730
|
subtype: "generator"
|
|
4731
4731
|
},
|
|
4732
4732
|
{
|
|
4733
4733
|
id: 10102,
|
|
4734
|
-
mass:
|
|
4734
|
+
mass: 960000,
|
|
4735
4735
|
type: "module",
|
|
4736
4736
|
tier: 1,
|
|
4737
4737
|
subtype: "gatherer"
|
|
4738
4738
|
},
|
|
4739
4739
|
{
|
|
4740
4740
|
id: 10103,
|
|
4741
|
-
mass:
|
|
4741
|
+
mass: 960000,
|
|
4742
4742
|
type: "module",
|
|
4743
4743
|
tier: 1,
|
|
4744
4744
|
subtype: "loader"
|
|
4745
4745
|
},
|
|
4746
4746
|
{
|
|
4747
4747
|
id: 10104,
|
|
4748
|
-
mass:
|
|
4748
|
+
mass: 960000,
|
|
4749
4749
|
type: "module",
|
|
4750
4750
|
tier: 1,
|
|
4751
4751
|
subtype: "crafter"
|
|
4752
4752
|
},
|
|
4753
4753
|
{
|
|
4754
4754
|
id: 10105,
|
|
4755
|
-
mass:
|
|
4755
|
+
mass: 960000,
|
|
4756
4756
|
type: "module",
|
|
4757
4757
|
tier: 1,
|
|
4758
4758
|
subtype: "storage"
|
|
4759
4759
|
},
|
|
4760
4760
|
{
|
|
4761
4761
|
id: 10106,
|
|
4762
|
-
mass:
|
|
4762
|
+
mass: 960000,
|
|
4763
4763
|
type: "module",
|
|
4764
4764
|
tier: 1,
|
|
4765
4765
|
subtype: "hauler"
|
|
4766
4766
|
},
|
|
4767
4767
|
{
|
|
4768
4768
|
id: 10107,
|
|
4769
|
-
mass:
|
|
4769
|
+
mass: 960000,
|
|
4770
4770
|
type: "module",
|
|
4771
4771
|
tier: 1,
|
|
4772
4772
|
subtype: "warp"
|
|
4773
4773
|
},
|
|
4774
4774
|
{
|
|
4775
4775
|
id: 10108,
|
|
4776
|
-
mass:
|
|
4776
|
+
mass: 960000,
|
|
4777
4777
|
type: "module",
|
|
4778
4778
|
tier: 1,
|
|
4779
4779
|
subtype: "battery"
|
|
4780
4780
|
},
|
|
4781
4781
|
{
|
|
4782
4782
|
id: 10200,
|
|
4783
|
-
mass:
|
|
4783
|
+
mass: 1300000,
|
|
4784
4784
|
type: "entity",
|
|
4785
4785
|
tier: 1
|
|
4786
4786
|
},
|
|
4787
4787
|
{
|
|
4788
4788
|
id: 10201,
|
|
4789
|
-
mass:
|
|
4789
|
+
mass: 1900000,
|
|
4790
4790
|
type: "entity",
|
|
4791
4791
|
tier: 1
|
|
4792
4792
|
},
|
|
4793
4793
|
{
|
|
4794
4794
|
id: 10202,
|
|
4795
|
-
mass:
|
|
4795
|
+
mass: 4800000,
|
|
4796
4796
|
type: "entity",
|
|
4797
4797
|
tier: 1
|
|
4798
4798
|
},
|
|
4799
4799
|
{
|
|
4800
4800
|
id: 10203,
|
|
4801
|
-
mass:
|
|
4801
|
+
mass: 3700000,
|
|
4802
4802
|
type: "entity",
|
|
4803
4803
|
tier: 1
|
|
4804
4804
|
},
|
|
4805
4805
|
{
|
|
4806
4806
|
id: 10204,
|
|
4807
|
-
mass:
|
|
4807
|
+
mass: 4600000,
|
|
4808
4808
|
type: "entity",
|
|
4809
4809
|
tier: 1
|
|
4810
4810
|
},
|
|
@@ -11764,6 +11764,10 @@ class ActionsManager extends BaseManager {
|
|
|
11764
11764
|
}
|
|
11765
11765
|
}
|
|
11766
11766
|
|
|
11767
|
+
function resolveLockedAmount(cost, feePctBasisPoints) {
|
|
11768
|
+
const fee = (cost * BigInt(feePctBasisPoints)) / 10000n;
|
|
11769
|
+
return cost - fee;
|
|
11770
|
+
}
|
|
11767
11771
|
class NftManager extends BaseManager {
|
|
11768
11772
|
constructor() {
|
|
11769
11773
|
super(...arguments);
|
|
@@ -11782,6 +11786,26 @@ class NftManager extends BaseManager {
|
|
|
11782
11786
|
this.cache.set(key, result);
|
|
11783
11787
|
return result ?? undefined;
|
|
11784
11788
|
}
|
|
11789
|
+
async getWrapDeposit(itemType, tier) {
|
|
11790
|
+
const key = UInt64.from((BigInt(itemType) << 8n) | BigInt(tier));
|
|
11791
|
+
const costRow = (await this.server.table('wrapcost').get(key));
|
|
11792
|
+
const cost = costRow ? BigInt(costRow.amount.toString()) : 0n;
|
|
11793
|
+
if (cost === 0n)
|
|
11794
|
+
return null;
|
|
11795
|
+
const cfg = (await this.server.table('wrapconfig').get());
|
|
11796
|
+
const feePctBasisPoints = cfg ? Number(cfg.fee_pct) : 0;
|
|
11797
|
+
const depositCfg = (await this.platform.table('depositcfg').get());
|
|
11798
|
+
if (!depositCfg)
|
|
11799
|
+
return null;
|
|
11800
|
+
return {
|
|
11801
|
+
cost,
|
|
11802
|
+
refund: resolveLockedAmount(cost, feePctBasisPoints),
|
|
11803
|
+
feePct: feePctBasisPoints / 100,
|
|
11804
|
+
symbol: depositCfg.token_symbol.code.toString(),
|
|
11805
|
+
precision: depositCfg.token_symbol.precision,
|
|
11806
|
+
tokenContract: depositCfg.token_contract.toString(),
|
|
11807
|
+
};
|
|
11808
|
+
}
|
|
11785
11809
|
}
|
|
11786
11810
|
|
|
11787
11811
|
let enabled = false;
|
|
@@ -12444,7 +12468,7 @@ function computeLoaderCapabilities(stats) {
|
|
|
12444
12468
|
const plasticity = stats.plasticity;
|
|
12445
12469
|
return {
|
|
12446
12470
|
mass: Math.max(200, 2000 - Math.floor(insulation * 2)),
|
|
12447
|
-
thrust: 1 + Math.floor(plasticity /
|
|
12471
|
+
thrust: 1 + Math.floor((plasticity * plasticity) / 10000),
|
|
12448
12472
|
quantity: 1,
|
|
12449
12473
|
};
|
|
12450
12474
|
}
|
|
@@ -12822,16 +12846,12 @@ class PlotManager extends BaseManager {
|
|
|
12822
12846
|
throw new Error(`Plot target item ${targetItemId} has no recipe`);
|
|
12823
12847
|
}
|
|
12824
12848
|
let state;
|
|
12825
|
-
const taskType = activeTask?.type.toNumber();
|
|
12826
12849
|
if (scheduledBuild?.hasStarted) {
|
|
12827
12850
|
state = 'finalizing';
|
|
12828
12851
|
}
|
|
12829
12852
|
else if (scheduledBuild) {
|
|
12830
12853
|
state = 'scheduled';
|
|
12831
12854
|
}
|
|
12832
|
-
else if (taskType === TaskType.CLAIMPLOT) {
|
|
12833
|
-
state = 'initializing';
|
|
12834
|
-
}
|
|
12835
12855
|
else if (progress.isComplete) {
|
|
12836
12856
|
state = 'ready';
|
|
12837
12857
|
}
|
|
@@ -14067,22 +14087,24 @@ function needsRecharge(entity) {
|
|
|
14067
14087
|
const GATHER_TIME_SCALE = 100;
|
|
14068
14088
|
const GATHER_MASS_DIVISOR = 228;
|
|
14069
14089
|
const DEPTH_PENALTY_DIVISOR = 5000;
|
|
14070
|
-
function
|
|
14090
|
+
function gather_duration_raw(gatherer, itemMass, quantity, stratum, richness) {
|
|
14071
14091
|
const yieldValue = gatherer.yield.toNumber();
|
|
14072
14092
|
if (yieldValue === 0 || richness === 0)
|
|
14073
|
-
return
|
|
14093
|
+
return 0;
|
|
14074
14094
|
const massFactor = itemMass / GATHER_MASS_DIVISOR;
|
|
14075
14095
|
const depthPenalty = 1 + stratum / DEPTH_PENALTY_DIVISOR;
|
|
14076
14096
|
const richnessMul = richness / 1000;
|
|
14077
|
-
|
|
14078
|
-
|
|
14097
|
+
return (quantity * massFactor * GATHER_TIME_SCALE * depthPenalty) / (yieldValue * richnessMul);
|
|
14098
|
+
}
|
|
14099
|
+
function calc_gather_duration(gatherer, itemMass, quantity, stratum, richness) {
|
|
14100
|
+
return UInt32.from(Math.floor(gather_duration_raw(gatherer, itemMass, quantity, stratum, richness)));
|
|
14079
14101
|
}
|
|
14080
14102
|
function calc_gather_rate(gatherer, itemMass, stratum, richness) {
|
|
14081
|
-
const
|
|
14082
|
-
if (
|
|
14103
|
+
const secPerUnit = gather_duration_raw(gatherer, itemMass, 1, stratum, richness);
|
|
14104
|
+
if (secPerUnit <= 0)
|
|
14083
14105
|
return { unitsPerSec: 0, unitsPerMin: 0, secPerUnit: 0 };
|
|
14084
|
-
const unitsPerSec = 1 /
|
|
14085
|
-
return { unitsPerSec, unitsPerMin: unitsPerSec * 60, secPerUnit
|
|
14106
|
+
const unitsPerSec = 1 / secPerUnit;
|
|
14107
|
+
return { unitsPerSec, unitsPerMin: unitsPerSec * 60, secPerUnit };
|
|
14086
14108
|
}
|
|
14087
14109
|
function calc_gather_energy(gatherer, duration) {
|
|
14088
14110
|
const energy = Math.floor((duration * gatherer.drain.toNumber()) / PRECISION$1);
|
|
@@ -14899,7 +14921,7 @@ const computeGathererYield = (str) => 200 + str;
|
|
|
14899
14921
|
const computeGathererDrain = (con) => 2 * Math.max(250, 1250 - idiv(con * 25, 20));
|
|
14900
14922
|
const computeGathererDepth = (tol, tier) => gathererDepthForTier(tol, tier);
|
|
14901
14923
|
const computeLoaderMass = (ins) => Math.max(200, 2000 - ins * 2);
|
|
14902
|
-
const computeLoaderThrust = (pla) => 1 + idiv(pla,
|
|
14924
|
+
const computeLoaderThrust = (pla) => 1 + idiv(pla * pla, 10000);
|
|
14903
14925
|
const computeCrafterSpeed = (rea) => 100 + idiv(rea * 4, 5);
|
|
14904
14926
|
const computeCrafterDrain = (fin) => Math.max(5, 30 - idiv(fin, 33));
|
|
14905
14927
|
const computeHaulerCapacity = (fin) => Math.max(1, 1 + idiv(fin, 400));
|
|
@@ -15356,5 +15378,5 @@ function describeItem(resolved, opts) {
|
|
|
15356
15378
|
return `${tier} ${resolved.name} · ${mass}`;
|
|
15357
15379
|
}
|
|
15358
15380
|
|
|
15359
|
-
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, 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, HoldKind, 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_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, 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, composeIdleResolve, 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, normalizeDisplayName, parseWireEntity, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, rawScheduleEnd, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, subtractFromStacks, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateDisplayName, validateSchedule, workerLaneKey, yieldThresholdAt };
|
|
15381
|
+
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, 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, HoldKind, 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_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, 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, composeIdleResolve, 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, normalizeDisplayName, parseWireEntity, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, rawScheduleEnd, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLockedAmount, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, subtractFromStacks, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateDisplayName, validateSchedule, workerLaneKey, yieldThresholdAt };
|
|
15360
15382
|
//# sourceMappingURL=shipload.m.js.map
|