Update export-template

This commit is contained in:
cajun
2025-10-10 20:19:01 -05:00
parent a480e31022
commit bad016f7c6

View File

@@ -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]))