Files
magic-set-editor-fork/data/magic-webdrafter.mse-export-template/export-template
CajunAvenger eda330eee8 Initial commit
2021-07-09 02:07:58 -05:00

31 lines
641 B
Plaintext

mse version: 0.3.8
short name: WebDrafter
full name: WebDrafter Exporter
position hint: 006
version: 2015-02-14
installer group: magic/Export/webdrafter
depends on:
package: magic.mse-game
version: 2009-07-23
game: magic
file type: *.txt|*.txt|*.*|*.*
# By caeonosphere
# Written by modifying thequinn's IsochronDrafter exporter ()
script:
write_card := {
"\n"+card.name
+"\n"+card.rarity
+"\n"+card.card_color
+"\n"+card.type
+"\n"+cmc(card.casting_cost)
+"\n"
}
write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card())
to_string(
set.title+"\n"
+write_cards)