Commit ea15424e authored by twanvl's avatar twanvl

Templates for magic, vanguard and vs-system

parent 203282d0
# Scripts for blending images
# Included by a style file in its init script
# Credits:
# 3/4/5 color blends by Guinea Pig
# vertical blends by Wolfwood
########################################################################
# Filenames and other defaults
########################################################################
mask_hybrid_with_land := { false }
land_template := { input + "lcard.jpg" }
card_template := { input + "card.jpg" }
pt_template := { input + "pt.jpg" }
pt2_template := { input + "pt2.jpg" }
########################################################################
# Hybrid blends
########################################################################
# Make parts of the input grey (land color)
card_hybrid_nt := {
if mask_hybrid_with_land() then
masked_blend(
mask: "hybrid_blend_nt.png",
dark: land_template(""),
light: input,
)
else input
}
# Card hybrid without land blending
card_hybrid := {
linear_blend(
image1: card_template(input[0])
image2: card_template(input[1])
x1: 0.4, y1: 0
x2: 0.6, y2: 0
)
}
card_hybrid_2 := card_hybrid + card_hybrid_nt
# vertical 2 color hybrid
card_hybrid_2v := {
card_hybrid_nt(
linear_blend(
image1: card_template(input[0])
image2: card_template(input[1])
x1: 0, y1: 0.4
x2: 0, y2: 0.62
)
)
}
# 'star' 3 color hybrid
card_hybrid_3 := {
card_hybrid_nt(
linear_blend(
image1: card_hybrid(input[0] + input[1]),
image2: card_template(input[2]),
x1: 0, y1: 0.55
x2: 0, y2: 0.77
)
)
}
# 'star' 4 color hybrid
card_hybrid_4 := {
card_hybrid_nt(
linear_blend(
image1: card_hybrid(input[0] + input[1])
image2: card_hybrid(input[2] + input[3])
x1: 0, y1: 0.4
x2: 0, y2: 0.62
)
)
}
# 'star' 5 color hybrid
card_hybrid_5 := {
card_hybrid_nt(
linear_blend(
image1: linear_blend(
image1: card_hybrid("gb"),
image2: card_hybrid("wu"),
x1: 0, y1: 0.19
x2: 0, y2: 0.35
),
image2: card_template("r"),
x1: 0, y1: 0.677
x2: 0, y2: 0.837
)
)
}
# horizontal 3 color hybrid
card_hybrid_3h := {
card_hybrid_nt(
linear_blend(
image1: card_template(input[0])
x1: 0.22, y1: 0
x2: 0.4, y2: 0
image2: linear_blend(
image1: card_template(input[1])
x1: 0.6, y1: 0
x2: 0.78, y2: 0
image2: card_template(input[2])
))
)
}
# horizontal 4 color hybrid
card_hybrid_4h := {
card_hybrid_nt(
linear_blend(
# blend = 0.16
image1: card_template(input[0])
x1: 0.15, y1: 0
x2: 0.31, y2: 0
image2: linear_blend(
image1: card_template(input[1])
x1: 0.42, y1: 0
x2: 0.58, y2: 0
image2: linear_blend(
image1: card_template(input[2])
x1: 0.69, y1: 0
x2: 0.85, y2: 0
image2: card_template(input[3])
)))
)
}
# horizontal 5 color hybrid
card_hybrid_5h := {
card_hybrid_nt(
linear_blend(
image1: card_template("w")
x1: 2.0 / 15, y1: 0
x2: 4.0 / 15, y2: 0
image2: linear_blend(
image1: card_template("u")
x1: 5.0 / 15, y1: 0
x2: 7.0 / 15, y2: 0
image2: linear_blend(
image1: card_template("b")
x1: 8.0 / 15, y1: 0
x2: 10.0 / 15, y2: 0
image2: linear_blend(
image1: card_template("r")
x1: 11.0 / 15, y1: 0
x2: 13.0 / 15, y2: 0
image2: card_template("g")
))))
)
}
########################################################################
# Multicolor blends
########################################################################
# Make a hybrid blend into a multicolor blend
multi_hybrid := {
masked_blend(
mask: "multicolor_dual_blend.png",
dark: "mcard.jpg",
light: input,
)
}
########################################################################
# Land blends
########################################################################
land_hybrid_2 := {
card_hybrid_nt(
linear_blend(
image1: land_template(input[0])
image2: land_template(input[1])
x1: 0.4, y1: 0
x2: 0.6, y2: 0
)
)
}
########################################################################
# Power/thoughness boxes
########################################################################
# Make parts of the input grey (hpt.jpg color)
# For p/t box
card_hybrid_pt := {
# Make the p/t box grey based on set.grey_hybrid_name
if mask_hybrid_with_land()
then land_hybrid_pt()
else pt_template()
}
# Mask part of the input p/t box with the "hpt.jpg" file
land_hybrid_pt := {
masked_blend(
mask: "hybrid_blend_pt.png",
dark: "hpt.jpg",
light: pt_template(),
)
}
# Multicolor blend for pt box
multi_hybrid_pt := {
masked_blend(
mask: "multicolor_dual_blend_pt.png",
dark: pt_template("m"),
light: pt_template(),
)
}
# 3 Color Horizontal Blending (based on templates by BunnieRein)
card_hybrid_3h_pt := {
linear_blend(
image1: pt_template(input[0])
image2: pt_template(input[1])
x1: -0.2, y1: 0
x2: 0.1, y2: 0
)
}
# 4 Color Horizontal Blending
card_hybrid_4h_pt := {
linear_blend(
image1: pt_template(input[0])
image2: pt_template(input[1])
x1: -0.1, y1: 0
x2: 0.6, y2: 0
)
}
########################################################################
# Power/thoughness boxes #2
########################################################################
# Make parts of the input grey (hpt.jpg color)
# For p/t box
card_hybrid_pt2 := {
# Make the p/t box grey based on set.grey_hybrid_name
if mask_hybrid_with_land()
then land_hybrid_pt2()
else pt2_template()
}
# Mask part of the input p/t box with the "hpt.jpg" file
land_hybrid_pt2 := {
masked_blend(
mask: "hybrid_blend_pt2.png",
dark: "hpt.jpg",
light: pt2_template(),
)
}
# Multicolor blend for pt box
multi_hybrid_pt2 := {
masked_blend(
mask: "multicolor_dual_blend_pt2.png",
dark: "mpt2.jpg",
light: pt2_template(),
)
}
# Card backgrounds, most are generated using the blend-scripts
# Requires
# include file: magic-blends.mse-include/blend-scripts
# In the init script of the style
choice images:
white : script: card_template("w")
blue : script: card_template("u")
black : script: card_template("b")
red : script: card_template("r")
green : script: card_template("g")
colorless : script: card_template("a")
multicolor : script: card_template("m")
multicolor 2 color white / blue : script: multi_hybrid(card_hybrid_2("wu"))
multicolor 2 color blue / black : script: multi_hybrid(card_hybrid_2("ub"))
multicolor 2 color black / red : script: multi_hybrid(card_hybrid_2("br"))
multicolor 2 color red / green : script: multi_hybrid(card_hybrid_2("rg"))
multicolor 2 color green / white : script: multi_hybrid(card_hybrid_2("gw"))
multicolor 2 color white / black : script: multi_hybrid(card_hybrid_2("wb"))
multicolor 2 color blue / red : script: multi_hybrid(card_hybrid_2("ur"))
multicolor 2 color black / green : script: multi_hybrid(card_hybrid_2("bg"))
multicolor 2 color red / white : script: multi_hybrid(card_hybrid_2("rw"))
multicolor 2 color green / blue : script: multi_hybrid(card_hybrid_2("gu"))
multicolor 3 color white / blue / black : script: multi_hybrid(card_hybrid_3("wub"))
multicolor 3 color blue / black / red : script: multi_hybrid(card_hybrid_3("ubr"))
multicolor 3 color black / red / green : script: multi_hybrid(card_hybrid_3("brg"))
multicolor 3 color red / green / white : script: multi_hybrid(card_hybrid_3("rgw"))
multicolor 3 color green / white / blue : script: multi_hybrid(card_hybrid_3("gwu"))
multicolor 3 color white / black / red : script: multi_hybrid(card_hybrid_3("wbr"))
multicolor 3 color blue / red / green : script: multi_hybrid(card_hybrid_3("urg"))
multicolor 3 color black / green / white : script: multi_hybrid(card_hybrid_3("bgw"))
multicolor 3 color red / white / blue : script: multi_hybrid(card_hybrid_3("rwu"))
multicolor 3 color green / blue / black : script: multi_hybrid(card_hybrid_3("gub"))
multicolor 4 color w/u/b/r : script: multi_hybrid(card_hybrid_4("wubr"))
multicolor 4 color u/b/r/g : script: multi_hybrid(card_hybrid_4("ubrg"))
multicolor 4 color b/r/g/w : script: multi_hybrid(card_hybrid_4("brgw"))
multicolor 4 color r/g/w/u : script: multi_hybrid(card_hybrid_4("rgwu"))
multicolor 4 color g/w/u/b : script: multi_hybrid(card_hybrid_4("gwub"))
multicolor 5 color w/u/b/r/g : script: multi_hybrid(card_hybrid_5())
multicolor 5 color w/u/b/r/g (horizontal) : script: multi_hybrid(card_hybrid_5h())
land : script: land_template("")
land 1 color white : script: land_template("w")
land 1 color blue : script: land_template("u")
land 1 color black : script: land_template("b")
land 1 color red : script: land_template("r")
land 1 color green : script: land_template("g")
land 1 color multicolor : script: land_template("m")
land 2 color white / blue : script: land_hybrid_2("wu")
land 2 color blue / black : script: land_hybrid_2("ub")
land 2 color black / red : script: land_hybrid_2("br")
land 2 color red / green : script: land_hybrid_2("rg")
land 2 color green / white : script: land_hybrid_2("gw")
land 2 color white / black : script: land_hybrid_2("wb")
land 2 color blue / red : script: land_hybrid_2("ur")
land 2 color black / green : script: land_hybrid_2("bg")
land 2 color red / white : script: land_hybrid_2("rw")
land 2 color green / blue : script: land_hybrid_2("gu")
hybrid 2 color white / blue : script: card_hybrid_2("wu")
hybrid 2 color blue / black : script: card_hybrid_2("ub")
hybrid 2 color black / red : script: card_hybrid_2("br")
hybrid 2 color red / green : script: card_hybrid_2("rg")
hybrid 2 color green / white : script: card_hybrid_2("gw")
hybrid 2 color white / black : script: card_hybrid_2("wb")
hybrid 2 color blue / red : script: card_hybrid_2("ur")
hybrid 2 color black / green : script: card_hybrid_2("bg")
hybrid 2 color red / white : script: card_hybrid_2("rw")
hybrid 2 color green / blue : script: card_hybrid_2("gu")
hybrid 2 color colorless / white : script: card_hybrid_2("aw")
hybrid 2 color colorless / blue : script: card_hybrid_2("au")
hybrid 2 color colorless / black : script: card_hybrid_2("ab")
hybrid 2 color colorless / red : script: card_hybrid_2("ar")
hybrid 2 color colorless / green : script: card_hybrid_2("ag")
hybrid 3 color white / blue / black : script: card_hybrid_3("wub")
hybrid 3 color blue / black / red : script: card_hybrid_3("ubr")
hybrid 3 color black / red / green : script: card_hybrid_3("brg")
hybrid 3 color red / green / white : script: card_hybrid_3("rgw")
hybrid 3 color green / white / blue : script: card_hybrid_3("gwu")
hybrid 3 color white / black / red : script: card_hybrid_3("wbr")
hybrid 3 color blue / red / green : script: card_hybrid_3("urg")
hybrid 3 color black / green / white : script: card_hybrid_3("bgw")
hybrid 3 color red / white / blue : script: card_hybrid_3("rwu")
hybrid 3 color green / blue / black : script: card_hybrid_3("gub")
hybrid 3 color horizontal white / blue / black : script: card_hybrid_3h("wub")
hybrid 3 color horizontal blue / black / red : script: card_hybrid_3h("ubr")
hybrid 3 color horizontal black / red / green : script: card_hybrid_3h("brg")
hybrid 3 color horizontal red / green / white : script: card_hybrid_3h("rgw")
hybrid 3 color horizontal green / white / blue : script: card_hybrid_3h("gwu")
hybrid 3 color horizontal white / black / red : script: card_hybrid_3h("wbr")
hybrid 3 color horizontal blue / red / green : script: card_hybrid_3h("urg")
hybrid 3 color horizontal black / green / white : script: card_hybrid_3h("bgw")
hybrid 3 color horizontal red / white / blue : script: card_hybrid_3h("rwu")
hybrid 3 color horizontal green / blue / black : script: card_hybrid_3h("gub")
hybrid 4 color w/u/b/r : script: card_hybrid_4("wubr")
hybrid 4 color u/b/r/g : script: card_hybrid_4("ubrg")
hybrid 4 color b/r/g/w : script: card_hybrid_4("brgw")
hybrid 4 color r/g/w/u : script: card_hybrid_4("rgwu")
hybrid 4 color g/w/u/b : script: card_hybrid_4("gwub")
hybrid 4 color horizontal w/u/b/r : script: card_hybrid_4h("wubr")
hybrid 4 color horizontal u/b/r/g : script: card_hybrid_4h("ubrg")
hybrid 4 color horizontal b/r/g/w : script: card_hybrid_4h("brgw")
hybrid 4 color horizontal r/g/w/u : script: card_hybrid_4h("rgwu")
hybrid 4 color horizontal g/w/u/b : script: card_hybrid_4h("gwub")
hybrid 5 color w/u/b/r/g : script: card_hybrid_5()
hybrid 5 color w/u/b/r/g (horizontal) : script: card_hybrid_5h()
hybrid vertical white / blue : script: card_hybrid_2v("wu")
hybrid vertical white / black : script: card_hybrid_2v("wb")
hybrid vertical white / red : script: card_hybrid_2v("wr")
hybrid vertical white / green : script: card_hybrid_2v("wg")
hybrid vertical blue / white : script: card_hybrid_2v("uw")
hybrid vertical blue / black : script: card_hybrid_2v("ub")
hybrid vertical blue / red : script: card_hybrid_2v("ur")
hybrid vertical blue / green : script: card_hybrid_2v("ug")
hybrid vertical black / white : script: card_hybrid_2v("bw")
hybrid vertical black / blue : script: card_hybrid_2v("bu")
hybrid vertical black / red : script: card_hybrid_2v("br")
hybrid vertical black / green : script: card_hybrid_2v("bg")
hybrid vertical red / white : script: card_hybrid_2v("rw")
hybrid vertical red / blue : script: card_hybrid_2v("ru")
hybrid vertical red / black : script: card_hybrid_2v("rb")
hybrid vertical red / green : script: card_hybrid_2v("rg")
hybrid vertical green / white : script: card_hybrid_2v("gw")
hybrid vertical green / blue : script: card_hybrid_2v("gu")
hybrid vertical green / red : script: card_hybrid_2v("gr")
hybrid vertical green / black : script: card_hybrid_2v("gb")
hybrid vertical colorless / white : script: card_hybrid_2v("aw")
hybrid vertical colorless / blue : script: card_hybrid_2v("au")
hybrid vertical colorless / black : script: card_hybrid_2v("ab")
hybrid vertical colorless / red : script: card_hybrid_2v("ar")
hybrid vertical colorless / green : script: card_hybrid_2v("ag")
hybrid vertical white / colorless : script: card_hybrid_2v("wa")
hybrid vertical blue / colorless : script: card_hybrid_2v("ua")
hybrid vertical black / colorless : script: card_hybrid_2v("ba")
hybrid vertical red / colorless : script: card_hybrid_2v("ra")
hybrid vertical green / colorless : script: card_hybrid_2v("ga")
# Also define colors for card list
card list colors: true
choice colors:
white : rgb(130,130,110)
blue : rgb(0,64,168)
black : rgb(0,0,0)
red : rgb(168,0,0)
green : rgb(0,168,0)
colorless : rgb(72,90,100)
multicolor : rgb(120,120,0)
land : rgb(84,84,60)
# Quite a lot of card colors
# Included by a game file
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: colorless
choice:
name: multicolor
group choice: normal
choice:
name: 2 color
choice: white / blue
choice: blue / black
choice: black / red
choice: red / green
choice: green / white
choice: white / black
choice: blue / red
choice: black / green
choice: red / white
choice: green / blue
choice:
name: 3 color
choice: white / blue / black
choice: blue / black / red
choice: black / red / green
choice: red / green / white
choice: green / white / blue
choice: white / black / red
choice: blue / red / green
choice: black / green / white
choice: red / white / blue
choice: green / blue / black
choice:
name: 4 color
choice: w/u/b/r
choice: u/b/r/g
choice: b/r/g/w
choice: r/g/w/u
choice: g/w/u/b
choice:
name: 5 color
choice: w/u/b/r/g
choice: w/u/b/r/g (horizontal)
choice:
name: land
group choice: colorless
choice:
name: 1 color
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: multicolor
choice:
name: 2 color
choice: white / blue
choice: blue / black
choice: black / red
choice: red / green
choice: green / white
choice: white / black
choice: blue / red
choice: black / green
choice: red / white
choice: green / blue
choice:
name: hybrid
choice:
name: 2 color
choice: white / blue
choice: blue / black
choice: black / red
choice: red / green
choice: green / white
choice: white / black
choice: blue / red
choice: black / green
choice: red / white
choice: green / blue
choice: colorless / white
choice: colorless / blue
choice: colorless / black
choice: colorless / red
choice: colorless / green
choice:
name: 3 color
choice: white / blue / black
choice: blue / black / red
choice: black / red / green
choice: red / green / white
choice: green / white / blue
choice: white / black / red
choice: blue / red / green
choice: black / green / white
choice: red / white / blue
choice: green / blue / black
choice:
name: horizontal
choice: white / blue / black
choice: blue / black / red
choice: black / red / green
choice: red / green / white
choice: green / white / blue
choice: white / black / red
choice: blue / red / green
choice: black / green / white
choice: red / white / blue
choice: green / blue / black
choice:
name: 4 color
choice: w/u/b/r
choice: u/b/r/g
choice: b/r/g/w
choice: r/g/w/u
choice: g/w/u/b
choice:
name: horizontal
choice: w/u/b/r
choice: u/b/r/g
choice: b/r/g/w
choice: r/g/w/u
choice: g/w/u/b
choice:
name: 5 color
choice: w/u/b/r/g
choice: w/u/b/r/g (horizontal)
choice:
# Vertical hybrids, for flip cards
# By: Wolfwood
name: vertical
choice: white / blue
choice: white / black
choice: white / red
choice: white / green
choice: white / colorless
choice: blue / white
choice: blue / black
choice: blue / red
choice: blue / green
choice: blue / colorless
choice: black / white
choice: black / blue
choice: black / red
choice: black / green
choice: black / colorless
choice: red / white
choice: red / blue
choice: red / black
choice: red / green
choice: red / colorless
choice: green / white
choice: green / blue
choice: green / black
choice: green / red
choice: green / colorless
choice: colorless / white
choice: colorless / blue
choice: colorless / black
choice: colorless / red
choice: colorless / green
\ No newline at end of file
# Card power/thoughness, most are generated using the blend-scripts
# Requires
# include file: magic-blends.mse-include/blend-scripts
# In the init script of the style
choice images:
white : script: pt_template("w")
blue : script: pt_template("u")
black : script: pt_template("b")
red : script: pt_template("r")
green : script: pt_template("g")
colorless : script: pt_template("a")
multicolor : script: pt_template("m")
multicolor 2 color white / blue : script: multi_hybrid_pt("u")
multicolor 2 color blue / black : script: multi_hybrid_pt("b")
multicolor 2 color black / red : script: multi_hybrid_pt("r")
multicolor 2 color red / green : script: multi_hybrid_pt("g")
multicolor 2 color green / white : script: multi_hybrid_pt("w")
multicolor 2 color white / black : script: multi_hybrid_pt("b")
multicolor 2 color blue / red : script: multi_hybrid_pt("r")
multicolor 2 color black / green : script: multi_hybrid_pt("g")
multicolor 2 color red / white : script: multi_hybrid_pt("w")
multicolor 2 color green / blue : script: multi_hybrid_pt("u")
multicolor 3 color white / blue / black : script: multi_hybrid_pt("b")
multicolor 3 color blue / black / red : script: multi_hybrid_pt("r")
multicolor 3 color black / red / green : script: multi_hybrid_pt("g")
multicolor 3 color red / green / white : script: multi_hybrid_pt("w")
multicolor 3 color green / white / blue : script: multi_hybrid_pt("u")
multicolor 3 color white / black / red : script: multi_hybrid_pt("r")
multicolor 3 color blue / red / green : script: multi_hybrid_pt("g")
multicolor 3 color black / green / white : script: multi_hybrid_pt("w")
multicolor 3 color red / white / blue : script: multi_hybrid_pt("u")
multicolor 3 color green / blue / black : script: multi_hybrid_pt("b")
multicolor 4 color w/u/b/r : script: multi_hybrid_pt("r")
multicolor 4 color u/b/r/g : script: multi_hybrid_pt("g")
multicolor 4 color b/r/g/w : script: multi_hybrid_pt("w")
multicolor 4 color r/g/w/u : script: multi_hybrid_pt("u")
multicolor 4 color g/w/u/b : script: multi_hybrid_pt("b")
multicolor 5 color w/u/b/r/g : script: multi_hybrid_pt("r")
multicolor 5 color w/u/b/r/g (horizontal) : script: multi_hybrid_pt("g")
land : script: pt_template("l")
land 1 color white : script: pt_template("wl")
land 1 color blue : script: pt_template("ul")
land 1 color black : script: pt_template("bl")
land 1 color red : script: pt_template("rl")
land 1 color green : script: pt_template("gl")
land 1 color multicolor : script: pt_template("ml")
land 2 color white / blue : script: card_hybrid_pt("ul")
land 2 color blue / black : script: card_hybrid_pt("bl")
land 2 color black / red : script: card_hybrid_pt("rl")
land 2 color red / green : script: card_hybrid_pt("gl")
land 2 color green / white : script: card_hybrid_pt("wl")
land 2 color white / black : script: card_hybrid_pt("bl")
land 2 color blue / red : script: card_hybrid_pt("rl")
land 2 color black / green : script: card_hybrid_pt("gl")
land 2 color red / white : script: card_hybrid_pt("wl")
land 2 color green / blue : script: card_hybrid_pt("ul")
hybrid 2 color white / blue : script: card_hybrid_pt("u")
hybrid 2 color blue / black : script: card_hybrid_pt("b")
hybrid 2 color black / red : script: card_hybrid_pt("r")
hybrid 2 color red / green : script: card_hybrid_pt("g")
hybrid 2 color green / white : script: card_hybrid_pt("w")
hybrid 2 color white / black : script: card_hybrid_pt("b")
hybrid 2 color blue / red : script: card_hybrid_pt("r")
hybrid 2 color black / green : script: card_hybrid_pt("g")
hybrid 2 color red / white : script: card_hybrid_pt("w")
hybrid 2 color green / blue : script: card_hybrid_pt("u")
hybrid 2 color colorless / white : script: card_hybrid_pt("w")
hybrid 2 color colorless / blue : script: card_hybrid_pt("u")
hybrid 2 color colorless / black : script: card_hybrid_pt("b")
hybrid 2 color colorless / red : script: card_hybrid_pt("r")
hybrid 2 color colorless / green : script: card_hybrid_pt("g")
hybrid 3 color white / blue / black : script: card_hybrid_pt("b")
hybrid 3 color blue / black / red : script: card_hybrid_pt("r")
hybrid 3 color black / red / green : script: card_hybrid_pt("g")
hybrid 3 color red / green / white : script: card_hybrid_pt("w")
hybrid 3 color green / white / blue : script: card_hybrid_pt("u")
hybrid 3 color white / black / red : script: card_hybrid_pt("r")
hybrid 3 color blue / red / green : script: card_hybrid_pt("g")
hybrid 3 color black / green / white : script: card_hybrid_pt("w")
hybrid 3 color red / white / blue : script: card_hybrid_pt("u")
hybrid 3 color green / blue / black : script: card_hybrid_pt("b")
hybrid 3 color horizontal white / blue / black : script: card_hybrid_3h_pt("ub")
hybrid 3 color horizontal blue / black / red : script: card_hybrid_3h_pt("br")
hybrid 3 color horizontal black / red / green : script: card_hybrid_3h_pt("rg")
hybrid 3 color horizontal red / green / white : script: card_hybrid_3h_pt("gw")
hybrid 3 color horizontal green / white / blue : script: card_hybrid_3h_pt("wu")
hybrid 3 color horizontal white / black / red : script: card_hybrid_3h_pt("br")
hybrid 3 color horizontal blue / red / green : script: card_hybrid_3h_pt("rg")
hybrid 3 color horizontal black / green / white : script: card_hybrid_3h_pt("gw")
hybrid 3 color horizontal red / white / blue : script: card_hybrid_3h_pt("wu")
hybrid 3 color horizontal green / blue / black : script: card_hybrid_3h_pt("ub")
hybrid 4 color w/u/b/r : script: card_hybrid_pt("r")
hybrid 4 color u/b/r/g : script: card_hybrid_pt("g")
hybrid 4 color b/r/g/w : script: card_hybrid_pt("w")
hybrid 4 color r/g/w/u : script: card_hybrid_pt("u")
hybrid 4 color g/w/u/b : script: card_hybrid_pt("b")
hybrid 4 color horizontal w/u/b/r : script: card_hybrid_4h_pt("br")
hybrid 4 color horizontal u/b/r/g : script: card_hybrid_4h_pt("rg")
hybrid 4 color horizontal b/r/g/w : script: card_hybrid_4h_pt("gw")
hybrid 4 color horizontal r/g/w/u : script: card_hybrid_4h_pt("wu")
hybrid 4 color horizontal g/w/u/b : script: card_hybrid_4h_pt("ub")
hybrid 5 color w/u/b/r/g : script: card_hybrid_pt("r")
hybrid 5 color w/u/b/r/g (horizontal) : script: card_hybrid_pt("5b")
hybrid vertical white / blue : script: card_hybrid_pt("u")
hybrid vertical white / black : script: card_hybrid_pt("b")
hybrid vertical white / red : script: card_hybrid_pt("r")
hybrid vertical white / green : script: card_hybrid_pt("g")
hybrid vertical blue / white : script: card_hybrid_pt("w")
hybrid vertical blue / black : script: card_hybrid_pt("b")
hybrid vertical blue / red : script: card_hybrid_pt("r")
hybrid vertical blue / green : script: card_hybrid_pt("g")
hybrid vertical black / white : script: card_hybrid_pt("w")
hybrid vertical black / blue : script: card_hybrid_pt("u")
hybrid vertical black / red : script: card_hybrid_pt("r")
hybrid vertical black / green : script: card_hybrid_pt("g")
hybrid vertical red / white : script: card_hybrid_pt("w")
hybrid vertical red / blue : script: card_hybrid_pt("u")
hybrid vertical red / black : script: card_hybrid_pt("b")
hybrid vertical red / green : script: card_hybrid_pt("g")
hybrid vertical green / white : script: card_hybrid_pt("w")
hybrid vertical green / blue : script: card_hybrid_pt("u")
hybrid vertical green / red : script: card_hybrid_pt("b")
hybrid vertical green / black : script: card_hybrid_pt("r")
hybrid vertical colorless / white : script: card_hybrid_pt("w")
hybrid vertical colorless / blue : script: card_hybrid_pt("u")
hybrid vertical colorless / black : script: card_hybrid_pt("b")
hybrid vertical colorless / red : script: card_hybrid_pt("r")
hybrid vertical colorless / green : script: card_hybrid_pt("g")
hybrid vertical white / colorless : script: card_hybrid_pt("a")
hybrid vertical blue / colorless : script: card_hybrid_pt("a")
hybrid vertical black / colorless : script: card_hybrid_pt("a")
hybrid vertical red / colorless : script: card_hybrid_pt("a")
hybrid vertical green / colorless : script: card_hybrid_pt("a")
# Card power/thoughness, most are generated using the blend-scripts
# Requires
# include file: magic-blends.mse-include/blend-scripts
# In the init script of the style
choice images:
white : script: pt_template("w")
blue : script: pt_template("u")
black : script: pt_template("b")
red : script: pt_template("r")
green : script: pt_template("g")
colorless : script: pt_template("a")
multicolor : script: pt_template("m")
multicolor 2 color white / blue : script: multi_hybrid_pt("u")
multicolor 2 color blue / black : script: multi_hybrid_pt("b")
multicolor 2 color black / red : script: multi_hybrid_pt("r")
multicolor 2 color red / green : script: multi_hybrid_pt("g")
multicolor 2 color green / white : script: multi_hybrid_pt("w")
multicolor 2 color white / black : script: multi_hybrid_pt("b")
multicolor 2 color blue / red : script: multi_hybrid_pt("r")
multicolor 2 color black / green : script: multi_hybrid_pt("g")
multicolor 2 color red / white : script: multi_hybrid_pt("w")
multicolor 2 color green / blue : script: multi_hybrid_pt("u")
multicolor 3 color white / blue / black : script: multi_hybrid_pt("b")
multicolor 3 color blue / black / red : script: multi_hybrid_pt("r")
multicolor 3 color black / red / green : script: multi_hybrid_pt("g")
multicolor 3 color red / green / white : script: multi_hybrid_pt("w")
multicolor 3 color green / white / blue : script: multi_hybrid_pt("u")
multicolor 3 color white / black / red : script: multi_hybrid_pt("r")
multicolor 3 color blue / red / green : script: multi_hybrid_pt("g")
multicolor 3 color black / green / white : script: multi_hybrid_pt("w")
multicolor 3 color red / white / blue : script: multi_hybrid_pt("u")
multicolor 3 color green / blue / black : script: multi_hybrid_pt("b")
multicolor 4 color w/u/b/r : script: multi_hybrid_pt("u")
multicolor 4 color u/b/r/g : script: multi_hybrid_pt("b")
multicolor 4 color b/r/g/w : script: multi_hybrid_pt("r")
multicolor 4 color r/g/w/u : script: multi_hybrid_pt("g")
multicolor 4 color g/w/u/b : script: multi_hybrid_pt("w")
multicolor 5 color w/u/b/r/g : script: multi_hybrid_pt("u")
multicolor 5 color w/u/b/r/g (horizontal) : script: multi_hybrid_pt("g")
# No p/t boxes for lands yet
land : script: pt_template("l")
land 1 color white : script: pt_template("wl")
land 1 color blue : script: pt_template("ul")
land 1 color black : script: pt_template("bl")
land 1 color red : script: pt_template("rl")
land 1 color green : script: pt_template("gl")
land 1 color multicolor : script: pt_template("ml")
land 2 color white / blue : script: card_hybrid_pt("ul")
land 2 color blue / black : script: card_hybrid_pt("bl")
land 2 color black / red : script: card_hybrid_pt("rl")
land 2 color red / green : script: card_hybrid_pt("gl")
land 2 color green / white : script: card_hybrid_pt("wl")
land 2 color white / black : script: card_hybrid_pt("bl")
land 2 color blue / red : script: card_hybrid_pt("rl")
land 2 color black / green : script: card_hybrid_pt("gl")
land 2 color red / white : script: card_hybrid_pt("wl")
land 2 color green / blue : script: card_hybrid_pt("ul")
hybrid 2 color white / blue : script: card_hybrid_pt("u")
hybrid 2 color blue / black : script: card_hybrid_pt("b")
hybrid 2 color black / red : script: card_hybrid_pt("r")
hybrid 2 color red / green : script: card_hybrid_pt("g")
hybrid 2 color green / white : script: card_hybrid_pt("w")
hybrid 2 color white / black : script: card_hybrid_pt("b")
hybrid 2 color blue / red : script: card_hybrid_pt("r")
hybrid 2 color black / green : script: card_hybrid_pt("g")
hybrid 2 color red / white : script: card_hybrid_pt("w")
hybrid 2 color green / blue : script: card_hybrid_pt("u")
hybrid 2 color colorless / white : script: card_hybrid_pt("w")
hybrid 2 color colorless / blue : script: card_hybrid_pt("u")
hybrid 2 color colorless / black : script: card_hybrid_pt("b")
hybrid 2 color colorless / red : script: card_hybrid_pt("r")
hybrid 2 color colorless / green : script: card_hybrid_pt("g")
hybrid 3 color white / blue / black : script: card_hybrid_pt("u")
hybrid 3 color blue / black / red : script: card_hybrid_pt("b")
hybrid 3 color black / red / green : script: card_hybrid_pt("r")
hybrid 3 color red / green / white : script: card_hybrid_pt("g")
hybrid 3 color green / white / blue : script: card_hybrid_pt("w")
hybrid 3 color white / black / red : script: card_hybrid_pt("b")
hybrid 3 color blue / red / green : script: card_hybrid_pt("r")
hybrid 3 color black / green / white : script: card_hybrid_pt("g")
hybrid 3 color red / white / blue : script: card_hybrid_pt("w")
hybrid 3 color green / blue / black : script: card_hybrid_pt("u")
hybrid 4 color w/u/b/r : script: card_hybrid_pt("u")
hybrid 4 color u/b/r/g : script: card_hybrid_pt("b")
hybrid 4 color b/r/g/w : script: card_hybrid_pt("r")
hybrid 4 color r/g/w/u : script: card_hybrid_pt("g")
hybrid 4 color g/w/u/b : script: card_hybrid_pt("w")
hybrid 5 color w/u/b/r/g : script: card_hybrid_pt("u")
hybrid 5 color w/u/b/r/g (horizontal) : script: card_hybrid_pt("g")
hybrid vertical white / blue : script: card_hybrid_pt("w")
hybrid vertical white / black : script: card_hybrid_pt("w")
hybrid vertical white / red : script: card_hybrid_pt("w")
hybrid vertical white / green : script: card_hybrid_pt("w")
hybrid vertical blue / white : script: card_hybrid_pt("u")
hybrid vertical blue / black : script: card_hybrid_pt("u")
hybrid vertical blue / red : script: card_hybrid_pt("u")
hybrid vertical blue / green : script: card_hybrid_pt("u")
hybrid vertical black / white : script: card_hybrid_pt("b")
hybrid vertical black / blue : script: card_hybrid_pt("b")
hybrid vertical black / red : script: card_hybrid_pt("b")
hybrid vertical black / green : script: card_hybrid_pt("b")
hybrid vertical red / white : script: card_hybrid_pt("r")
hybrid vertical red / blue : script: card_hybrid_pt("r")
hybrid vertical red / black : script: card_hybrid_pt("r")
hybrid vertical red / green : script: card_hybrid_pt("r")
hybrid vertical green / white : script: card_hybrid_pt("g")
hybrid vertical green / blue : script: card_hybrid_pt("g")
hybrid vertical green / red : script: card_hybrid_pt("g")
hybrid vertical green / black : script: card_hybrid_pt("g")
hybrid vertical colorless / white : script: card_hybrid_pt("a")
hybrid vertical colorless / blue : script: card_hybrid_pt("a")
hybrid vertical colorless / black : script: card_hybrid_pt("a")
hybrid vertical colorless / red : script: card_hybrid_pt("a")
hybrid vertical colorless / green : script: card_hybrid_pt("a")
hybrid vertical white / colorless : script: card_hybrid_pt("w")
hybrid vertical blue / colorless : script: card_hybrid_pt("u")
hybrid vertical black / colorless : script: card_hybrid_pt("b")
hybrid vertical red / colorless : script: card_hybrid_pt("r")
hybrid vertical green / colorless : script: card_hybrid_pt("g")
# Card power/thoughness, most are generated using the blend-scripts
# Requires
# include file: magic-blends.mse-include/blend-scripts
# In the init script of the style
choice images:
white : script: pt2_template("w")
blue : script: pt2_template("u")
black : script: pt2_template("b")
red : script: pt2_template("r")
green : script: pt2_template("g")
colorless : script: pt2_template("a")
multicolor : script: pt2_template("m")
multicolor 2 color white / blue : script: multi_hybrid_pt2("w")
multicolor 2 color blue / black : script: multi_hybrid_pt2("u")
multicolor 2 color black / red : script: multi_hybrid_pt2("b")
multicolor 2 color red / green : script: multi_hybrid_pt2("r")
multicolor 2 color green / white : script: multi_hybrid_pt2("g")
multicolor 2 color white / black : script: multi_hybrid_pt2("w")
multicolor 2 color blue / red : script: multi_hybrid_pt2("u")
multicolor 2 color black / green : script: multi_hybrid_pt2("b")
multicolor 2 color red / white : script: multi_hybrid_pt2("r")
multicolor 2 color green / blue : script: multi_hybrid_pt2("g")
multicolor 3 color white / blue / black : script: multi_hybrid_pt2("b")
multicolor 3 color blue / black / red : script: multi_hybrid_pt2("r")
multicolor 3 color black / red / green : script: multi_hybrid_pt2("g")
multicolor 3 color red / green / white : script: multi_hybrid_pt2("w")
multicolor 3 color green / white / blue : script: multi_hybrid_pt2("u")
multicolor 3 color white / black / red : script: multi_hybrid_pt2("r")
multicolor 3 color blue / red / green : script: multi_hybrid_pt2("g")
multicolor 3 color black / green / white : script: multi_hybrid_pt2("w")
multicolor 3 color red / white / blue : script: multi_hybrid_pt2("u")
multicolor 3 color green / blue / black : script: multi_hybrid_pt2("b")
multicolor 4 color w/u/b/r : script: multi_hybrid_pt2("b")
multicolor 4 color u/b/r/g : script: multi_hybrid_pt2("r")
multicolor 4 color b/r/g/w : script: multi_hybrid_pt2("g")
multicolor 4 color r/g/w/u : script: multi_hybrid_pt2("w")
multicolor 4 color g/w/u/b : script: multi_hybrid_pt2("u")
multicolor 5 color w/u/b/r/g : script: multi_hybrid_pt2("b")
multicolor 5 color w/u/b/r/g (horizontal) : script: multi_hybrid_pt2("w")
# No p/t boxes for lands yet
land : script: pt2_template("l")
land 1 color white : script: pt2_template("wl")
land 1 color blue : script: pt2_template("ul")
land 1 color black : script: pt2_template("bl")
land 1 color red : script: pt2_template("rl")
land 1 color green : script: pt2_template("gl")
land 1 color multicolor : script: pt2_template("ml")
land 2 color white / blue : script: card_hybrid_pt2("ul")
land 2 color blue / black : script: card_hybrid_pt2("bl")
land 2 color black / red : script: card_hybrid_pt2("rl")
land 2 color red / green : script: card_hybrid_pt2("gl")
land 2 color green / white : script: card_hybrid_pt2("wl")
land 2 color white / black : script: card_hybrid_pt2("bl")
land 2 color blue / red : script: card_hybrid_pt2("rl")
land 2 color black / green : script: card_hybrid_pt2("gl")
land 2 color red / white : script: card_hybrid_pt2("wl")
land 2 color green / blue : script: card_hybrid_pt2("ul")
hybrid 2 color white / blue : script: card_hybrid_pt2("w")
hybrid 2 color blue / black : script: card_hybrid_pt2("u")
hybrid 2 color black / red : script: card_hybrid_pt2("b")
hybrid 2 color red / green : script: card_hybrid_pt2("r")
hybrid 2 color green / white : script: card_hybrid_pt2("g")
hybrid 2 color white / black : script: card_hybrid_pt2("w")
hybrid 2 color blue / red : script: card_hybrid_pt2("u")
hybrid 2 color black / green : script: card_hybrid_pt2("b")
hybrid 2 color red / white : script: card_hybrid_pt2("r")
hybrid 2 color green / blue : script: card_hybrid_pt2("g")
hybrid 2 color colorless / white : script: card_hybrid_pt2("a")
hybrid 2 color colorless / blue : script: card_hybrid_pt2("a")
hybrid 2 color colorless / black : script: card_hybrid_pt2("a")
hybrid 2 color colorless / red : script: card_hybrid_pt2("a")
hybrid 2 color colorless / green : script: card_hybrid_pt2("a")
hybrid 3 color white / blue / black : script: card_hybrid_pt2("b")
hybrid 3 color blue / black / red : script: card_hybrid_pt2("r")
hybrid 3 color black / red / green : script: card_hybrid_pt2("g")
hybrid 3 color red / green / white : script: card_hybrid_pt2("w")
hybrid 3 color green / white / blue : script: card_hybrid_pt2("u")
hybrid 3 color white / black / red : script: card_hybrid_pt2("r")
hybrid 3 color blue / red / green : script: card_hybrid_pt2("g")
hybrid 3 color black / green / white : script: card_hybrid_pt2("w")
hybrid 3 color red / white / blue : script: card_hybrid_pt2("u")
hybrid 3 color green / blue / black : script: card_hybrid_pt2("b")
hybrid 4 color w/u/b/r : script: card_hybrid_pt2("b")
hybrid 4 color u/b/r/g : script: card_hybrid_pt2("r")
hybrid 4 color b/r/g/w : script: card_hybrid_pt2("g")
hybrid 4 color r/g/w/u : script: card_hybrid_pt2("w")
hybrid 4 color g/w/u/b : script: card_hybrid_pt2("u")
hybrid 5 color w/u/b/r/g : script: card_hybrid_pt2("g")
hybrid 5 color w/u/b/r/g (horizontal) : script: card_hybrid_pt2("w")
hybrid vertical white / blue : script: card_hybrid_pt2("u")
hybrid vertical white / black : script: card_hybrid_pt2("b")
hybrid vertical white / red : script: card_hybrid_pt2("r")
hybrid vertical white / green : script: card_hybrid_pt2("g")
hybrid vertical blue / white : script: card_hybrid_pt2("w")
hybrid vertical blue / black : script: card_hybrid_pt2("b")
hybrid vertical blue / red : script: card_hybrid_pt2("r")
hybrid vertical blue / green : script: card_hybrid_pt2("g")
hybrid vertical black / white : script: card_hybrid_pt2("w")
hybrid vertical black / blue : script: card_hybrid_pt2("u")
hybrid vertical black / red : script: card_hybrid_pt2("r")
hybrid vertical black / green : script: card_hybrid_pt2("g")
hybrid vertical red / white : script: card_hybrid_pt2("w")
hybrid vertical red / blue : script: card_hybrid_pt2("u")
hybrid vertical red / black : script: card_hybrid_pt2("b")
hybrid vertical red / green : script: card_hybrid_pt2("g")
hybrid vertical green / white : script: card_hybrid_pt2("w")
hybrid vertical green / blue : script: card_hybrid_pt2("u")
hybrid vertical green / red : script: card_hybrid_pt2("r")
hybrid vertical green / black : script: card_hybrid_pt2("b")
hybrid vertical colorless / white : script: card_hybrid_pt2("w")
hybrid vertical colorless / blue : script: card_hybrid_pt2("u")
hybrid vertical colorless / black : script: card_hybrid_pt2("b")
hybrid vertical colorless / red : script: card_hybrid_pt2("r")
hybrid vertical colorless / green : script: card_hybrid_pt2("g")
hybrid vertical white / colorless : script: card_hybrid_pt2("a")
hybrid vertical blue / colorless : script: card_hybrid_pt2("a")
hybrid vertical black / colorless : script: card_hybrid_pt2("a")
hybrid vertical red / colorless : script: card_hybrid_pt2("a")
hybrid vertical green / colorless : script: card_hybrid_pt2("a")
full name: Magic The Gathering, card blend utilities
version: 2006.01.17
# This file doesn't do anything, other files in this directory can be included
# in game/style files:
# card-colors Defines card color choices
# Use in game
# blend-scripts Defines card_hybrid, family of functions
# Use in init script of style
# card-backgrounds Uses the blend scripts to make choice images for card backgrounds
# Template names can be redefined
\ No newline at end of file
mse version: 0.2.7
# Symbol font in the 'popup' style, used for casting costs on modern cards
image font size: 135
horizontal space: 2
symbol:
image: mana_circle.png
symbol:
code: T
image: script: mana_t()
symbol:
code: W/U
image: mana_wu.png
image font size: 145
symbol:
code: U/B
image: mana_ub.png
image font size: 145
symbol:
code: B/R
image: mana_br.png
image font size: 145
symbol:
code: R/G
image: mana_rg.png
image font size: 145
symbol:
code: G/W
image: mana_gw.png
image font size: 145
symbol:
code: W/B
image: mana_wb.png
image font size: 145
symbol:
code: U/R
image: mana_ur.png
image font size: 145
symbol:
code: B/G
image: mana_bg.png
image font size: 145
symbol:
code: R/W
image: mana_rw.png
image font size: 145
symbol:
code: G/U
image: mana_gu.png
image font size: 145
symbol:
code: 1/2
image: mana_1_half.png
symbol:
code: |W
image: mana_w_half.png
symbol:
code: |U
image: mana_u_half.png
symbol:
code: |B
image: mana_b_half.png
symbol:
code: |R
image: mana_r_half.png
symbol:
code: |G
image: mana_g_half.png
symbol:
code: |S
image: mana_s_half.png
symbol:
code: W
image: mana_w.png
symbol:
code: U
image: mana_u.png
symbol:
code: B
image: mana_b.png
symbol:
code: R
image: mana_r.png
symbol:
code: G
image: mana_g.png
symbol:
code: S
image: mana_s.png
merge numbers: true
text font:
name: MPlantin
size: 15
color: rgb(0,0,0)
text margin left: 3
text margin right: 2
text margin top: -1
text margin bottom: -1
\ No newline at end of file
mse version: 0.2.7
# Symbol font in the normal, flat, style, used for text boxes and on old style cards
# Note:
# Define small_mana_t:="mana_t(_old)?.png" in the init script of the style
#
# So for example:
#
#init script:
# small_mana_t := "mana_t.png"
image font size: 135
horizontal space: 2
symbol:
image: mana_circle.png
symbol:
code: T
image: { mana_t() }
symbol:
code: W/U
image: mana_wu.png
image font size: 145
symbol:
code: U/B
image: mana_ub.png
image font size: 145
symbol:
code: B/R
image: mana_br.png
image font size: 145
symbol:
code: R/G
image: mana_rg.png
image font size: 145
symbol:
code: G/W
image: mana_gw.png
image font size: 145
symbol:
code: W/B
image: mana_wb.png
image font size: 145
symbol:
code: U/R
image: mana_ur.png
image font size: 145
symbol:
code: B/G
image: mana_bg.png
image font size: 145
symbol:
code: R/W
image: mana_rw.png
image font size: 145
symbol:
code: G/U
image: mana_gu.png
image font size: 145
symbol:
code: 1/2
image: mana_1_half.png
symbol:
code: |W
image: mana_w_half.png
symbol:
code: |U
image: mana_u_half.png
symbol:
code: |B
image: mana_b_half.png
symbol:
code: |R
image: mana_r_half.png
symbol:
code: |G
image: mana_g_half.png
symbol:
code: |S
image: mana_s_half.png
symbol:
code: W
image: mana_w.png
symbol:
code: U
image: mana_u.png
symbol:
code: B
image: mana_b.png
symbol:
code: R
image: mana_r.png
symbol:
code: G
image: mana_g.png
symbol:
code: S
image: mana_s.png
merge numbers: true
text font:
name: MPlantin
size: 15
color: rgb(0,0,0)
text margin left: 3
text margin right: 2
text margin top: -1
text margin bottom: -1
\ No newline at end of file
mse version: 0.2.7
game: magic
short name: Flip Cards
full name: Modern flip cards
icon: card-sample.png
# Author: Wolfwood
# Non-creature extension: Guinea Pig and Neko Asakami
# Lots of copy/paste from magic-new.mse-style
############################################################## Extra scripts
init script:
# Load blend scripts for hybrids/multicolors
include file: magic-blends.mse-include/blend-scripts
# Should hybrids have a grey name?
# Not supported (yet)
mask_hybrid_with_land := { false }
# We have no land templates
land_template := { "acard.jpg" }
# Use the normal tap symbol
mana_t := { "mana_t.png" }
# Does the card have a color that requires a white font for copyright/artist?
white_font_colors := filter_rule(match:"^(hybrid )?black|^land")
font_color := {
if white_font_colors(input:card.card_color) != "" then
rgb(255,255,255)
else
rgb(0,0,0)
}
############################################################## Set info fields
info style:
title:
padding left: 2
font:
size: 16
symbol:
variation:
name: common
border radius: 0.10
fill type: solid
fill color: rgb(0,0,0)
border color: rgb(255,255,255)
variation:
name: uncommon
border radius: 0.05
fill type: linear gradient
fill color 1: rgb(224,224,224)
fill color 2: rgb(84, 84, 84)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: rare
border radius: 0.05
fill type: linear gradient
fill color 1: rgb(214,196,94)
fill color 2: rgb(95, 84, 40)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: special
border radius: 0.10
fill type: linear gradient
fill color 1: rgb(224,170,247)
fill color 2: rgb(58,7,80)
border color 1: rgb(255,255,255)
border color 2: rgb(255,255,255)
automatic reminder text:
render style: both
choice images:
yes: script: buildin_image("bool_yes")
no: script: buildin_image("bool_no")
use gradient multicolor:
render style: both
choice images:
yes: script: buildin_image("bool_yes")
no: script: buildin_image("bool_no")
############################################################## Extra style
extra field:
type: boolean
name: grey hybrid name
description: Use a grey background for the name and type line on hybrid cards. This is done on real cards.
initial: no
extra field:
type: boolean
name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no
extra field:
type: boolean
name: popup mana symbols
description: Use the symbols of the casting cost line inside the text box as well
initial: no
extra style:
popup mana symbols:
choice images:
yes: /magic-mana-large.mse-symbol-font/mana_w.png
no: /magic-mana-small.mse-symbol-font/mana_w.png
############################################################## Card fields
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
bottom width: 18
z index: -1
card color:
left: 0
top: 0
width: 375
height: 523
z index: -2
render style: image
popup style: in place
include file: magic-blends.mse-include/card-backgrounds
############################# Name line
name:
left:
script: if card.card_symbol=="none" then 32 else 51
top : 30
width:
script: if card.card_symbol=="none" then 246 else 227
height: 23
align: bottom shrink-overflow
padding bottom: 0
z index: 1
font:
name: Matrix
size: 17
weight: bold
color: rgb(0,0,0)
name 2:
left: 35
top : 454
width: 308
height: 23
align: bottom shrink-overflow
angle: 180
padding bottom: 0
z index: 1
font:
name: Matrix
size: 17
weight: bold
color: rgb(0,0,0)
casting cost:
left: 280
top : 30
width: 63
height: 23
align: bottom right
symbol font:
name: magic-mana-large
size: 15
align: bottom right
always symbol: true
z index: 2
padding top: 0
casting cost 2:
left: 32
top : 454
width: 63
height: 23
align: bottom right
angle: 180
symbol font:
name: magic-mana-large
size: 15
align: bottom right
always symbol: true
z index: 2
padding top: 0
card symbol:
left:
script: if card.card_symbol=="none" then 20 else 32
top : 31
height: 20
width: 14
render style: image
choice images:
tombstone: tombstone.png
############################# Image
image:
left: 32
top: 162
width: 311
height: 182
z index: 10
############################# Card type
type:
left: 33
top : 134
width: 253
height: 18
align: top shrink-overflow
z index: 1
font:
name: Matrix
size: 14
color: rgb(0,0,0)
separator color: rgb(128,128,128)
type 2:
left: 86
top : 353
width: 256
height: 18
align: top shrink-overflow
angle: 180
z index: 1
font:
name: Matrix
size: 14
color: rgb(0,0,0)
separator color: rgb(128,128,128)
rarity:
left: 320
top : 482
width: 22
height: 22
z index: 1
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")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
############################# Text box
text:
left: 33
top : 60
width: 310
height: 65
font:
name: MPlantin
italic name: MPlantin-Italic
size: 14
scale down to: 8
color: rgb(0,0,0)
symbol font:
name:
script:
if styling.popup_mana_symbols
then "magic-mana-large"
else "magic-mana-small"
size: 14
align: middle left
z index: 2
padding left: 4
padding top: -1
padding right: 4
padding bottom: -1
line height hard: 1.2
line height line: 1.5
text 2:
left: 32
top : 380
width: 310
height: 65
angle: 180
font:
name: MPlantin
italic name: MPlantin-Italic
size: 14
scale down to: 8
color: rgb(0,0,0)
symbol font:
name:
script:
if styling.popup_mana_symbols
then "magic-mana-large"
else "magic-mana-small"
size: 14
align: middle left
z index: 2
padding left: 4
padding top: -1
padding right: 4
padding bottom: -1
line height hard: 1.2
line height line: 1.5
############################# PT
pt:
z index: 4
left: 287
top: 131
width: 60
height: 28
align: center middle
font:
name: Mplantin
size: 18
weight: bold
color: rgb(0,0,0)
separator color: rgb(200,0,0)
pt 2:
z index: 4
left: 24
top: 348
width: 60
height: 28
align: center middle
angle: 180
font:
name: Mplantin
size: 18
weight: bold
color: rgb(0,0,0)
separator color: rgb(200,0,0)
############################# PT, by Guinea Pig
########### pt box 1 needs to be at 286/124 (captured at 285/123), pt box 2 at 17/342 (captured at 17/342)
pt box:
left: 286
top: 123
width: 70
height: 38
z index: 1
visible:
script: card.pt != ""
render style: image
include file: magic-blends.mse-include/flip-ptboxes
pt box 1b:
left: 17
top: 342
width: 70
height: 38
z index: 2
visible:
script: card.pt_2 != ""
render style: image
include file: magic-blends.mse-include/flip-ptboxes2
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 58
top : 479
width: 217
height: 16
z index: 1
font:
name: Matrix
size: 12
color:
script: font_color()
copyright line:
left: 26
top : 493
width: 247
height: 12
z index: 1
font:
name: MPlantin
size: 8
color:
script: font_color()
width: 375
height: 523
dpi: 150
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment