Support Advanced native Homeworld return
Verify and publish checkpoint container / container (push) Successful in 11m10s
Verify and publish checkpoint container / container (push) Successful in 11m10s
This commit is contained in:
1 parent
1cf90f1328
commit
89569e92a1
14 files changed
+429
-39
No files matched your search
@@ -35,9 +35,10 @@ function requireShipment(
|
||||
}
|
||||
|
||||
/** E3 world-to-world transport: use the actual native or foreign source pool.
|
||||
* Guild may also return a foreign garrison to its own world; other own-world
|
||||
* exceptions need separately established permission. The caller owns timing, usage,
|
||||
* funding, bank payment, responses and arrival effects. A purchased ordinary
|
||||
* Basic preserves the printed own-World return restriction; the user-authorized
|
||||
* Advanced revision (physical p.22) permits travel between distinct Homeworlds,
|
||||
* including an actual foreign garrison returning to its own World. The caller
|
||||
* owns timing, usage, funding, bank payment, responses and arrival effects. A purchased ordinary
|
||||
* Karama price takes precedence over the native Guild half rate or its
|
||||
* cancellation; an alliance alone does not grant either price. Independent
|
||||
* Nexus and Junction prices belong to their own grants. */
|
||||
@@ -74,8 +75,8 @@ export function quoteHomeworldShipment(
|
||||
);
|
||||
const native = context.players.find((p) => p.id === destination.native)!;
|
||||
requireShipment(
|
||||
native.id !== player.id || player.faction === 'guild',
|
||||
'Shipment to your own Homeworld needs its specific return permission.',
|
||||
native.id !== player.id || context.advanced || player.faction === 'guild',
|
||||
'In Basic play, shipment to your own Homeworld needs its specific return permission.',
|
||||
);
|
||||
requireShipment(
|
||||
!(player.ally === native.id && native.ally === player.id),
|
||||
|
||||
Reference in new issue
Block a user