From 0ce2f4d1fd71912e0d23641e51a96cf57e613a8a Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Fri, 5 Jan 2024 11:35:40 -0600 Subject: [PATCH] update mana on sister games --- data/archenemy.mse-game/game | 40 ++++++++++++++++++++++++++++++++++ data/planechase.mse-game/game | 3 +++ data/saga.mse-game/game | 3 +++ data/space.mse-game/set_fields | 3 +++ data/vanguard.mse-game/game | 3 +++ 5 files changed, 52 insertions(+) diff --git a/data/archenemy.mse-game/game b/data/archenemy.mse-game/game index 3f7c1213e..69b4c20ad 100644 --- a/data/archenemy.mse-game/game +++ b/data/archenemy.mse-game/game @@ -220,6 +220,17 @@ init script: "<{tag}>{input}" } + # Mana font scripts + ancestral_mana := {false} + use_v_mana := {contains(set.custom_mana_symbol_name, match:".png")} + use_large_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"casting")} + use_small_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"text")} + use_color_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"colored") and not use_hybrid_v_mana()} + use_hybrid_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"hybrid")} + 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} + ############################################################## Set fields set field: type: info @@ -280,6 +291,32 @@ set field: name: automatic card numbers initial: yes description: Should card numbers be shown on the cards? +set field: + type: text + name: custom mana symbol name + description: Use mana symbols from magic-mainframe-extras.mse-include. Input NAME.png here, check help below for file instructions. +set field: + type: multiple choice + name: mana symbol options + choice: enable in casting costs + choice: enable in text boxes + choice: colored mana symbols + choice: hybrid with colors +set field: + type: choice + name: mana symbol help + choice: Click here for mana symbol help! + choice: In your mainframe-extrasfolder, create folders named "large" and/or "small" depending on your usage + choice: Large is for only mana costs, small for only text, create both if you use both + choice: Additionally, you can create a "future" folder for M15 Future mana costs + choice: Save NAME.png to the relevant folders. Remember that large symbols have dropshadows + choice: For the name option above, set the address of the image, minus mainframe-extras and large/small/future + choice: Ex: magic-mainframe-extras/cajun/large/hazard.png would use cajun/hazard.png + choice: Standard size is 160x160 for small, 200x200 for small hybrid and future, 165x178 for large, 205x218 for large hybrid + choice: If your symbol mixes with colors (such as Phyrexian mana): Save NAME_w.png, NAME_u.png, etc to those folders too. + choice: If your symbol hybrids with colors (like 2/W): [Note, doesn't work on M15 Future mana costs.] + choice: Save NAME_h.png to those folders too. See mana_bb.png and similar for how this image should look. + choice: Your mana symbol will now be keyed to V (and V/W, V/U, etc. for colored/hybrid symbols). ############################# Default style default set style: title: @@ -329,6 +366,9 @@ default set style: automatic reminder text: render style: checklist direction: vertical + mana symbol options: + render style: checklist + direction: vertical ############################################################## Card fields ############################# Background stuff card field: diff --git a/data/planechase.mse-game/game b/data/planechase.mse-game/game index 34e130133..c289065fe 100644 --- a/data/planechase.mse-game/game +++ b/data/planechase.mse-game/game @@ -490,6 +490,9 @@ default set style: automatic reminder text: render style: checklist direction: vertical + mana symbol options: + render style: checklist + direction: vertical ############################################################## Card fields ############################# Background stuff card field: diff --git a/data/saga.mse-game/game b/data/saga.mse-game/game index 3a8f5d1f1..2b6f68ff2 100644 --- a/data/saga.mse-game/game +++ b/data/saga.mse-game/game @@ -408,6 +408,9 @@ default set style: automatic reminder text: render style: checklist direction: vertical + mana symbol options: + render style: checklist + direction: vertical ############################################################## Card fields ############################# Background stuff card field: diff --git a/data/space.mse-game/set_fields b/data/space.mse-game/set_fields index 92824aa88..269fa9393 100644 --- a/data/space.mse-game/set_fields +++ b/data/space.mse-game/set_fields @@ -167,3 +167,6 @@ default set style: choice images: yes: script: built_in_image("bool_yes") no: script: built_in_image("bool_no") + mana symbol options: + render style: checklist + direction: vertical diff --git a/data/vanguard.mse-game/game b/data/vanguard.mse-game/game index db12e6662..a2800300a 100644 --- a/data/vanguard.mse-game/game +++ b/data/vanguard.mse-game/game @@ -306,6 +306,9 @@ default set style: automatic reminder text: render style: checklist direction: vertical + mana symbol options: + render style: checklist + direction: vertical ############################################################## Card fields ############################# Background stuff card field: