From 79765cda0290d8a85286dcef2f17e2fc379565bc Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Sat, 11 Jan 2025 23:45:11 -0600 Subject: [PATCH] 3.0.6 again --- data/archenemy.mse-game/game | 12 ++- .../style | 78 ++++++++++++++++++- 2 files changed, 86 insertions(+), 4 deletions(-) diff --git a/data/archenemy.mse-game/game b/data/archenemy.mse-game/game index 919825a4a..976d768ab 100644 --- a/data/archenemy.mse-game/game +++ b/data/archenemy.mse-game/game @@ -230,7 +230,7 @@ init script: v_mana_name := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"(.+/|\\.png)", replace:"")} v_mana_loc := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"{v_mana_name()}\\.png", replace:"")} white_text := {false} - + symbol_font_small_color := { "black" } ############################################################## Set fields set field: type: info @@ -408,6 +408,16 @@ card field: card list column: 1 card list width: 150 description: The name of the card +#### compatibility with mana fonts +card field: + type: choice + name: card symbol + description: The symbol of the card. + show statistics: false + card list name: Symbol + card list column: 0920 + card list width: 100 + choice: none ############################# Image card field: type: image 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 != "" }