Commit 80ca27b5 authored by pichoro's avatar pichoro

Forgot some changes from my last update.

parent 940a7a76
...@@ -68,31 +68,11 @@ init script: ...@@ -68,31 +68,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"
} }
...@@ -180,7 +160,11 @@ card style: ...@@ -180,7 +160,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: 18 left: 18
top: 57 top: 57
...@@ -228,7 +212,11 @@ card style: ...@@ -228,7 +212,11 @@ card style:
font: font:
name: Matrix name: Matrix
size: 14 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: 352 right: 352
......
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