price -> cost
This commit is contained in:
parent
0099624165
commit
28f214fb51
@ -120,7 +120,7 @@ const drawStandardCard = async (
|
|||||||
// Draw the types
|
// Draw the types
|
||||||
// Draw the cost
|
// Draw the cost
|
||||||
context.font = "90pt DominionText";
|
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 preview
|
||||||
// Draw the icon
|
// Draw the icon
|
||||||
// Draw the credit
|
// Draw the credit
|
||||||
|
@ -9,6 +9,6 @@ export const sampleCard: DominionCard = {
|
|||||||
artist: "",
|
artist: "",
|
||||||
author: "",
|
author: "",
|
||||||
version: "",
|
version: "",
|
||||||
price: "$",
|
cost: "$",
|
||||||
preview: "",
|
preview: "",
|
||||||
};
|
};
|
||||||
|
@ -42,7 +42,7 @@ export type DominionCard =
|
|||||||
artist: string;
|
artist: string;
|
||||||
author: string;
|
author: string;
|
||||||
version: string;
|
version: string;
|
||||||
price: DominionText;
|
cost: DominionText;
|
||||||
preview?: DominionText;
|
preview?: DominionText;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
@ -54,7 +54,7 @@ export type DominionCard =
|
|||||||
artist: string;
|
artist: string;
|
||||||
author: string;
|
author: string;
|
||||||
version: string;
|
version: string;
|
||||||
price: DominionText;
|
cost: DominionText;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DominionCustomSymbol = {
|
export type DominionCustomSymbol = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user