mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
vs-spoiler export template uses 'cards' instead of 'set.cards'
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1126 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -137,7 +137,7 @@ script:
|
||||
}</ul>"
|
||||
}
|
||||
write_group := {
|
||||
cards := filter_list(set.cards, filter: { contains(match:sort_index(card:input), code) } )
|
||||
cards := filter_list(cards, filter: { contains(match:sort_index(card:input), code) } )
|
||||
count := number_of_items(in:cards)
|
||||
if count > 0 then
|
||||
"<h2>{title} ({count} {if count == 1 then "card" else "cards"})</h2>" +
|
||||
@@ -176,7 +176,7 @@ script:
|
||||
write_group(title: "Location", code:"4") +
|
||||
write_group(title: "Plot Twist", code:"5")
|
||||
else
|
||||
write_cards(cards: set.cards)
|
||||
write_cards(cards: cards)
|
||||
}
|
||||
<script><!--
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user