refactor: increase augment description length and update motherboard card layout to support multiline text
This commit is contained in:
parent
4a7aa554f3
commit
a9185baf99
2 changed files with 7 additions and 8 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue