Integrate Imperial Homeworld movement with Ornithopter

This commit is contained in:
Quintine committed 2026-10-27 14:06:29 +11:00
1 parent 7f999f4573
commit 97edc3eac8
16 files changed
+1043 -114

No files matched your search

+8
View File
@@ -124,6 +124,14 @@ export function OrnithopterMovement({
{Object.entries(active.cohort.forces)
.filter(([, n]) => n > 0)
.map(([key, n]) => {
const imperial = key === 'homeworld:emperor' ? 'Kaitain'
: key === 'homeworld:emperor:salusa' ? 'Salusa Secundus' : null;
if (imperial) return (
<li key={key}>
{imperial}: {n} forces, including {active.cohort!.elites[key] ?? 0} Sardaukar.
{' '}Use the Imperial movement panel for this group.
</li>
);
const source = splitLocation(key);
return (
<li key={key}>