Added new kind of multicolor gradient to old styles. (a la artfreakwiu)

Added option to old style to use all common rarity symbols (like before Exodus).
Cleaned up fix for horizontal hybrid textboxes and typelines.
Automatic paintbrushes for magic-textless, magic-new-token, futureshifts, and all FPM styles.
Removed paintbrush font and all associated scripts.
Newly failed attempt at making different colored colorless symbols in magic-mana-future work.
Non-mana costs work for Suspend and Forecast.
Guild mana for magic-mana-future.
Fixed problem relating to name alignment in magic-new-token.
Updated image mask and artifact masks for magic-futureshift.
Started alterations to font colors in magic-futureshift.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@611 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2007-08-15 07:37:34 +00:00
parent 81dc4329fe
commit 85ce07e53f
52 changed files with 617 additions and 334 deletions
+51 -6
View File
@@ -65,7 +65,38 @@ init script:
else "new"
}
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"
else "c"
}
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" }
############################################################## Extra style options
@@ -262,19 +293,16 @@ card style:
############################# Copyright stuff
illustrator:
left: 131
right: { if card.pt != "" then 281 else 341 }
top : 478
width: { if card.pt != "" then 150 else 210 }
width: { max(150, card_style.illustrator.content_width) + 5 }
height: 16
z index: 2
alignment: bottom right
alignment: middle right
font:
name: MPlantin
size: 8
color: { font_color(card.card_color) }
symbol font:
name: magic-paintbrush
size: 14
copyright line:
left: 22
@@ -294,6 +322,13 @@ extra card field:
name: pt box
script: card.card_color
editable: false
extra card field:
type: choice
name: paintbrush
script: paintbrush_color(card.card_color)
editable: false
choice: black
choice: white
extra card style:
pt box:
@@ -306,3 +341,13 @@ extra card style:
render style: image
image: { card_ptbox() }
mask: mask_pt.png
paintbrush:
right: { ( if card.pt != "" then 281 else 341 ) - card_style.illustrator.content_width }
top : 479
width: 40
height: 15
z index: 2
render style: image
choice images:
black: paintbrush.png
white: paintbrush_w.png