health items
This commit is contained in:
parent
cb3513bd99
commit
62b2b9feca
17 changed files with 611 additions and 141 deletions
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue