@aephia/atlas-kit 0.8.0-next.1 → 0.8.0-next.10
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/dist/claim-stakes/actions/index.d.ts +19 -3
- package/dist/claim-stakes/actions/index.d.ts.map +1 -1
- package/dist/claim-stakes/actions/index.js +95 -13
- package/dist/claim-stakes/actions/index.js.map +1 -1
- package/dist/client/contracts.d.ts +1 -1
- package/dist/client/contracts.d.ts.map +1 -1
- package/dist/combat/actions/index.d.ts.map +1 -1
- package/dist/combat/actions/index.js +6 -0
- package/dist/combat/actions/index.js.map +1 -1
- package/dist/crafting/actions/index.d.ts +21 -9
- package/dist/crafting/actions/index.d.ts.map +1 -1
- package/dist/crafting/actions/index.js +67 -20
- package/dist/crafting/actions/index.js.map +1 -1
- package/dist/crafting/index.d.ts +21 -2
- package/dist/crafting/index.d.ts.map +1 -1
- package/dist/crafting/index.js +5 -1
- package/dist/crafting/index.js.map +1 -1
- package/dist/identity/index.d.ts +64 -1
- package/dist/identity/index.d.ts.map +1 -1
- package/dist/identity/index.js +54 -0
- package/dist/identity/index.js.map +1 -1
- package/dist/internal/c4/character.d.ts +68 -0
- package/dist/internal/c4/character.d.ts.map +1 -1
- package/dist/internal/c4/character.js +46 -2
- package/dist/internal/c4/character.js.map +1 -1
- package/dist/internal/c4/claim-stake.d.ts +0 -1
- package/dist/internal/c4/claim-stake.d.ts.map +1 -1
- package/dist/internal/c4/claim-stake.js +23 -1
- package/dist/internal/c4/claim-stake.js.map +1 -1
- package/dist/internal/c4/crafting.d.ts +3 -1
- package/dist/internal/c4/crafting.d.ts.map +1 -1
- package/dist/internal/c4/crafting.js.map +1 -1
- package/dist/internal/c4/discriminators.d.ts +12 -0
- package/dist/internal/c4/discriminators.d.ts.map +1 -1
- package/dist/internal/c4/discriminators.js +25 -1
- package/dist/internal/c4/discriminators.js.map +1 -1
- package/dist/internal/c4/fleet.d.ts +20 -0
- package/dist/internal/c4/fleet.d.ts.map +1 -1
- package/dist/internal/c4/fleet.js +63 -5
- package/dist/internal/c4/fleet.js.map +1 -1
- package/dist/internal/c4/game.d.ts +12 -0
- package/dist/internal/c4/game.d.ts.map +1 -1
- package/dist/internal/c4/game.js +17 -0
- package/dist/internal/c4/game.js.map +1 -1
- package/dist/internal/c4/governance.d.ts +241 -0
- package/dist/internal/c4/governance.d.ts.map +1 -0
- package/dist/internal/c4/governance.js +366 -0
- package/dist/internal/c4/governance.js.map +1 -0
- package/dist/internal/c4/runtime-bindings.d.ts +1 -1
- package/dist/internal/c4/runtime-bindings.d.ts.map +1 -1
- package/dist/internal/c4/runtime-bindings.js +1 -1
- package/dist/internal/c4/runtime-bindings.js.map +1 -1
- package/dist/internal/crafting-process-state.d.ts +16 -3
- package/dist/internal/crafting-process-state.d.ts.map +1 -1
- package/dist/internal/crafting-process-state.js +44 -0
- package/dist/internal/crafting-process-state.js.map +1 -1
- package/dist/internal/fleet.d.ts.map +1 -1
- package/dist/internal/fleet.js +1 -0
- package/dist/internal/fleet.js.map +1 -1
- package/dist/internal/planning/authorization-adapter.d.ts +41 -0
- package/dist/internal/planning/authorization-adapter.d.ts.map +1 -1
- package/dist/internal/planning/authorization-adapter.js +60 -1
- package/dist/internal/planning/authorization-adapter.js.map +1 -1
- package/dist/internal/planning/fleet-state.d.ts.map +1 -1
- package/dist/internal/planning/fleet-state.js +1 -0
- package/dist/internal/planning/fleet-state.js.map +1 -1
- package/dist/internal/planning/governance-storage-actions.d.ts +9 -0
- package/dist/internal/planning/governance-storage-actions.d.ts.map +1 -0
- package/dist/internal/planning/governance-storage-actions.js +89 -0
- package/dist/internal/planning/governance-storage-actions.js.map +1 -0
- package/dist/internal/planning/profile-storage-funding-guard.d.ts +1 -1
- package/dist/internal/planning/profile-storage-funding-guard.d.ts.map +1 -1
- package/dist/internal/planning/profile-storage-funding-guard.js +15 -1
- package/dist/internal/planning/profile-storage-funding-guard.js.map +1 -1
- package/dist/internal/planning/research-unlock.d.ts.map +1 -1
- package/dist/internal/planning/research-unlock.js.map +1 -1
- package/dist/internal/planning/storage-action-readers.d.ts.map +1 -1
- package/dist/internal/planning/storage-action-readers.js +7 -0
- package/dist/internal/planning/storage-action-readers.js.map +1 -1
- package/dist/mining/actions/index.d.ts +6 -1
- package/dist/mining/actions/index.d.ts.map +1 -1
- package/dist/mining/actions/index.js +14 -1
- package/dist/mining/actions/index.js.map +1 -1
- package/dist/mining/exit-fuel.d.ts +47 -0
- package/dist/mining/exit-fuel.d.ts.map +1 -0
- package/dist/mining/exit-fuel.js +47 -0
- package/dist/mining/exit-fuel.js.map +1 -0
- package/dist/mining/index.d.ts +1 -0
- package/dist/mining/index.d.ts.map +1 -1
- package/dist/mining/index.js +1 -0
- package/dist/mining/index.js.map +1 -1
- package/dist/mining/profile.d.ts +2 -1
- package/dist/mining/profile.d.ts.map +1 -1
- package/dist/mining/profile.js +2 -1
- package/dist/mining/profile.js.map +1 -1
- package/dist/starbases/actions/governance.d.ts +78 -0
- package/dist/starbases/actions/governance.d.ts.map +1 -0
- package/dist/starbases/actions/governance.js +382 -0
- package/dist/starbases/actions/governance.js.map +1 -0
- package/dist/starbases/actions/index.d.ts +1 -1
- package/dist/starbases/actions/index.d.ts.map +1 -1
- package/dist/starbases/actions/index.js +1 -0
- package/dist/starbases/actions/index.js.map +1 -1
- package/dist/starbases/governance.d.ts +370 -0
- package/dist/starbases/governance.d.ts.map +1 -0
- package/dist/starbases/governance.js +422 -0
- package/dist/starbases/governance.js.map +1 -0
- package/dist/starbases/index.d.ts +1 -0
- package/dist/starbases/index.d.ts.map +1 -1
- package/dist/starbases/index.js +1 -0
- package/dist/starbases/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -234,8 +234,9 @@ interface FleetSnapshot extends Omit<ResolvedFleetAccountData, 'ownerProfile'> {
|
|
|
234
234
|
* graph, current catalog membership, known plot/cargo/crew availability, and
|
|
235
235
|
* absence of the caller-created Claim Stake account. It also checks the
|
|
236
236
|
* Character's productive plot count and tier limits, the bundled hub's tags
|
|
237
|
-
* against the Planet and Claim Stake definition,
|
|
238
|
-
*
|
|
237
|
+
* against the Planet and Claim Stake definition, the hub's research against the
|
|
238
|
+
* Character's research tags, and that the Character's ATLAS covers the
|
|
239
|
+
* placement fee plus any initial rent. It returns one inert Plan;
|
|
239
240
|
* permissions, placement races, rent arithmetic, and program capacity remain
|
|
240
241
|
* chain-authoritative.
|
|
241
242
|
*
|
|
@@ -280,6 +281,14 @@ export declare function planPlaceClaimStake(ctx: SageContext, body: CelestialBod
|
|
|
280
281
|
* warns instead that the finalized stake would be over-full, which leaves
|
|
281
282
|
* Fleet transfers unable to unload into it until enough cargo is loaded out.
|
|
282
283
|
*
|
|
284
|
+
* A pending design records signed changes on top of the stake's buildings, so
|
|
285
|
+
* the planner checks the layout the stake's buildings, the recorded changes and
|
|
286
|
+
* these changes produce. The game records a design whose buildings need
|
|
287
|
+
* research the Character lacks but refuses to finalize it, so the description
|
|
288
|
+
* warns and names each building and missing research tag. A design that only
|
|
289
|
+
* removes buildings gets no research warning: the game skips its final-layout
|
|
290
|
+
* checks when such a design finalizes.
|
|
291
|
+
*
|
|
283
292
|
* Entering a design adds the design state and an entry for each building id
|
|
284
293
|
* the design does not yet hold. The program funds that growth, up to the
|
|
285
294
|
* stake's rent floor, from the Profile vault with the signing key; the Plan
|
|
@@ -309,6 +318,12 @@ export declare function planClaimStakeBuildingChanges(ctx: SageContext, stake: C
|
|
|
309
318
|
* CurrencyCache, and a known positive rent balance. Rent timing and the final
|
|
310
319
|
* crew/building validation remain chain-authoritative.
|
|
311
320
|
*
|
|
321
|
+
* The finalized layout is the stake's buildings plus the design's recorded
|
|
322
|
+
* changes. The game refuses to finalize a design that adds buildings when any
|
|
323
|
+
* building in that layout needs research the Character lacks, so the planner
|
|
324
|
+
* refuses it first and names each building and missing research tag. A design
|
|
325
|
+
* that only removes buildings is not checked, as in the game.
|
|
326
|
+
*
|
|
312
327
|
* Finalization can draw Profile storage this Plan does not bound: a removed
|
|
313
328
|
* building's refund can open a Starbase Player cargo line, and a final layout
|
|
314
329
|
* that produces a new resource raises the stake's rent floor. The program
|
|
@@ -436,7 +451,8 @@ export declare function planTopUpClaimStakeRent(ctx: SageContext, stake: ClaimSt
|
|
|
436
451
|
* transfer exits, the game accrues production again and also limits Fuel to the
|
|
437
452
|
* stake's separate fuel storage. The planner does not enforce that storage: if
|
|
438
453
|
* the cargo no longer fits at exit, the exit returns the Fleet to idle without
|
|
439
|
-
* moving cargo. For a stake with a Tier 1 Central Hub, the
|
|
454
|
+
* moving cargo. For a stake with a Tier 1 Central or Cultivation Hub, the
|
|
455
|
+
* description warns,
|
|
440
456
|
* without refusing, when a Fuel unload would leave the stake holding more Fuel
|
|
441
457
|
* than such stakes were observed to store on z.ink PTR: 169 plus each Storage
|
|
442
458
|
* Module's storage. Other hub tiers were not observed and get no warning.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/claim-stakes/actions/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,OAAO,EAAoB,MAAM,aAAa,CAAC;AAExE,OAAO,KAAK,EAEV,WAAW,EAEZ,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AA6CtD,OAAO,EAKL,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE7B,MAAM,4BAA4B,CAAC;AAsBpC,OAAO,EAUL,KAAK,iBAAiB,EACvB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EAAE,IAAI,EAAoB,MAAM,yBAAyB,CAAC;AAEtE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAMxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAMtD,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAwBlC,UAAU,aAAa;IACrB,QAAQ,CAA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;GAyBG;AACH,wBAAsB,mCAAmC,CACvD,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,0CAA0C,GAChD,OAAO,CAAC,IAAI,CAAC,CA8Gf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,yBAAyB,CAC7C,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,gCAAgC,GACtC,OAAO,CAAC,IAAI,CAAC,CA0Of;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAsB,uBAAuB,CAC3C,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,8BAA8B,GACpC,OAAO,CAAC,IAAI,CAAC,CAwGf;AAmJD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,wBAAsB,gCAAgC,CACpD,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,uCAAuC,GAC7C,OAAO,CAAC,IAAI,CAAC,CAyRf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAsB,kCAAkC,CACtD,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,yCAAyC,GAC/C,OAAO,CAAC,IAAI,CAAC,CAwOf"}
|
|
@@ -267,8 +267,9 @@ function findHub(configuration, id, game) {
|
|
|
267
267
|
* graph, current catalog membership, known plot/cargo/crew availability, and
|
|
268
268
|
* absence of the caller-created Claim Stake account. It also checks the
|
|
269
269
|
* Character's productive plot count and tier limits, the bundled hub's tags
|
|
270
|
-
* against the Planet and Claim Stake definition,
|
|
271
|
-
*
|
|
270
|
+
* against the Planet and Claim Stake definition, the hub's research against the
|
|
271
|
+
* Character's research tags, and that the Character's ATLAS covers the
|
|
272
|
+
* placement fee plus any initial rent. It returns one inert Plan;
|
|
272
273
|
* permissions, placement races, rent arithmetic, and program capacity remain
|
|
273
274
|
* chain-authoritative.
|
|
274
275
|
*
|
|
@@ -465,6 +466,10 @@ export async function planPlaceClaimStake(ctx, body, player, input) {
|
|
|
465
466
|
const missingRegionTags = regionPolicy?.requiredResearchTags.filter((tag) => !modifiers.researchTags.includes(tag)) ?? [];
|
|
466
467
|
if (missingRegionTags.length > 0)
|
|
467
468
|
fail(`Character ${character} lacks research tag${missingRegionTags.length === 1 ? '' : 's'} ${missingRegionTags.join(', ')}, which Region ${String(regionId)} requires for Claim Stake placement in Star System ${body.system.address}. Unlock the research that provides ${missingRegionTags.length === 1 ? 'it' : 'them'}, or choose a System in another Region.`, policyAddress);
|
|
469
|
+
// The game checks the bundled hub's research at placement (#1177).
|
|
470
|
+
const missingHubTags = hub.researchRequirementIds.filter((tag) => !modifiers.researchTags.includes(tag));
|
|
471
|
+
if (missingHubTags.length > 0)
|
|
472
|
+
fail(`Character ${character} lacks research tag${missingHubTags.length === 1 ? '' : 's'} ${missingHubTags.join(', ')}, which bundled hub ${hub.name} requires, so the game refuses this placement. Unlock that research, refresh the Character, and retry.`, character);
|
|
468
473
|
if (modifiers.maxProductivePlotTier !== undefined &&
|
|
469
474
|
tier + 1 > modifiers.maxProductivePlotTier)
|
|
470
475
|
fail(`Character ${character} may place up to tier ${String(modifiers.maxProductivePlotTier)}, below ${definition.name}'s tier ${definition.tier}. Research a higher plot tier or pick a lower tier.`, character);
|
|
@@ -557,6 +562,42 @@ function claimStakePlacementFee(baseFeeRaw, multiplierRaw) {
|
|
|
557
562
|
function quantities(buildings) {
|
|
558
563
|
return new Map(buildings.map(({ buildingId, quantity }) => [buildingId, quantity]));
|
|
559
564
|
}
|
|
565
|
+
/** The layout a design finalizes to. A design records signed changes, not a
|
|
566
|
+
* layout: the game adds them to the stake's buildings, and a building that
|
|
567
|
+
* reaches zero drops out (#1177). */
|
|
568
|
+
function finalLayout(buildings, changes) {
|
|
569
|
+
const layout = quantities(buildings);
|
|
570
|
+
for (const { buildingId, quantity } of changes) {
|
|
571
|
+
const next = (layout.get(buildingId) ?? 0) + quantity;
|
|
572
|
+
if (next === 0)
|
|
573
|
+
layout.delete(buildingId);
|
|
574
|
+
else
|
|
575
|
+
layout.set(buildingId, next);
|
|
576
|
+
}
|
|
577
|
+
return layout;
|
|
578
|
+
}
|
|
579
|
+
/** Whether a design only removes buildings. The game skips its final-layout
|
|
580
|
+
* checks, building research included, when such a design finalizes. */
|
|
581
|
+
function removesOnly(changes) {
|
|
582
|
+
const amounts = [...changes.values()];
|
|
583
|
+
return (amounts.some((amount) => amount < 0) &&
|
|
584
|
+
amounts.every((amount) => amount <= 0));
|
|
585
|
+
}
|
|
586
|
+
/** Names each building in a layout that needs research the Character lacks,
|
|
587
|
+
* with the missing research tags. The game refuses to finalize such a layout. */
|
|
588
|
+
function missingBuildingResearch(layout, definitions, researchTags, game) {
|
|
589
|
+
const missing = [];
|
|
590
|
+
for (const [buildingId] of layout) {
|
|
591
|
+
const definition = definitions.get(buildingId);
|
|
592
|
+
if (definition === undefined) {
|
|
593
|
+
fail(`Building ${String(buildingId)} has no definition in the current Game catalog. Refresh the Claim Stake and definitions before retrying.`, game);
|
|
594
|
+
}
|
|
595
|
+
const tags = definition.researchRequirementIds.filter((tag) => !researchTags.includes(tag));
|
|
596
|
+
if (tags.length > 0)
|
|
597
|
+
missing.push(`${definition.name} (research tag${tags.length === 1 ? '' : 's'} ${tags.join(', ')})`);
|
|
598
|
+
}
|
|
599
|
+
return missing;
|
|
600
|
+
}
|
|
560
601
|
function sameQuantities(left, right) {
|
|
561
602
|
const leftById = quantities(left);
|
|
562
603
|
const rightById = quantities(right);
|
|
@@ -787,6 +828,14 @@ function buildingDescription(change, name) {
|
|
|
787
828
|
* warns instead that the finalized stake would be over-full, which leaves
|
|
788
829
|
* Fleet transfers unable to unload into it until enough cargo is loaded out.
|
|
789
830
|
*
|
|
831
|
+
* A pending design records signed changes on top of the stake's buildings, so
|
|
832
|
+
* the planner checks the layout the stake's buildings, the recorded changes and
|
|
833
|
+
* these changes produce. The game records a design whose buildings need
|
|
834
|
+
* research the Character lacks but refuses to finalize it, so the description
|
|
835
|
+
* warns and names each building and missing research tag. A design that only
|
|
836
|
+
* removes buildings gets no research warning: the game skips its final-layout
|
|
837
|
+
* checks when such a design finalizes.
|
|
838
|
+
*
|
|
790
839
|
* Entering a design adds the design state and an entry for each building id
|
|
791
840
|
* the design does not yet hold. The program funds that growth, up to the
|
|
792
841
|
* stake's rent floor, from the Profile vault with the signing key; the Plan
|
|
@@ -835,7 +884,7 @@ export async function planClaimStakeBuildingChanges(ctx, stake, input) {
|
|
|
835
884
|
}
|
|
836
885
|
const planetBody = await requireDesignStakePlanet(ctx.programs, loaded.currentBody, stake, game, action);
|
|
837
886
|
const { system } = planetBody;
|
|
838
|
-
const { account: characterAccount } = requireProfileCharacter(ctx.programs, loaded.extraAccounts[0], character, profile, game, action);
|
|
887
|
+
const { account: characterAccount, current: currentCharacter } = requireProfileCharacter(ctx.programs, loaded.extraAccounts[0], character, profile, game, action);
|
|
839
888
|
const [ownership, profileFaction] = await Promise.all([
|
|
840
889
|
deriveFactionOwnershipAddress(ctx.programs, game, 'starbase', system),
|
|
841
890
|
deriveProfileFactionAddress(ctx.programs, profile),
|
|
@@ -875,7 +924,8 @@ export async function planClaimStakeBuildingChanges(ctx, stake, input) {
|
|
|
875
924
|
if (claimDefinition === undefined) {
|
|
876
925
|
fail(`Claim Stake definition ${String(stake.claimStakeDefinitionId)} is absent from the current Game catalog. Refresh the Claim Stake and definitions before retrying.`, game);
|
|
877
926
|
}
|
|
878
|
-
|
|
927
|
+
// A pending design holds signed changes on top of the stake's buildings.
|
|
928
|
+
const pendingChanges = stake.state.kind === 'design' ? stake.state.buildings : [];
|
|
879
929
|
if (currentStake.state.kind !== stake.state.kind ||
|
|
880
930
|
(stake.state.kind === 'design' &&
|
|
881
931
|
(currentStake.state.kind !== 'design' ||
|
|
@@ -884,7 +934,7 @@ export async function planClaimStakeBuildingChanges(ctx, stake, input) {
|
|
|
884
934
|
fail(`Claim Stake ${stake.address} lifecycle state or exact design sequence changed. Refresh it and retry building changes.`, stake.address);
|
|
885
935
|
}
|
|
886
936
|
const sequenceId = stake.state.kind === 'design' ? stake.state.sequenceId : 0;
|
|
887
|
-
const result =
|
|
937
|
+
const result = finalLayout(stake.buildings, pendingChanges);
|
|
888
938
|
const definitions = new Map(freshGame.data.buildings.definitions.map((definition) => [
|
|
889
939
|
definition.id,
|
|
890
940
|
definition,
|
|
@@ -1010,6 +1060,18 @@ export async function planClaimStakeBuildingChanges(ctx, stake, input) {
|
|
|
1010
1060
|
const overFull = currentStake.production.cargoPod.storageCost > resourceStorageRaw
|
|
1011
1061
|
? ` Warning: after finalization Claim Stake ${stake.address} would have ${String(resourceStorageRaw)} raw resource storage for the ${String(currentStake.production.cargoPod.storageCost)} storage units of cargo it holds; the game accepts this and leaves the stake over-full, so Fleet transfers cannot unload into it until enough cargo is loaded out.`
|
|
1012
1062
|
: '';
|
|
1063
|
+
// The game records a design whose buildings need research the Character
|
|
1064
|
+
// lacks, but refuses to finalize it (#1177), so this only warns.
|
|
1065
|
+
const designChanges = finalLayout(pendingChanges, options.buildingChanges.map(({ buildingId, kind, quantity }) => ({
|
|
1066
|
+
buildingId,
|
|
1067
|
+
quantity: kind === 'add' ? quantity : -quantity,
|
|
1068
|
+
})));
|
|
1069
|
+
const unresearched = removesOnly(designChanges)
|
|
1070
|
+
? []
|
|
1071
|
+
: missingBuildingResearch(result, definitions, currentCharacter.modifiers.values.researchTags, game);
|
|
1072
|
+
const researchWarning = unresearched.length === 0
|
|
1073
|
+
? ''
|
|
1074
|
+
: ` Warning: Character ${character} lacks the research for ${unresearched.join('; ')}. The game records this design but refuses to finalize it until the Character unlocks that research; unlock it before finalizing, or remove the building.`;
|
|
1013
1075
|
const currencyCache = await claimStakeCurrencyCache(ctx.programs, game);
|
|
1014
1076
|
const xp = await resolveClaimStakeXp(ctx, game);
|
|
1015
1077
|
const instruction = adaptClaimStakeBuildingChangesInstruction(ctx.programs, {
|
|
@@ -1029,7 +1091,7 @@ export async function planClaimStakeBuildingChanges(ctx, stake, input) {
|
|
|
1029
1091
|
});
|
|
1030
1092
|
// The grown design is funded from the Profile vault.
|
|
1031
1093
|
const storage = await planClaimStakeStorage(ctx, instruction, profile, [stakeAccount], 'Claim Stake building changes');
|
|
1032
|
-
const description = `Change buildings on Claim Stake ${stake.address}: ${descriptions.join('; ')}.${overFull} ${storage.disclosure}`;
|
|
1094
|
+
const description = `Change buildings on Claim Stake ${stake.address}: ${descriptions.join('; ')}.${overFull}${researchWarning} ${storage.disclosure}`;
|
|
1033
1095
|
return buildPlannerPlan(ctx.programs, {
|
|
1034
1096
|
kind: 'claim-stakes.building-changes',
|
|
1035
1097
|
preconditions: [
|
|
@@ -1064,6 +1126,12 @@ export async function planClaimStakeBuildingChanges(ctx, stake, input) {
|
|
|
1064
1126
|
* CurrencyCache, and a known positive rent balance. Rent timing and the final
|
|
1065
1127
|
* crew/building validation remain chain-authoritative.
|
|
1066
1128
|
*
|
|
1129
|
+
* The finalized layout is the stake's buildings plus the design's recorded
|
|
1130
|
+
* changes. The game refuses to finalize a design that adds buildings when any
|
|
1131
|
+
* building in that layout needs research the Character lacks, so the planner
|
|
1132
|
+
* refuses it first and names each building and missing research tag. A design
|
|
1133
|
+
* that only removes buildings is not checked, as in the game.
|
|
1134
|
+
*
|
|
1067
1135
|
* Finalization can draw Profile storage this Plan does not bound: a removed
|
|
1068
1136
|
* building's refund can open a Starbase Player cargo line, and a final layout
|
|
1069
1137
|
* that produces a new resource raises the stake's rent floor. The program
|
|
@@ -1126,7 +1194,19 @@ export async function planFinalizeClaimStakeBuildingChanges(ctx, stake, input) {
|
|
|
1126
1194
|
requireCommittedCrewVersion(currentStake, stake, 'finalized');
|
|
1127
1195
|
const planet = await requireDesignStakePlanet(ctx.programs, loaded.currentBody, stake, game, action);
|
|
1128
1196
|
const { system } = planet;
|
|
1129
|
-
const { account: characterAccount } = requireProfileCharacter(ctx.programs, loaded.extraAccounts[0], character, profile, game, action);
|
|
1197
|
+
const { account: characterAccount, current: currentCharacter } = requireProfileCharacter(ctx.programs, loaded.extraAccounts[0], character, profile, game, action);
|
|
1198
|
+
// The game checks every building's research when a design that adds
|
|
1199
|
+
// buildings finalizes (#1177).
|
|
1200
|
+
const designChanges = quantities(stake.state.buildings);
|
|
1201
|
+
const unresearched = removesOnly(designChanges)
|
|
1202
|
+
? []
|
|
1203
|
+
: missingBuildingResearch(finalLayout(stake.buildings, stake.state.buildings), new Map(freshGame.data.buildings.definitions.map((definition) => [
|
|
1204
|
+
definition.id,
|
|
1205
|
+
definition,
|
|
1206
|
+
])), currentCharacter.modifiers.values.researchTags, game);
|
|
1207
|
+
if (unresearched.length > 0) {
|
|
1208
|
+
fail(`Character ${character} lacks the research for ${unresearched.join('; ')}, which the finalized design of Claim Stake ${stake.address} needs, and the game refuses this finalization. Unlock that research, refresh the Character, and retry, or cancel the design.`, character);
|
|
1209
|
+
}
|
|
1130
1210
|
const currencyCache = await claimStakeCurrencyCache(ctx.programs, game);
|
|
1131
1211
|
const { currentSystem, extraAccounts: [currencyCandidate], player, playerAccount, starbase, systemAccount, } = await readStakeStarbase(ctx, stake, game, system, character, profile, action, [currencyCache]);
|
|
1132
1212
|
requireStakeRegistered(planet.details.claimedPlots, stake, starbase.level, action);
|
|
@@ -1524,14 +1604,15 @@ function requireClaimStakeStorage(address, usedAfterLoads, requested, total) {
|
|
|
1524
1604
|
fail(`Claim Stake ${address} resource storage has ${String(remaining)} raw capacity units remaining after this transfer's loads, counting the Fuel the stake stores, but this transfer requires ${String(requested)} for its unloads. The game checks every unloaded line, Fuel included, against this storage when the transfer starts. Reduce the unloads, load more cargo out of the stake, or free storage, refresh both snapshots, and retry.`, address);
|
|
1525
1605
|
}
|
|
1526
1606
|
}
|
|
1527
|
-
/** Fuel a Claim Stake with a Tier 1 Central Hub was observed to
|
|
1528
|
-
* PTR, before its Storage Modules' storage (#1162, D123). */
|
|
1607
|
+
/** Fuel a Claim Stake with a Tier 1 Central or Cultivation Hub was observed to
|
|
1608
|
+
* store on z.ink PTR, before its Storage Modules' storage (#1162, D123). */
|
|
1529
1609
|
const OBSERVED_TIER_1_HUB_FUEL = 169n;
|
|
1530
|
-
/** Building tags of Claim Stake Central
|
|
1610
|
+
/** Building tags of Claim Stake hubs (Central and Cultivation Hubs both
|
|
1611
|
+
* provide 40001) and Storage Modules. */
|
|
1531
1612
|
const CENTRAL_HUB_TAG = 40001;
|
|
1532
1613
|
const STORAGE_MODULE_TAG = 40002;
|
|
1533
1614
|
/** Warns, without refusing, when a transfer's Fuel unload would leave a Claim
|
|
1534
|
-
* Stake with a Tier 1 Central Hub holding more Fuel than such stakes were
|
|
1615
|
+
* Stake with a Tier 1 Central or Cultivation Hub holding more Fuel than such stakes were
|
|
1535
1616
|
* observed to store: 169 plus each Storage Module's storage. The game applies
|
|
1536
1617
|
* a Fuel limit only when the transfer exits, which a simulation cannot reach,
|
|
1537
1618
|
* so other hub tiers get no warning. */
|
|
@@ -1564,7 +1645,7 @@ async function observedFuelStorageWarning(ctx, address, stake, fuelCargoId, unlo
|
|
|
1564
1645
|
if (stored + unloaded <= observed)
|
|
1565
1646
|
return undefined;
|
|
1566
1647
|
const room = stored < observed ? observed - stored : 0n;
|
|
1567
|
-
return `Warning: Claim Stake ${address} would hold ${String(stored + unloaded)} Fuel after this transfer, more than the ${String(observed)} Fuel that z.ink PTR stakes with
|
|
1648
|
+
return `Warning: Claim Stake ${address} would hold ${String(stored + unloaded)} Fuel after this transfer, more than the ${String(observed)} Fuel that z.ink PTR stakes with a Tier 1 Central or Cultivation Hub and the same Storage Modules have been observed to store. On PTR such transfers start, but their exit returns the Fleet to idle without moving any cargo. Unload at most ${String(room)} Fuel, or add Storage Modules, to stay within the observed amount; the game decides at exit.`;
|
|
1568
1649
|
}
|
|
1569
1650
|
/** Reads a Fleet's cargo-hold balance; Claim Stake transfers never touch the
|
|
1570
1651
|
* fuel tank or ammo bank, so Fuel and Ammunition count only when in the hold. */
|
|
@@ -1593,7 +1674,8 @@ function describeCargoRequests(direction, requests) {
|
|
|
1593
1674
|
* transfer exits, the game accrues production again and also limits Fuel to the
|
|
1594
1675
|
* stake's separate fuel storage. The planner does not enforce that storage: if
|
|
1595
1676
|
* the cargo no longer fits at exit, the exit returns the Fleet to idle without
|
|
1596
|
-
* moving cargo. For a stake with a Tier 1 Central Hub, the
|
|
1677
|
+
* moving cargo. For a stake with a Tier 1 Central or Cultivation Hub, the
|
|
1678
|
+
* description warns,
|
|
1597
1679
|
* without refusing, when a Fuel unload would leave the stake holding more Fuel
|
|
1598
1680
|
* than such stakes were observed to store on z.ink PTR: 169 plus each Storage
|
|
1599
1681
|
* Module's storage. Other hub tiers were not observed and get no warning.
|