add snow and nyx m20 tokens
This commit is contained in:
BIN
data/magic-m15-mainframe-tokens.mse-style/m20/nyx_mask.png
Normal file
BIN
data/magic-m15-mainframe-tokens.mse-style/m20/nyx_mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 179 B |
BIN
data/magic-m15-mainframe-tokens.mse-style/m20/snowbox_mask.png
Normal file
BIN
data/magic-m15-mainframe-tokens.mse-style/m20/snowbox_mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 B |
BIN
data/magic-m15-mainframe-tokens.mse-style/m20/type_mask.png
Normal file
BIN
data/magic-m15-mainframe-tokens.mse-style/m20/type_mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 186 B |
@@ -65,6 +65,7 @@ init script:
|
||||
snow: "/magic-modules.mse-include/trims/snow/"
|
||||
nyx: "/magic-modules.mse-include/trims/nyx/"
|
||||
pt:"/magic-modules.mse-include/pts/375 m15/"
|
||||
snowbox: "/magic-modules.mse-include/cards/375 m15 simple/snow/"
|
||||
stamp:"stamps/round/"
|
||||
ubstamp:"stamps/ub/"
|
||||
]
|
||||
@@ -84,7 +85,8 @@ init script:
|
||||
nyx: "nyx.png"
|
||||
pt: "pt.png"
|
||||
stamp: "stamp.png"
|
||||
ubstamp: "stamp.png"
|
||||
ubstamp: "stamp.png",
|
||||
snowbox: "card.jpg"
|
||||
]
|
||||
template := {
|
||||
template_prefix[type]
|
||||
@@ -123,8 +125,8 @@ init script:
|
||||
mtgo_abil := {contains(styling.frames, match: "MTGO Ability") and not is_m20()}
|
||||
is_legend := { auto_legend() or contains(styling.frames, match:"legendary") }
|
||||
is_vehicle := { (auto_vehicle() or contains(styling.frames, match:"vehicle")) and not is_m20() }
|
||||
is_nyx := { (auto_nyx() or contains(styling.frames, match:"nyx")) and not is_m20() and not is_clear() }
|
||||
is_snow := { (auto_snow() or contains(styling.frames, match:"snow")) and not is_m20() }
|
||||
is_nyx := { (auto_nyx() or contains(styling.frames, match:"nyx")) and not is_clear() }
|
||||
is_snow := { (auto_snow() or contains(styling.frames, match:"snow")) }
|
||||
auto_legend := { set.auto_legends and lang_setting("is_legendary")(card.super_type) }
|
||||
auto_vehicle := { contains(styling.auto_frames, match:"vehicle") and lang_setting("is_vehicle")(card.sub_type) }
|
||||
auto_nyx := { contains(styling.auto_frames, match:"nyx") and lang_setting("is_enchantment")(card.super_type) }
|
||||
@@ -142,6 +144,7 @@ init script:
|
||||
alias_bar := { color_background(type:"alias", base_hybrid:card_hybrid) }
|
||||
use_evobar := {chosen(styling.other_options, choice:"pokemon evobar") and not is_skinned()}
|
||||
is_skinned := {chosen(styling.other_options, choice:"godzilla style alias")}
|
||||
snow_card_background := { color_background(type:"snowbox", base_hybrid:card_hybrid, folder:"/magic-modules.mse-include/cards/375 m15 simple/", blend_type:"card") }
|
||||
########## Mainframe stuff
|
||||
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
|
||||
un_png := replace@(match:".png", replace: "")
|
||||
@@ -174,6 +177,7 @@ init script:
|
||||
},
|
||||
color: {
|
||||
if is_weird_token() then "white"
|
||||
else if is_m20() and is_snow() then "black"
|
||||
else if is_m20() and card.card_color == "white" and not is_clear() then "black"
|
||||
else if is_m20() then "white"
|
||||
else rgb(255,239,128)
|
||||
@@ -673,7 +677,19 @@ extra card field:
|
||||
extra card field:
|
||||
type: choice
|
||||
name: snow overlay
|
||||
choice: plate
|
||||
script: card.card_color
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: snow type overlay
|
||||
script: card.card_color
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: snow box overlay
|
||||
script: card.card_color
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
@@ -777,25 +793,45 @@ extra card style:
|
||||
image: plate.png
|
||||
visible: { mtgo_abil() }
|
||||
nyx overlay:
|
||||
left: 15
|
||||
top: 15
|
||||
width: 345
|
||||
height: 471
|
||||
left: {if is_m20() then 0 else 15}
|
||||
top: {if is_m20() then 0 else 15}
|
||||
width: {if is_m20() then 375 else 345}
|
||||
height: {if is_m20() then 523 else 471}
|
||||
z index: 1
|
||||
render style: image
|
||||
image: {module_nyx()}
|
||||
mask: {"v_" + if is_tall() then "tall_mask.png" else if is_textless() then "short_mask.png" else "mid_mask.png"}
|
||||
mask: {if is_m20() then "m20/nyx_mask.png" else "v_" + if is_tall() then "tall_mask.png" else if is_textless() then "short_mask.png" else "mid_mask.png"}
|
||||
visible: { is_nyx() }
|
||||
snow overlay:
|
||||
left: 15
|
||||
top: 15
|
||||
width: 345
|
||||
height: 471
|
||||
left: {if is_m20() then 0 else 15}
|
||||
top: {if is_m20() then 0 else 15}
|
||||
width: {if is_m20() then 375 else 345}
|
||||
height: {if is_m20() then 523 else 471}
|
||||
z index: 1
|
||||
render style: image
|
||||
image: {module_snow()}
|
||||
mask: {"v_" + (if is_nyx() then "nyx_" else "") + if is_tall() then "tall_mask.png" else if is_textless() then "short_mask.png" else "mid_mask.png"}
|
||||
mask: {if is_m20() then "m20/nyx_mask.png" else "v_" + (if is_nyx() then "nyx_" else "") + if is_tall() then "tall_mask.png" else if is_textless() then "short_mask.png" else "mid_mask.png"}
|
||||
visible: { is_snow() }
|
||||
snow type overlay:
|
||||
left: 0
|
||||
top: { if is_tall() then 0 else if is_textless() then 134 else 60 }
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 1
|
||||
render style: image
|
||||
image: {module_snow()}
|
||||
mask: m20/type_mask.png
|
||||
visible: { is_snow() and is_m20() }
|
||||
snow box overlay:
|
||||
left: 28
|
||||
top: { if is_tall() then 327 else 387 }
|
||||
width: { if is_textless() then 0 else 320 }
|
||||
height: { if is_tall() then 156 else 96 }
|
||||
z index: 1
|
||||
render style: image
|
||||
image: { crop(snow_card_background(), offset_x:28, offset_y:327, width:320, height:156) }
|
||||
mask: m20/snowbox_mask.png
|
||||
visible: { is_snow() and is_m20() }
|
||||
vehicle overlay:
|
||||
left: 15
|
||||
top: 15
|
||||
|
||||
Reference in New Issue
Block a user