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