diff --git a/scripts/ikonis-data.js b/scripts/ikonis-data.js index c0def78..51381db 100644 --- a/scripts/ikonis-data.js +++ b/scripts/ikonis-data.js @@ -25,18 +25,12 @@ export function getAugments() { for (const [id, feature] of Object.entries(allFeatures)) { const name = feature.label || feature.name || ""; if (name.startsWith("Ikonis:")) { - const desc = feature.description ? feature.description.replace(/<[^>]*>?/gm, '').trim() : ""; - const lines = desc.split(/\n|\r/).map(l => l.trim()).filter(l => l.length > 0); - - const costLine = lines.find(l => l.toLowerCase().startsWith("cost:")); - const effectLine = lines.find(l => !l.toLowerCase().startsWith("cost:")); - augments.push({ id: id, name: name.replace("Ikonis:", "").trim(), fullName: name, - effect: effectLine || "Native Feature", - cost: costLine || "" + 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 c2596b4..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}}
-
{{aug.cost}}
+
+ {{aug.effect}}
{{else}}