From b7385c5b201c4b732cd35c5d7d292b993b15a002 Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Thu, 3 Oct 2024 21:54:07 -0500 Subject: [PATCH] neonafroman bugfixes --- data/magic-m15-altered.mse-style/style | 1 + data/magic-m15-mainframe-dfc.mse-style/style | 2 ++ data/magic-m15-meld-3in1.mse-style/style | 2 +- .../backs/375 ub/pw/artifact_blend_stamp.png | Bin 0 -> 83 bytes .../stamps/backs/375 ub/pw/hybrid_blend_stamp.png | Bin 0 -> 83 bytes .../backs/375 ub/pw/multicolor_blend_stamp.png | Bin 0 -> 83 bytes data/magic.mse-game/script | 6 +++--- 7 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 data/magic-modules.mse-include/stamps/backs/375 ub/pw/artifact_blend_stamp.png create mode 100644 data/magic-modules.mse-include/stamps/backs/375 ub/pw/hybrid_blend_stamp.png create mode 100644 data/magic-modules.mse-include/stamps/backs/375 ub/pw/multicolor_blend_stamp.png diff --git a/data/magic-m15-altered.mse-style/style b/data/magic-m15-altered.mse-style/style index 2378b5aed..fe95343d2 100644 --- a/data/magic-m15-altered.mse-style/style +++ b/data/magic-m15-altered.mse-style/style @@ -967,6 +967,7 @@ styling field: type: text name: custom symbol description: Uses a custom Lesson symbol from data/magic-mainframe-extras.mse-include + script: verify_symbol_image(value) styling field: type: text name: card watermark diff --git a/data/magic-m15-mainframe-dfc.mse-style/style b/data/magic-m15-mainframe-dfc.mse-style/style index 32b446530..6ae8c64f2 100644 --- a/data/magic-m15-mainframe-dfc.mse-style/style +++ b/data/magic-m15-mainframe-dfc.mse-style/style @@ -1704,10 +1704,12 @@ styling field: type: text name: custom symbol one description: Uses a custom DFC symbol from data/magic-mainframe-extras.mse-include + script: verify_symbol_image(value) styling field: type: text name: custom symbol two description: Uses a custom DFC symbol from data/magic-mainframe-extras.mse-include + script: verify_symbol_image(value) styling field: type: text name: card watermark diff --git a/data/magic-m15-meld-3in1.mse-style/style b/data/magic-m15-meld-3in1.mse-style/style index 1ea25bf16..ac83dc224 100644 --- a/data/magic-m15-meld-3in1.mse-style/style +++ b/data/magic-m15-meld-3in1.mse-style/style @@ -833,4 +833,4 @@ extra card style: z index: 840 visible: { card.pt_3 != "" } render style: image - image: pt.png + image: { template_prefix["pt"] + "cpt.png" } diff --git a/data/magic-modules.mse-include/stamps/backs/375 ub/pw/artifact_blend_stamp.png b/data/magic-modules.mse-include/stamps/backs/375 ub/pw/artifact_blend_stamp.png new file mode 100644 index 0000000000000000000000000000000000000000..fe54ebab9af51104b081379d5df65e17376f37de GIT binary patch literal 83 zcmeAS@N?(olHy`uVBq!ia0vp^7CkU|`&_xbhQ_#o+1c=d#Wzp$P!t;uR49 literal 0 HcmV?d00001 diff --git a/data/magic-modules.mse-include/stamps/backs/375 ub/pw/hybrid_blend_stamp.png b/data/magic-modules.mse-include/stamps/backs/375 ub/pw/hybrid_blend_stamp.png new file mode 100644 index 0000000000000000000000000000000000000000..fe54ebab9af51104b081379d5df65e17376f37de GIT binary patch literal 83 zcmeAS@N?(olHy`uVBq!ia0vp^7CkU|`&_xbhQ_#o+1c=d#Wzp$P!t;uR49 literal 0 HcmV?d00001 diff --git a/data/magic-modules.mse-include/stamps/backs/375 ub/pw/multicolor_blend_stamp.png b/data/magic-modules.mse-include/stamps/backs/375 ub/pw/multicolor_blend_stamp.png new file mode 100644 index 0000000000000000000000000000000000000000..fe54ebab9af51104b081379d5df65e17376f37de GIT binary patch literal 83 zcmeAS@N?(olHy`uVBq!ia0vp^7CkU|`&_xbhQ_#o+1c=d#Wzp$P!t;uR49 literal 0 HcmV?d00001 diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index 90c40cc5c..822f9b2fd 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -33,7 +33,7 @@ include file: language include file: statistics_script include file: /magic-blends.mse-include/new-blends ############################################################## Versioning -version_date := {"2024-10-01 Template Pack 3.0.4: Magic Modules & Showcase Catchup - Custom Symbol padding"} +version_date := {"2024-10-01 Template Pack 3.0.5: Magic Modules & Showcase Catchup - UBWalker fix"} version := version_date ############################################################## Common filters ############################################################## Utility @@ -4491,11 +4491,11 @@ verify_symbol_image := { custom_symbol_image := { src := if style_src != "" then style_src else set["custom_symbol_"+input] array := split_comma(src) - if not has_png(array.0) or array.1 == "Not found" + if not has_png(array.0) or (array.1 or else "" == "Not found") then "/magic-modules.mse-include/symbols/aetherprint.png" else ( link := "/magic-mainframe-extras.mse-include/" + array.0 - if array.3 == "+" then link := enlarge(link, border_size:0.189) + if array.3 or else "" == "+" then link := enlarge(link, border_size:0.189) link ) }@(style_src:"")