[wip] updating exporters for 2.5 (#75)

* Add Card Regions to DFCs
* Add Hashes
* Add crop_multi_image to help crop with card regions
* bugfix exporters and organize the list
* add dfc splitter support for Cockatrice and Lackey exporters
* fix sizing bugs on Planesculptors exporter
* update icons on exporters missing them
* update namecheck exporter and improve near checking

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-09-24 09:52:17 -05:00
committed by GitHub
parent 9668a1de6f
commit 9a7b7949e8
37 changed files with 1460 additions and 668 deletions

View File

@@ -1,7 +1,7 @@
mse version: 2.0.0
short name: MWS
full name: Plugin Exporter
position hint: 005
position hint: 900
icon: icon.png
version: 2014-01-20
#Remember to update version at bottom of file.
@@ -370,8 +370,8 @@ script:
else if contains(card.shape, match:"leveler") then write_leveler()
else write_normal()
}
write_cards := to_text(for each card in sort_list(cards, order_by: {card.card_number}) do write_card())
write_images := if options.export_images then (for each card in cards do write_image_file((if options.image_type =="full" then card else card.image), file:"{card.name}{if options.image_type == "full" then ".full" else ""}.jpg"))
write_cards := to_text(for each card in sort_list(set, order_by: {card.card_number}) do write_card())
write_images := if options.export_images then (for each card in cards do write_image_file((if options.image_type =="full" then card else card.image), file:"{card.name}{if options.image_type == "full" then ".full" else ""}.jpg")) else ""
to_string(set.title+" Spoiler List\n"
+set.description+"\n"
+"Spoiler List created on "+options.date_created+"\n"