From ef23a2b452c6d6ee19fe4c055dea117f17b18d4f Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:32:57 -0600 Subject: [PATCH] update kaldheim, fix advub bug --- data/magic-m15-adventure.mse-style/style | 2 +- .../style | 78 +++++++++++++++++- .../walker_mask.png | Bin 0 -> 6466 bytes 3 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 data/magic-m15-showcase-kaldheim.mse-style/walker_mask.png diff --git a/data/magic-m15-adventure.mse-style/style b/data/magic-m15-adventure.mse-style/style index 0df818511..5488abea7 100644 --- a/data/magic-m15-adventure.mse-style/style +++ b/data/magic-m15-adventure.mse-style/style @@ -133,7 +133,7 @@ init script: spot_pt := { color_background(type:"spotpt", base_hybrid:card_hybrid, folder:"blend_masks/") } crown_background := { color_background(type:"crown", base_hybrid: card_hybrid, folder:"blend_masks/")} - beyond_background := { color_background(type:"ubcard", base_hybrid: card_hybrid, folder:template_prefix["ubcard"], blend_type:"card")} + beyond_background := { color_background(type:"ubcard", base_hybrid: card_hybrid, folder:template_prefix["card"], blend_type:"card")} # Use the normal tap symbol mana_t := { diff --git a/data/magic-m15-showcase-kaldheim.mse-style/style b/data/magic-m15-showcase-kaldheim.mse-style/style index 44d1cb551..22da557a8 100644 --- a/data/magic-m15-showcase-kaldheim.mse-style/style +++ b/data/magic-m15-showcase-kaldheim.mse-style/style @@ -96,6 +96,14 @@ init script: un_png := replace@(match:".png", replace: "") is_vehicle := {lang_setting("is_vehicle")(card.sub_type)} card_stamp_offset_top_1 := {1} + + include file: /magic-modules.mse-include/loyalty/init_script + loyalty_abilities_count_real := loyalty_abilities_count + loyalty_abilities_count := { + if mainframe_walker() then loyalty_abilities_count_real(instance:instance, active:active) else 0 + }@(active:false, instance:1) + mainframe_walker := { lang_setting("is_planeswalker")(card.type) } + loyalty_textbox_mask := {"walker_mask.png"} ############################################################## Set info fields set info style: symbol: @@ -124,6 +132,69 @@ styling field: description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks. initial: no include file: /magic-modules.mse-include/stamps/styling_fields +styling field: + type: choice + name: number of textboxes + description: Number of textboxes for abilities and passives. MODIFY CONTENTS OF TEXTBOXES IF THIS HAS TROUBLE UPDATING AFTER BEING CHANGED. + choice: automatic + choice: 1 + choice: 2 + choice: 3 + choice: 4 + choice: 5 + choice: 6 + choice: 7 + choice: 8 + initial: automatic +styling field: + type: text + name: move separators + description: Moves the limits between abilities down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5" +styling field: + type: text + name: move loyalty costs + description: Moves loyalty costs down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5,6" +styling field: + type: text + name: textbox opacity percentage + description: Set the opacity percentage for textboxes. Opaque is 100, transparent is 0, default is 70. +styling field: + type: color + name: textbox color + description: Use the specified color for the textbox background. + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + initial: rgb(255,255,255) +styling field: + type: text + name: stripes opacity percentage + description: Set the opacity percentage for stripes separating abilities. Opaque is 100, transparent is 0, default is 40. +styling field: + type: color + name: stripes color + description: Use the specified color for the textbox background. + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + initial: rgb(0,0,0) +styling field: + type: color + name: rule text color + description: Use the specified color for the rule text. + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + initial: rgb(0,0,0) styling field: type: boolean @@ -218,6 +289,7 @@ include file: /magic-modules.mse-include/stamps/card_fields include file: /magic-modules.mse-include/stamps/stamp_back include file: /magic-modules.mse-include/watermarks/card_fields include file: /magic-modules.mse-include/separators/card_fields +include file: /magic-modules.mse-include/loyalty/card_fields card style: ############################# Background stuff border color: @@ -314,7 +386,7 @@ card style: include file: /magic-modules.mse-include/rarities/choice_images ############################# Text box text: - left: 29 + left: { if mainframe_walker() then 35 else 29 } top: {338-(-chop_top())} width: 314 bottom: {477-chop_bot()} @@ -350,7 +422,7 @@ card style: z index: 900 left: 293 top: 468 - width: 60 + width: { if mainframe_walker() then 0 else 60 } height: 28 alignment: center middle shrink-overflow font: @@ -383,7 +455,7 @@ extra card style: pt box: left: 285 top: 460 - width: 77 + width: { if mainframe_walker() then 0 else 77 } height: 43 z index: 840 visible: { card.pt != "" } diff --git a/data/magic-m15-showcase-kaldheim.mse-style/walker_mask.png b/data/magic-m15-showcase-kaldheim.mse-style/walker_mask.png new file mode 100644 index 0000000000000000000000000000000000000000..33d01c10394d914b63646d5d4b46acde0274109d GIT binary patch literal 6466 zcmeHKX;f3!7QPe<0^$fypF@cewGJUSAwUv{3IrsTNk~ypft#C~kOvt^LK08}2PzaR zqO}!7t#vA;Y5^-MA}A`(s1&gf6j7)a4I(Na5Z*~b5LR8U&$V8EytN>Ub<_!g9gr=aoryqhPHb1lxE+1-oo6@_{cJe%@@vG{zzfIhGKflY>S578V z9hXqbgsjHeQT)jE4VPbD8CmJS2G`e2$-GZ04qYr$Z*K$jZ4`KV2C_UojpcwMauPEc zKIMz1UW^Dn7&dpkVr=Z?z}>Z8UelJ?rbq5OZW|T{pL%7LO|hTjuw{MpxpNs8f83B> zcy#p9^|(%x#%B!&p5SL{iF1ypzHT^a*Q#M??wfe*KhG|lZTUkscA$|&+O@(q@z{&~ zcAg{A5YC}JK1ANFxHa|VlF7aCU5KH+)5{*V9!ek}04gNeydsX!tZ zh($OZCc+WN$r*S&SjQRj6H5I22H-`qeii^9L=_?-k{n>7P)HmcA(MM407!pA?~RbL zL6;JPFqt?`ieg?0OeCK%7=nuq#7p9&G5T`2C=rXnguqn>b|nqjaxu#E2?g5CO+25F&hxC=v1X3p&E-?tv@@p6md> zvjoNVhvA*#~6XWnQ%CL zThI~IP=X9mU|fBk0L!q1Mj;|T2JVl3!5Zy?_lUs-ut&u}SGzc2RB(bQk3c1nc?2GX zN(E&))3}(SssVJFm?u{vQp}wXcm!Mlf$F)!ecFFibB1Q4jKXy104O7nV8S5E@WlRN ziMkuZSgjlJPkgxP9R^)7AkJU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