From a9185baf999e4566292f401867b56a3658673a93 Mon Sep 17 00:00:00 2001 From: cosmo Date: Sun, 26 Apr 2026 19:11:35 +0200 Subject: [PATCH] refactor: increase augment description length and update motherboard card layout to support multiline text --- scripts/ikonis-data.js | 6 +++--- templates/ikonis-motherboard.hbs | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/ikonis-data.js b/scripts/ikonis-data.js index 7907b02..51381db 100644 --- a/scripts/ikonis-data.js +++ b/scripts/ikonis-data.js @@ -26,11 +26,11 @@ export function getAugments() { const name = feature.label || feature.name || ""; if (name.startsWith("Ikonis:")) { augments.push({ - id: id, // This is the native system key (e.g., "force" or "ikonis-guard") + id: id, name: name.replace("Ikonis:", "").trim(), fullName: name, - effect: feature.description ? feature.description.replace(/<[^>]*>?/gm, '').substring(0, 100) + "..." : "Native Feature", - cost: "Homebrew" + effect: feature.description ? feature.description.replace(/<[^>]*>?/gm, '').substring(0, 200).trim() : "Native Feature", + cost: "" // Cost is included in the description }); } } diff --git a/templates/ikonis-motherboard.hbs b/templates/ikonis-motherboard.hbs index c441293..793d6b6 100644 --- a/templates/ikonis-motherboard.hbs +++ b/templates/ikonis-motherboard.hbs @@ -28,14 +28,13 @@
{{#each ikonis.augments as |aug|}} -
+
-
+
{{aug.name}}
-
-
{{aug.effect}}
-
Cost: {{aug.cost}}
+
+ {{aug.effect}}
{{else}}