Support group Guild-rate reserve shipments
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
1eeeb32566
commit
b89c225d5b
9 files changed
+297
-26
No files matched your search
+3
-2
@@ -89,7 +89,7 @@ import {
|
||||
canUseAsKaramaRole,
|
||||
shrineTruthtranceBotAction,
|
||||
} from './shrine';
|
||||
import { reserveShipmentCost } from './shipment-price';
|
||||
import { groupGuildShipmentRate, reserveShipmentCost } from './shipment-price';
|
||||
import { moritaniSpecialKaramaBotAction } from './moritani-special-karama-options';
|
||||
import { quoteSmugglerShipment } from './smuggler-shipment';
|
||||
import { quoteSmugglerNoField } from './smuggler-no-field';
|
||||
@@ -3541,9 +3541,10 @@ function policyActions(g: GameView): Action[] {
|
||||
if (g.ornithopter?.active && me.shipped) return [{ type: 'endMovement' }];
|
||||
const actions: Action[] = [...guildHomeworldShipmentActions(g, level), ...homeworldShipmentActions(g, level)];
|
||||
const targets = destinations(g);
|
||||
const groupGuildRate = groupGuildShipmentRate(g.players, me.id, g.coalitionState);
|
||||
const halfRate = g.karamaShipping?.player === me.id ||
|
||||
(!g.guildRateCanceled &&
|
||||
(me.faction === 'guild' ||
|
||||
(me.faction === 'guild' || groupGuildRate ||
|
||||
g.players.some((p) => p.faction === 'guild' && p.id === me.ally)));
|
||||
const shipmentBudget = (me.spice ?? 0) + g.aid.available;
|
||||
const guildSecret = nexusGuildSecretAllyCanAct(g);
|
||||
|
||||
Reference in new issue
Block a user