[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -6,7 +6,7 @@ installer group: magic/urban
|
||||
icon: card-sample.png
|
||||
position hint: 843
|
||||
|
||||
version: 2014-02-22
|
||||
version: 2024-05-30
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2008-06-02
|
||||
@@ -17,8 +17,8 @@ depends on:
|
||||
package: magic-mana-small.mse-symbol-font
|
||||
version: 2007-09-23
|
||||
depends on:
|
||||
package: magic-watermarks.mse-include
|
||||
version: 2007-09-23
|
||||
package: magic-modules.mse-include
|
||||
version: 2024-05-20
|
||||
|
||||
card width: 375
|
||||
card height: 523
|
||||
@@ -45,7 +45,7 @@ init script:
|
||||
}
|
||||
|
||||
card_shape := { if contains(card.super_type, match:"Token") or contains(card.sub_type, match:"Token") or styling.is_token then "token" else "normal" }
|
||||
|
||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||
############################################################## Set info fields
|
||||
############################################################## Extra style options
|
||||
styling field:
|
||||
@@ -102,6 +102,8 @@ styling style:
|
||||
short text only: /magic.mse-game/icons/center-short-text.png
|
||||
never: /magic.mse-game/icons/center-no-text.png
|
||||
############################################################## Card fields
|
||||
include file: /magic-modules.mse-include/corners/card_fields
|
||||
include file: /magic-modules.mse-include/information/the_list_old
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
@@ -109,7 +111,6 @@ card style:
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
radius: 18
|
||||
left width: 19
|
||||
right width: 19
|
||||
top width: 19
|
||||
@@ -156,14 +157,13 @@ card style:
|
||||
z index: 3
|
||||
padding top: 0
|
||||
card symbol:
|
||||
left: 24
|
||||
left: 20
|
||||
top : 27
|
||||
height: 20
|
||||
width: 14
|
||||
z index: 3
|
||||
height: 21
|
||||
width: 23
|
||||
z index: 5
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
image: { card_symbol_image(face: 1) }
|
||||
############################# Image
|
||||
image:
|
||||
left: 27
|
||||
@@ -181,14 +181,7 @@ card style:
|
||||
z index: 3
|
||||
alignment: middle right
|
||||
render style: image
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
|
||||
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
|
||||
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
|
||||
special: script: symbol_variation(symbol: set.symbol, variation: "special")
|
||||
include file: /magic-modules.mse-include/rarities/choice_images
|
||||
############################# Text box
|
||||
text:
|
||||
left: 30
|
||||
@@ -227,15 +220,16 @@ card style:
|
||||
line height line: 1.5
|
||||
line height soft: 0.9
|
||||
watermark:
|
||||
left: 107
|
||||
top : 314
|
||||
width: 168
|
||||
height: 188
|
||||
left: 20
|
||||
top : 324
|
||||
width: 341
|
||||
height: 168
|
||||
z index: 1
|
||||
render style: image
|
||||
popup style: in place
|
||||
alignment: middle center
|
||||
include file: watermarks
|
||||
include file: /magic.mse-game/watermarks/menu_choice_images
|
||||
image: { watermark_image_1() }
|
||||
############################# PT
|
||||
pt:
|
||||
z index: 3
|
||||
@@ -334,7 +328,7 @@ extra card style:
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 4
|
||||
z index: 1050
|
||||
render style: image
|
||||
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
||||
image overlay:
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 672 B |
@@ -1,71 +0,0 @@
|
||||
# Watermark images
|
||||
|
||||
choice images:
|
||||
mana symbol white: /magic-mana-graffiti.mse-symbol-font/mana_w.png
|
||||
mana symbol blue: /magic-mana-graffiti.mse-symbol-font/mana_u.png
|
||||
mana symbol black: /magic-mana-graffiti.mse-symbol-font/mana_b.png
|
||||
mana symbol red: /magic-mana-graffiti.mse-symbol-font/mana_r.png
|
||||
mana symbol green: /magic-mana-graffiti.mse-symbol-font/mana_g.png
|
||||
mana symbol snow: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_s.png")
|
||||
|
||||
transparent mana symbol white: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_w.png")
|
||||
transparent mana symbol blue: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_u.png")
|
||||
transparent mana symbol black: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_b.png")
|
||||
transparent mana symbol red: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_r.png")
|
||||
transparent mana symbol green: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_g.png")
|
||||
|
||||
guild symbol The Azorius Senate (W/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_azorius.png")
|
||||
guild symbol House Dimir (U/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_dimir.png")
|
||||
guild symbol The Cult of Rakdos (B/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rakados.png")
|
||||
guild symbol The Gruul Clans (R/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gruul.png")
|
||||
guild symbol The Selesnya Conclave (G/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_selesnya.png")
|
||||
guild symbol The Orzhov Syndicate (W/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_orzhov.png")
|
||||
guild symbol The Izzet (U/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_izzet.png")
|
||||
guild symbol The Golgari (B/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_golgari.png")
|
||||
guild symbol The Boros Legion (R/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_boros.png")
|
||||
guild symbol The Simic Combine (G/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_simic.png")
|
||||
|
||||
colored xander hybrid mana B/R: /magic-watermarks.mse-include/watermark_brmana_colored.png
|
||||
colored xander hybrid mana U/B: /magic-watermarks.mse-include/watermark_ubmana_colored.png
|
||||
colored xander hybrid mana B/G: /magic-watermarks.mse-include/watermark_bgmana_colored.png
|
||||
colored xander hybrid mana R/G: /magic-watermarks.mse-include/watermark_rgmana_colored.png
|
||||
colored xander hybrid mana G/U: /magic-watermarks.mse-include/watermark_gumana_colored.png
|
||||
colored xander hybrid mana U/R: /magic-watermarks.mse-include/watermark_urmana_colored.png
|
||||
colored xander hybrid mana W/B: /magic-watermarks.mse-include/watermark_wbmana_colored.png
|
||||
colored xander hybrid mana G/W: /magic-watermarks.mse-include/watermark_gwmana_colored.png
|
||||
colored xander hybrid mana R/W: /magic-watermarks.mse-include/watermark_rwmana_colored.png
|
||||
colored xander hybrid mana W/U: /magic-watermarks.mse-include/watermark_wumana_colored.png
|
||||
|
||||
xander hybrid mana B/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_brmana.png")
|
||||
xander hybrid mana U/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_ubmana.png")
|
||||
xander hybrid mana B/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_bgmana.png")
|
||||
xander hybrid mana R/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rgmana.png")
|
||||
xander hybrid mana G/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gumana.png")
|
||||
xander hybrid mana U/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_urmana.png")
|
||||
xander hybrid mana W/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wbmana.png")
|
||||
xander hybrid mana G/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gwmana.png")
|
||||
xander hybrid mana R/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rwmana.png")
|
||||
xander hybrid mana W/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wumana.png")
|
||||
|
||||
future sight type symbols artifact: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_artifact.png")
|
||||
future sight type symbols creature: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_creature.png")
|
||||
future sight type symbols enchantment: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_enchantment.png")
|
||||
future sight type symbols instant: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_instant.png")
|
||||
future sight type symbols land: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_land.png")
|
||||
future sight type symbols multiple: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_multiple.png")
|
||||
future sight type symbols planeswalker: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_planeswalker.png")
|
||||
future sight type symbols sorcery: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_sorcery.png")
|
||||
|
||||
set symbol:
|
||||
{ set_combine(combine:"shadow",
|
||||
set_alpha(
|
||||
alpha: 0.5,
|
||||
#symbol_variation(symbol: set.symbol, variation: "common")
|
||||
drop_shadow(offset_x: -0.01, offset_y: 0.03, blur_radius: 0.02, alpha: 1, color: rgb(0,0,0),
|
||||
enlarge(border_size: 0.03,
|
||||
symbol_variation(symbol: set.symbol, variation: "watermark")
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user