Font colors closer to correct for future styles.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@633 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2007-08-28 03:57:31 +00:00
parent 61fb2f4d99
commit 0914c53f0d
2 changed files with 43 additions and 11 deletions
+19 -5
View File
@@ -16,7 +16,6 @@ card dpi: 150
#Casting cost mask
#Frames can be changed to jpegs
#make colored artifacts look right
#white font color for blue land, red land, black land, and green land
############################################################## Extra scripts
init script:
@@ -99,7 +98,10 @@ init script:
font_colors_white := { input != "w" and input != "c" and input != "a" and input != "l" and input != "m" }
paintbrush_color := { if font_white() then "white" else "black" }
paintbrush_font:= { if contains(card.card_color, match:"land") then "white"
else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black"
else "white"
}
############################################################## Extra style options
@@ -271,7 +273,13 @@ card style:
font:
name: MPlantin
size: 8
color: { font_color(card.card_color) }
color:
script:
if contains(card.card_color, match:"land") then rgb(255,255,255)
else if contains(card.card_color, match:"artifact") or
contains(card.card_color, match:"multicolor") or
contains(card.card_color, match:"white") then rgb(0,0,0)
else rgb(255,255,255)
copyright line:
left: 22
@@ -283,7 +291,13 @@ card style:
font:
name: MPlantin
size: 7
color: { font_color(card.card_color) }
color:
script:
if contains(card.card_color, match:"land") then rgb(255,255,255)
else if contains(card.card_color, match:"artifact") or
contains(card.card_color, match:"multicolor") or
contains(card.card_color, match:"white") then rgb(0,0,0)
else rgb(255,255,255)
############################################################## Extra card fields
extra card field:
@@ -315,7 +329,7 @@ extra card field:
extra card field:
type: choice
name: paintbrush
script: paintbrush_color(card.card_color)
script: paintbrush_font(value)
editable: false
choice: black
choice: white