From 688c2994c2318226fd41cf9f7c5fded57dd2c2f6 Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Fri, 4 Oct 2024 20:14:15 -0500 Subject: [PATCH] 3.0.5 --- .../style | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/data/magic-m15-mainframe-tokens.mse-style/style b/data/magic-m15-mainframe-tokens.mse-style/style index 3cf7d5210..732a7ba5c 100644 --- a/data/magic-m15-mainframe-tokens.mse-style/style +++ b/data/magic-m15-mainframe-tokens.mse-style/style @@ -68,6 +68,7 @@ init script: snowbox: "/magic-modules.mse-include/cards/375 m15 simple/snow/" stamp:"stamps/round/" ubstamp:"stamps/ub/" + star: "/magic-modules.mse-include/trims/star/", ] template_suffix := [ alias: "alias.png", @@ -87,16 +88,21 @@ init script: stamp: "stamp.png" ubstamp: "stamp.png", snowbox: "card.jpg" + star: "star.png", ] template := { - template_prefix[type] - + input_mixer(input, type:type) - + template_suffix[type] + if type_name(harder_script[type] or else nil) != type_name(nil) + then harder_script[type](input, land:false) + else template_prefix[type] + + input_mixer(input, type:type) + + template_suffix[type] } land_template := { - template_prefix[type] - + input_mixer(input, type:type) - + template_suffix[type] + if type_name(harder_script[type] or else nil) != type_name(nil) + then harder_script[type](input, land:true) + else template_prefix[type] + + input_mixer(input, type:type) + + template_suffix[type] } input_mixer := { if input == "w" and (type == "card7" or type == "card8" or type == "card9") and (card.card_color != "white") @@ -104,6 +110,14 @@ init script: else input } + landless := { + landless_ar[input] or else false + } + landless_ar := [ star:true ] + harder_script := [ + custom_border: custom_border_image, + alt_nyx: alt_nyx_template + ] # Use the normal tap symbol mana_t := { if styling.tap_symbol == "old" then "old" @@ -889,7 +903,7 @@ extra card style: z index: -2 stamp backing: left: 159 - top: 471 + top: { if is_m20() then 471 else 474 } width: 56 height: 26 z index: 850