From 1ca1f8d4be26b51aae38c540aadffe37a23babb1 Mon Sep 17 00:00:00 2001 From: pichoro Date: Wed, 29 Aug 2007 01:28:06 +0000 Subject: [PATCH] Forgot some changes from my last update. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@642 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic-future-textless.mse-style/style | 42 ++++++++-------------- 1 file changed, 15 insertions(+), 27 deletions(-) diff --git a/data/magic-future-textless.mse-style/style b/data/magic-future-textless.mse-style/style index e081402f..fd2d1645 100644 --- a/data/magic-future-textless.mse-style/style +++ b/data/magic-future-textless.mse-style/style @@ -68,31 +68,11 @@ init script: guild_mana := { styling.use_guild_mana_symbols } colorless_color := { - if contains(card.card_color, match: "white") - 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 "w" - 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" + if card.card_color=="white" then "w" + else if card.card_color=="blue" then "u" + else if card.card_color=="black" then "b" + else if card.card_color=="red" then "r" + else if card.card_color=="green" then "g" else "c" } @@ -180,7 +160,11 @@ card style: font: name: Matrix 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: left: 18 top: 57 @@ -228,7 +212,11 @@ card style: font: name: Matrix 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) rarity: right: 352