Updated most of the templates for the new color system; also tweaked the hybrid blends a bit for some templates
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@464 0fc631ac-6414-0410-93d0-97cfa31319b6
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 300 B |
|
Before Width: | Height: | Size: 608 B After Width: | Height: | Size: 488 B |
|
After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 1.9 KiB |
@@ -1,4 +1,4 @@
|
||||
mse version: 0.3.2
|
||||
mse version: 0.3.4
|
||||
game: magic
|
||||
short name: Textless
|
||||
full name: Modern style
|
||||
@@ -14,20 +14,14 @@ card dpi: 150
|
||||
############################################################## Extra scripts
|
||||
|
||||
init script:
|
||||
# Load blend scripts for hybrids/multicolors
|
||||
include file: magic-blends.mse-include/blend-scripts
|
||||
|
||||
# Should hybrids have a grey name?
|
||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||
|
||||
# There is no land template
|
||||
land_template := { "acard.jpg" }
|
||||
land_template := { "a{type}.jpg" }
|
||||
|
||||
# there is no multi template
|
||||
multi_hybrid := { input }
|
||||
|
||||
card_template := { if input == "m" then "acard.jpg" else input + "card.jpg" }
|
||||
pt_template := { input + "pt.jpg" }
|
||||
template := { (if input == "m" then "a" else input) + "{type}.jpg" }
|
||||
|
||||
# Use the normal tap symbol
|
||||
mana_t := {
|
||||
@@ -37,13 +31,6 @@ init script:
|
||||
}
|
||||
# Use guild mana symbols?
|
||||
guild_mana := { styling.use_guild_mana_symbols }
|
||||
|
||||
# Does the card have a color that requires a white font for copyright/artist?
|
||||
white_font_colors := filter_rule(match:"^(hybrid 2 color )?(hybrid 3 color [^/]*/[^/]*/ )?(hybrid vertical [^/]*/ )?(black|land|hybrid 4 color white / blue / black / red|hybrid 2 color overlay blue / black|hybrid 2 color overlay black / red|hybrid 2 color overlay black / green)")
|
||||
font_color := {
|
||||
if white_font_colors(input: card.card_color) != "" then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
}
|
||||
|
||||
############################################################## Extra style options
|
||||
|
||||
@@ -105,7 +92,7 @@ card style:
|
||||
z index: -2
|
||||
render style: image
|
||||
popup style: in place
|
||||
include file: magic-blends.mse-include/card-backgrounds
|
||||
image: { card_background() }
|
||||
|
||||
############################# Name line
|
||||
name:
|
||||
@@ -197,8 +184,7 @@ card style:
|
||||
font:
|
||||
name: Matrix
|
||||
size: 10
|
||||
color:
|
||||
script: font_color()
|
||||
color: { font_color(card.card_color) }
|
||||
|
||||
copyright line:
|
||||
left: 26
|
||||
@@ -209,8 +195,7 @@ card style:
|
||||
font:
|
||||
name: MPlantin
|
||||
size: 6.5
|
||||
color:
|
||||
script: font_color()
|
||||
color: { font_color(card.card_color) }
|
||||
|
||||
############################################################## Extra card fields
|
||||
|
||||
@@ -227,8 +212,7 @@ extra card style:
|
||||
width: 81
|
||||
height: 42
|
||||
z index: 1
|
||||
visible:
|
||||
script: card.pt != ""
|
||||
visible: { card.pt != "" }
|
||||
render style: image
|
||||
mask: mask_pt.png
|
||||
include file: magic-blends.mse-include/card-ptboxes
|
||||
image: { card_ptbox() }
|
||||
|
||||