Separate Guild transport permission, purchase price and loan approval

This commit is contained in:
Quintine committed 2026-10-15 22:52:37 +11:00
1 parent a12250320c
commit 11adb7dbf3
39 files changed
+1576 -121

No files matched your search

+3 -3
View File
@@ -81,7 +81,7 @@ import {
canUseAsKaramaRole,
shrineTruthtranceBotAction,
} from './shrine';
import { reserveShipmentCost, alliedNoFieldShipmentPricing } from './shipment-price';
import { reserveShipmentCost } from './shipment-price';
import { moritaniSpecialKaramaBotAction } from './moritani-special-karama-options';
import { quoteSmugglerShipment } from './smuggler-shipment';
import { quoteSmugglerNoField } from './smuggler-no-field';
@@ -160,10 +160,10 @@ function alliedNoFieldOffer(g: GameView): Action | null {
alliedNoField?.owner === me.id &&
alliedNoField.canOfferAlly &&
!alliedNoField.allyDeclined &&
alliedNoField.private && ally
alliedNoField.private && alliedNoField.allyPricing && ally
) {
const inventory = alliedNoField.private;
const pricing = alliedNoFieldShipmentPricing(g, ally);
const pricing = alliedNoField.allyPricing;
const oldMarker = inventory.deployed;
const oldValue =
inventory.tokens.find((token) => token.id === oldMarker?.tokenId)