Corrected some errors in magic-new-split.

Added magic-old-split.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@319 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2007-05-05 06:08:23 +00:00
parent ed8442666e
commit e7bc7438b8
33 changed files with 470 additions and 27 deletions
+43 -27
View File
@@ -17,6 +17,9 @@ init script:
# Load blend scripts for hybrids/multicolors
include file: magic-blends.mse-include/blend-scripts
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
# Which artifact template should be used?
artifact_template := {
if styling.darker_artifacts then "a" else "oa"
@@ -32,15 +35,16 @@ init script:
guild_mana := { styling.use_guild_mana_symbols }
# Does the card have a color that requires a white font for copyright/artist?
white_font_colors := filter_rule(match:"^(hybrid 2 color)?black|^land")
white_font_colors := filter_rule(match:"^(hybrid 2 color )?(hybrid 3 color [^/]*/[^/]*/ )?(hybrid vertical [^/]*/ )?(black|land|hybrid 4 color white / blue / black / red)")
font_color := {
if white_font_colors() != "" then
rgb(255,255,255)
else
rgb(0,0,0)
if white_font_colors(input: card.card_color) != "" then rgb(255,255,255)
else rgb(0,0,0)
}
font_color_2 := {
if white_font_colors(input: card.card_color_2) != "" then rgb(255,255,255)
else rgb(0,0,0)
}
############################################################## Extra style options
styling field:
@@ -51,6 +55,10 @@ styling field:
type: boolean
name: darker artifacts
description: Use darker artifacts, as used by Wizards since Fifth Dawn.
styling field:
type: boolean
name: grey hybrid name
description: Use a grey background for the name and type line on hybrid cards. This is done on real cards.
styling field:
type: boolean
name: use guild mana symbols
@@ -117,11 +125,9 @@ card style:
############################# Name line
name:
left:
script: if card.card_symbol=="none" then 30 else 51
left: { if card.card_symbol=="none" then 30 else 51 }
top : 27
width:
script: if card.card_symbol=="none" then 175 else 168
width: { if card.card_symbol=="none" then 175 else 168 }
height: 17
alignment: top shrink-overflow
padding bottom: 0
@@ -132,11 +138,9 @@ card style:
weight: bold
color: rgb(0,0,0)
name 2:
left:
script: if card.card_symbol_2=="none" then 282 else 51
left: { if card.card_symbol_2=="none" then 282 else 51 }
top : 27
width:
script: if card.card_symbol_2=="none" then 215 else 227
width: { if card.card_symbol_2=="none" then 215 else 227 }
height: 17
alignment: top shrink-overflow
padding bottom: 0
@@ -301,6 +305,24 @@ card style:
padding bottom: 2
line height hard: 1.2
line height line: 1.5
watermark:
left: 87
top : 228
width: 92
height: 108
z index: 1
render style: image
alignment: middle center
include file: magic-watermarks.mse-include/watermarks
watermark 2:
left: 338
top : 228
width: 92
height: 108
z index: 1
render style: image
alignment: middle center
include file: magic-watermarks.mse-include/watermarks
############################# PT
pt:
@@ -337,8 +359,7 @@ card style:
width: 56
height: 29
z index: 1
visible:
script: card.pt != ""
visible: { card.pt != "" }
render style: image
include file: magic-blends.mse-include/card-ptboxes
@@ -348,8 +369,7 @@ card style:
width: 56
height: 29
z index: 1
visible:
script: card.pt_2 != ""
visible: { card.pt_2 != "" }
render style: image
include file: magic-blends.mse-include/card-ptboxes
@@ -365,8 +385,7 @@ card style:
font:
name: Matrix
size: 8
color:
script: font_color(card.card_color)
color: { font_color() }
illustrator 2:
left: 298
@@ -377,8 +396,7 @@ card style:
font:
name: Matrix
size: 8
color:
script: font_color(card.card_color_2)
color: { font_color_2() }
copyright line:
left: 26
@@ -389,8 +407,7 @@ card style:
font:
name: MPlantin
size: 6
color:
script: font_color(card.card_color)
color: { font_color() }
copyright line 2:
left: 278
@@ -401,5 +418,4 @@ card style:
font:
name: MPlantin
size: 6
color:
script: font_color(card.card_color_2)
color: { font_color_2() }