Update export-template
This commit is contained in:
@@ -19,10 +19,6 @@ option field:
|
|||||||
choice: .png
|
choice: .png
|
||||||
choice: no
|
choice: no
|
||||||
description: Also exports the images to a folder
|
description: Also exports the images to a folder
|
||||||
option field:
|
|
||||||
type: text
|
|
||||||
name: toggle add owner
|
|
||||||
description: A Steam username to add to the card.
|
|
||||||
|
|
||||||
# By giantweevil: https://steamcommunity.com/sharedfiles/filedetails/?id=2551006084
|
# By giantweevil: https://steamcommunity.com/sharedfiles/filedetails/?id=2551006084
|
||||||
script:
|
script:
|
||||||
@@ -64,7 +60,6 @@ script:
|
|||||||
+ "\{ \"Nickname\":\"" + clean_name(card.name)
|
+ "\{ \"Nickname\":\"" + clean_name(card.name)
|
||||||
+ " | " + trim(remove_tags(card.type))
|
+ " | " + trim(remove_tags(card.type))
|
||||||
+ " | CMC" + card.cmc
|
+ " | CMC" + card.cmc
|
||||||
+ (if options.toggle_add_owner != "" then " | " + sanitize(options.toggle_add_owner) else "")
|
|
||||||
+ "\",\"Description\":\"" + sanitize(card.rule_text) + "\"\},"
|
+ "\",\"Description\":\"" + sanitize(card.rule_text) + "\"\},"
|
||||||
}
|
}
|
||||||
write_cards := for x from 0 to length(alphabetized)-1 do to_text(write_card(x, card:alphabetized[x]))
|
write_cards := for x from 0 to length(alphabetized)-1 do to_text(write_card(x, card:alphabetized[x]))
|
||||||
|
|||||||
Reference in New Issue
Block a user