+ {#if focused.factory}
+ {@const type = focused.type as FactoryType}
+ {@const spec = FACTORIES[type]}
+
+
+ Produces 1 {focused.name} card per round when staffed, worth ◈ {MIN_CARD_VALUE[type]}–{MAX_CARD_VALUE[
+ type
+ ]}.
+
+
+ {focused.working
+ ? "Operated by one colonist or robot."
+ : "No operator assigned. This factory produces no cards and scores no VP until staffed."}
+
+ {#if MEGA_CARDS[type]}
+ Every 4 staffed {focused.name} factories can produce one Mega card worth ◈ {MEGA_CARDS[type]!.value} instead
+ of 4 singles.
+
{/if}
+ {#if spec.requires}
+ Building this factory requires {UPGRADE_SPECS[spec.requires].name}.
+
{/if}
+ {#if spec.needsResearchCard}
+ Building this factory requires at least one Research card in the payment.
+
{/if}
+ {:else if focused.effect}
+
+ {#if focused.resource}
Production is automatic; no colonist or robot is needed.
{/if}
+ {/if}
+