price -> cost

This commit is contained in:
Dylan Pizzo 2025-01-06 22:14:58 -05:00
parent 0099624165
commit 28f214fb51
3 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ const drawStandardCard = async (
// Draw the types
// Draw the cost
context.font = "90pt DominionText";
await renderDominionText(context, parse(card.price), 210, 1940, 200);
await renderDominionText(context, parse(card.cost), 210, 1940, 200);
// Draw the preview
// Draw the icon
// Draw the credit

View File

@ -9,6 +9,6 @@ export const sampleCard: DominionCard = {
artist: "",
author: "",
version: "",
price: "$",
cost: "$",
preview: "",
};

View File

@ -42,7 +42,7 @@ export type DominionCard =
artist: string;
author: string;
version: string;
price: DominionText;
cost: DominionText;
preview?: DominionText;
}
| {
@ -54,7 +54,7 @@ export type DominionCard =
artist: string;
author: string;
version: string;
price: DominionText;
cost: DominionText;
};
export type DominionCustomSymbol = {