Minor adjustments to futureshift cost masks. Looking good now.
Lots of other minor font and field tweaks to futureshifts. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@641 0fc631ac-6414-0410-93d0-97cfa31319b6
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 931 B After Width: | Height: | Size: 752 B |
|
Before Width: | Height: | Size: 926 B After Width: | Height: | Size: 755 B |
|
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 581 B |
|
Before Width: | Height: | Size: 959 B After Width: | Height: | Size: 852 B |
|
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 833 B |
|
Before Width: | Height: | Size: 920 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 910 B After Width: | Height: | Size: 976 B |
@@ -220,20 +220,20 @@ card style:
|
|||||||
type:
|
type:
|
||||||
left: 49
|
left: 49
|
||||||
top : 434
|
top : 434
|
||||||
width: { 288 - max(18,card_style.rarity.content_width) }
|
width: { 300 - max(18,card_style.rarity.content_width) }
|
||||||
height: 28
|
height: 28
|
||||||
alignment: top shrink-overflow
|
alignment: top shrink-overflow
|
||||||
z index: 1
|
z index: 1
|
||||||
padding top: 2
|
padding top: 2
|
||||||
font:
|
font:
|
||||||
name: Matrix
|
name: Matrix
|
||||||
size: 16
|
size: 14
|
||||||
color: { font_color(card.card_color) }
|
color: { font_color(card.card_color) }
|
||||||
separator color: rgb(128,128,128)
|
separator color: rgb(128,128,128)
|
||||||
rarity:
|
rarity:
|
||||||
right: 352
|
right: 352
|
||||||
top : 439
|
top : 439
|
||||||
width: 36
|
width: 19
|
||||||
height: 19
|
height: 19
|
||||||
z index: 2
|
z index: 2
|
||||||
alignment: middle right
|
alignment: middle right
|
||||||
@@ -271,8 +271,8 @@ card style:
|
|||||||
z index: 2
|
z index: 2
|
||||||
alignment: middle right
|
alignment: middle right
|
||||||
font:
|
font:
|
||||||
name: MPlantin
|
name: Matrix
|
||||||
size: 8
|
size: 10
|
||||||
color:
|
color:
|
||||||
script:
|
script:
|
||||||
if contains(card.card_color, match:"land") then rgb(255,255,255)
|
if contains(card.card_color, match:"land") then rgb(255,255,255)
|
||||||
@@ -346,7 +346,7 @@ extra card style:
|
|||||||
image: { card_ptbox() }
|
image: { card_ptbox() }
|
||||||
mask: mask_pt.png
|
mask: mask_pt.png
|
||||||
type symbol:
|
type symbol:
|
||||||
left: 23
|
left: 24
|
||||||
top: 25
|
top: 25
|
||||||
width: 21
|
width: 21
|
||||||
height: 20
|
height: 20
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 931 B After Width: | Height: | Size: 752 B |
|
Before Width: | Height: | Size: 926 B After Width: | Height: | Size: 755 B |
|
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 581 B |
|
Before Width: | Height: | Size: 959 B After Width: | Height: | Size: 852 B |
|
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 833 B |
|
Before Width: | Height: | Size: 920 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 910 B After Width: | Height: | Size: 976 B |
@@ -12,13 +12,12 @@ card dpi: 150
|
|||||||
#By: Pichoro
|
#By: Pichoro
|
||||||
#
|
#
|
||||||
#Todo:
|
#Todo:
|
||||||
#Casting Cost Mask Ajustments
|
|
||||||
#Colorless Frame
|
#Colorless Frame
|
||||||
#Make different colored colorless mana symbols work
|
|
||||||
############################################################## Extra scripts
|
############################################################## Extra scripts
|
||||||
|
|
||||||
init script:
|
init script:
|
||||||
# there are only wubrg templates
|
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||||
|
|
||||||
suffix := [card: "card.png", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
|
suffix := [card: "card.png", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
|
||||||
template := { input + suffix[type] }
|
template := { input + suffix[type] }
|
||||||
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
|
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
|
||||||
@@ -65,31 +64,11 @@ init script:
|
|||||||
guild_mana := { styling.use_guild_mana_symbols }
|
guild_mana := { styling.use_guild_mana_symbols }
|
||||||
|
|
||||||
colorless_color := {
|
colorless_color := {
|
||||||
if contains(card.card_color, match: "white")
|
if card.card_color=="white" then "w"
|
||||||
and not contains(card.card_color, match: "hybrid")
|
else if card.card_color=="blue" then "u"
|
||||||
and not contains(card.card_color, match: "multicolor")
|
else if card.card_color=="black" then "b"
|
||||||
and not contains(card.card_color, match: "artifact")
|
else if card.card_color=="red" then "r"
|
||||||
and not contains(card.card_color, match: "land") then "w"
|
else if card.card_color=="green" then "g"
|
||||||
else if contains(card.card_color, match: "blue")
|
|
||||||
and not contains(card.card_color, match: "hybrid")
|
|
||||||
and not contains(card.card_color, match: "multicolor")
|
|
||||||
and not contains(card.card_color, match: "artifact")
|
|
||||||
and not contains(card.card_color, match: "land") then "u"
|
|
||||||
else if contains(card.card_color, match: "black")
|
|
||||||
and not contains(card.card_color, match: "hybrid")
|
|
||||||
and not contains(card.card_color, match: "multicolor")
|
|
||||||
and not contains(card.card_color, match: "artifact")
|
|
||||||
and not contains(card.card_color, match: "land") then "b"
|
|
||||||
else if contains(card.card_color, match: "red")
|
|
||||||
and not contains(card.card_color, match: "hybrid")
|
|
||||||
and not contains(card.card_color, match: "multicolor")
|
|
||||||
and not contains(card.card_color, match: "artifact")
|
|
||||||
and not contains(card.card_color, match: "land") then "r"
|
|
||||||
else if contains(card.card_color, match: "green")
|
|
||||||
and not contains(card.card_color, match: "hybrid")
|
|
||||||
and not contains(card.card_color, match: "multicolor")
|
|
||||||
and not contains(card.card_color, match: "artifact")
|
|
||||||
and not contains(card.card_color, match: "land") then "g"
|
|
||||||
else "c"
|
else "c"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,6 +113,10 @@ init script:
|
|||||||
|
|
||||||
############################################################## Extra style options
|
############################################################## Extra style options
|
||||||
|
|
||||||
|
styling 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.
|
||||||
styling field:
|
styling field:
|
||||||
type: boolean
|
type: boolean
|
||||||
name: use guild mana symbols
|
name: use guild mana symbols
|
||||||
@@ -214,7 +197,11 @@ card style:
|
|||||||
font:
|
font:
|
||||||
name: Matrix
|
name: Matrix
|
||||||
size: 18
|
size: 18
|
||||||
color: { font_color(card.card_color) }
|
color:
|
||||||
|
script:
|
||||||
|
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||||
|
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||||
|
else font_color(card.card_color)
|
||||||
casting cost:
|
casting cost:
|
||||||
left: 4
|
left: 4
|
||||||
top: 39
|
top: 39
|
||||||
@@ -254,21 +241,25 @@ card style:
|
|||||||
type:
|
type:
|
||||||
left: 49
|
left: 49
|
||||||
top : 300
|
top : 300
|
||||||
width: { 291 - max(21,card_style.rarity.content_width) }
|
width: { 300 - max(21,card_style.rarity.content_width) }
|
||||||
height: 20
|
height: 20
|
||||||
alignment: middle shrink-overflow
|
alignment: middle shrink-overflow
|
||||||
z index: 3
|
z index: 3
|
||||||
padding top: 2
|
padding top: 2
|
||||||
font:
|
font:
|
||||||
name: Matrix
|
name: Matrix
|
||||||
size: 15
|
size: 14
|
||||||
color: { font_color(card.card_color) }
|
color:
|
||||||
|
script:
|
||||||
|
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||||
|
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||||
|
else font_color(card.card_color)
|
||||||
separator color: rgb(128,128,128)
|
separator color: rgb(128,128,128)
|
||||||
rarity:
|
rarity:
|
||||||
right: 353
|
right: 353
|
||||||
top : 301
|
top : 304
|
||||||
width: 42
|
width: 19
|
||||||
height: 21
|
height: 19
|
||||||
z index: 3
|
z index: 3
|
||||||
alignment: middle right
|
alignment: middle right
|
||||||
render style: image
|
render style: image
|
||||||
@@ -351,8 +342,8 @@ card style:
|
|||||||
z index: 2
|
z index: 2
|
||||||
alignment: middle right
|
alignment: middle right
|
||||||
font:
|
font:
|
||||||
name: MPlantin
|
name: Matrix
|
||||||
size: 8
|
size: 10
|
||||||
color:
|
color:
|
||||||
script:
|
script:
|
||||||
if contains(card.card_color, match:"land") then rgb(255,255,255)
|
if contains(card.card_color, match:"land") then rgb(255,255,255)
|
||||||
@@ -455,8 +446,8 @@ extra card style:
|
|||||||
render style: image
|
render style: image
|
||||||
image: { card_ptbox() }
|
image: { card_ptbox() }
|
||||||
type symbol:
|
type symbol:
|
||||||
left: 23
|
left: 24
|
||||||
top: 25
|
top: 24
|
||||||
width: 21
|
width: 21
|
||||||
height: 20
|
height: 20
|
||||||
z index: 4
|
z index: 4
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ symbol:
|
|||||||
as text: .|[0-9]+(?!/)
|
as text: .|[0-9]+(?!/)
|
||||||
text font:
|
text font:
|
||||||
name: MPlantin
|
name: MPlantin
|
||||||
size: 15
|
size: 16
|
||||||
color: rgb(0,0,0)
|
color: rgb(0,0,0)
|
||||||
text margin left: 3
|
text margin left: 3
|
||||||
text margin right: 2
|
text margin right: 2
|
||||||
|
|||||||