refactor: increase augment description length and update motherboard card layout to support multiline text

This commit is contained in:
CPTN Cosmo 2026-04-26 19:11:35 +02:00
parent 4a7aa554f3
commit a9185baf99
2 changed files with 7 additions and 8 deletions

View file

@ -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
});
}
}