Commit 00a5199d authored by pichoro's avatar pichoro

Font colors closer to correct for future styles.

parent c09610ff
...@@ -16,7 +16,6 @@ card dpi: 150 ...@@ -16,7 +16,6 @@ card dpi: 150
#Casting cost mask #Casting cost mask
#Frames can be changed to jpegs #Frames can be changed to jpegs
#make colored artifacts look right #make colored artifacts look right
#white font color for blue land, red land, black land, and green land
############################################################## Extra scripts ############################################################## Extra scripts
init script: init script:
...@@ -99,7 +98,10 @@ 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" } 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 ############################################################## Extra style options
...@@ -271,7 +273,13 @@ card style: ...@@ -271,7 +273,13 @@ card style:
font: font:
name: MPlantin name: MPlantin
size: 8 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: copyright line:
left: 22 left: 22
...@@ -283,7 +291,13 @@ card style: ...@@ -283,7 +291,13 @@ card style:
font: font:
name: MPlantin name: MPlantin
size: 7 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 fields
extra card field: extra card field:
...@@ -315,7 +329,7 @@ extra card field: ...@@ -315,7 +329,7 @@ extra card field:
extra card field: extra card field:
type: choice type: choice
name: paintbrush name: paintbrush
script: paintbrush_color(card.card_color) script: paintbrush_font(value)
editable: false editable: false
choice: black choice: black
choice: white choice: white
......
...@@ -12,6 +12,7 @@ card dpi: 150 ...@@ -12,6 +12,7 @@ card dpi: 150
#By: Pichoro #By: Pichoro
# #
#Todo: #Todo:
#Casting Cost Mask Ajustments
#Colorless Frame #Colorless Frame
#Make different colored colorless mana symbols work #Make different colored colorless mana symbols work
############################################################## Extra scripts ############################################################## Extra scripts
...@@ -126,7 +127,10 @@ init script: ...@@ -126,7 +127,10 @@ init script:
) )
} }
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 ############################################################## Extra style options
...@@ -287,7 +291,10 @@ card style: ...@@ -287,7 +291,10 @@ card style:
italic name: MPlantin-Italic italic name: MPlantin-Italic
size: 15 size: 15
scale down to: 6 scale down to: 6
color: rgb(0,0,0) color:
script:
if not contains(card.card_color, match:"land") then rgb(0,0,0)
else font_color(card.card_color)
symbol font: symbol font:
name: name:
{ if styling.futuristic_mana_symbols then "magic-mana-future" { if styling.futuristic_mana_symbols then "magic-mana-future"
...@@ -346,7 +353,13 @@ card style: ...@@ -346,7 +353,13 @@ card style:
font: font:
name: MPlantin name: MPlantin
size: 8 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: copyright line:
left: 20 left: 20
...@@ -358,8 +371,13 @@ card style: ...@@ -358,8 +371,13 @@ card style:
font: font:
name: MPlantin name: MPlantin
size: 7 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 fields
extra card field: extra card field:
type: choice type: choice
...@@ -403,7 +421,7 @@ extra card field: ...@@ -403,7 +421,7 @@ extra card field:
extra card field: extra card field:
type: choice type: choice
name: paintbrush name: paintbrush
script: paintbrush_color(card.card_color) script: paintbrush_font(value)
editable: false editable: false
choice: black choice: black
choice: white choice: white
......
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