health items

This commit is contained in:
Forrest 2026-09-29 12:07:31 -04:00
parent cb3513bd99
commit 62b2b9feca
17 changed files with 611 additions and 141 deletions

View file

@ -10,6 +10,8 @@ export interface CardDef {
/** Printed RAM: play cost and salvage value. Avatars and Servers print none. */
ram: number;
cores: number;
/** Avatar Health: the damage that destroys it (health rule). 0 when not printed. */
health: number;
/** Expansion Slots (Hardware ports). */
slots: number;
/** V / B / G / P, when printed. */
@ -51,6 +53,7 @@ export function loadCards(path = DEFAULT_CARDS_CSV): CardPool {
kind,
ram: num(row['RAM']),
cores: num(row['Cores']),
health: num(row['Health']),
slots: num(row['Expansion Slots']),
type: row['Type'],
text: row['Description'],