This commit is contained in:
cajun
2024-10-04 20:14:15 -05:00
parent 1d593c182c
commit 688c2994c2

View File

@@ -68,6 +68,7 @@ init script:
snowbox: "/magic-modules.mse-include/cards/375 m15 simple/snow/" snowbox: "/magic-modules.mse-include/cards/375 m15 simple/snow/"
stamp:"stamps/round/" stamp:"stamps/round/"
ubstamp:"stamps/ub/" ubstamp:"stamps/ub/"
star: "/magic-modules.mse-include/trims/star/",
] ]
template_suffix := [ template_suffix := [
alias: "alias.png", alias: "alias.png",
@@ -87,16 +88,21 @@ init script:
stamp: "stamp.png" stamp: "stamp.png"
ubstamp: "stamp.png", ubstamp: "stamp.png",
snowbox: "card.jpg" snowbox: "card.jpg"
star: "star.png",
] ]
template := { template := {
template_prefix[type] if type_name(harder_script[type] or else nil) != type_name(nil)
+ input_mixer(input, type:type) then harder_script[type](input, land:false)
+ template_suffix[type] else template_prefix[type]
+ input_mixer(input, type:type)
+ template_suffix[type]
} }
land_template := { land_template := {
template_prefix[type] if type_name(harder_script[type] or else nil) != type_name(nil)
+ input_mixer(input, type:type) then harder_script[type](input, land:true)
+ template_suffix[type] else template_prefix[type]
+ input_mixer(input, type:type)
+ template_suffix[type]
} }
input_mixer := { input_mixer := {
if input == "w" and (type == "card7" or type == "card8" or type == "card9") and (card.card_color != "white") 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 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 # Use the normal tap symbol
mana_t := { mana_t := {
if styling.tap_symbol == "old" then "old" if styling.tap_symbol == "old" then "old"
@@ -889,7 +903,7 @@ extra card style:
z index: -2 z index: -2
stamp backing: stamp backing:
left: 159 left: 159
top: 471 top: { if is_m20() then 471 else 474 }
width: 56 width: 56
height: 26 height: 26
z index: 850 z index: 850