From 797a2920fd6c2c9f792bb021de3228636c11a3ff Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Sat, 11 Jan 2025 17:55:21 -0600 Subject: [PATCH] Fix #107 --- data/herospath.mse-game/game | 11 +++++++++++ data/planechase.mse-game/game | 12 ++++++++++++ data/saga.mse-game/game | 12 +++++++++++- data/space.mse-game/card_fields | 10 ++++++++++ data/space.mse-game/script | 1 + data/vanguard.mse-game/game | 12 +++++++++++- 6 files changed, 56 insertions(+), 2 deletions(-) diff --git a/data/herospath.mse-game/game b/data/herospath.mse-game/game index 2e5c3007b..f690a227d 100644 --- a/data/herospath.mse-game/game +++ b/data/herospath.mse-game/game @@ -220,6 +220,7 @@ init script: v_mana_num := {max(to_number(set.number_hybrid_variants),0) or else -1} ancestral_mana := {false} white_text := {false} + symbol_font_small_color := { "black" } ############################################################## Set fields set field: @@ -408,6 +409,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/planechase.mse-game/game b/data/planechase.mse-game/game index c7f1cc072..fe598f345 100644 --- a/data/planechase.mse-game/game +++ b/data/planechase.mse-game/game @@ -282,6 +282,8 @@ 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:"")} v_mana_num := {max(to_number(set.number_hybrid_variants),0) or else -1} + + symbol_font_small_color := { "black" } ############################################################## Set fields set field: type: info @@ -554,6 +556,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/saga.mse-game/game b/data/saga.mse-game/game index bd09221c0..a6c330db8 100644 --- a/data/saga.mse-game/game +++ b/data/saga.mse-game/game @@ -268,7 +268,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 @@ -450,6 +450,16 @@ card field: card list column: 2 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/space.mse-game/card_fields b/data/space.mse-game/card_fields index 7c838d1b6..0a82cfe3b 100644 --- a/data/space.mse-game/card_fields +++ b/data/space.mse-game/card_fields @@ -92,6 +92,16 @@ card field: card list width: 50 card list name: CC description: The casting cost 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/space.mse-game/script b/data/space.mse-game/script index c6e148046..80c74ec84 100644 --- a/data/space.mse-game/script +++ b/data/space.mse-game/script @@ -483,3 +483,4 @@ use_hybrid_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:" 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:"")} v_mana_num := {max(to_number(set.number_hybrid_variants),0) or else -1} +symbol_font_small_color := { "black" } diff --git a/data/vanguard.mse-game/game b/data/vanguard.mse-game/game index e3135a233..21a2fe827 100644 --- a/data/vanguard.mse-game/game +++ b/data/vanguard.mse-game/game @@ -213,7 +213,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 @@ -354,6 +354,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