Frontmatter updates and new custom deck

This commit is contained in:
2026-06-25 13:35:59 -04:00
parent 0289063d29
commit ccfe809609
309 changed files with 1963 additions and 61 deletions
+6 -1
View File
@@ -58,7 +58,9 @@ foreach (var file in mdFiles)
: null,
ImmortalizeFrom = StripWikiLink(yaml.GetValueOrDefault("immortalizeFrom")),
ImmortalizeWhen = NullIfNa(StripWikiLinks(yaml.GetValueOrDefault("immortalizeWhen"))),
ImageFile = imageFile
ImageFile = imageFile,
Artist = yaml.GetValueOrDefault("artist"),
Rarity = yaml.GetValueOrDefault("rarity"),
};
cards.Add(card);
@@ -115,6 +117,9 @@ for (var i = 0; i < cards.Count; i++)
WriteStrProp(writer, "ImmortalizeFrom", c.ImmortalizeFrom, 3);
WriteStrProp(writer, "ImmortalizeWhen", c.ImmortalizeWhen, 3);
WriteStrProp(writer, "ImageFile", c.ImageFile, 3);
WriteStrProp(writer, "Artist", c.Artist, 3);
WriteStrProp(writer, "Rarity", c.Rarity, 3);
var comma = i < cards.Count - 1 ? "," : "";
writer.WriteLine($" }}{comma}");