Commit 9243d23c authored by twanvl's avatar twanvl

Using a 'package choice' field

parent 5684600f
...@@ -22,6 +22,7 @@ depends on: ...@@ -22,6 +22,7 @@ depends on:
package: magic-mana-small.mse-symbol-font package: magic-mana-small.mse-symbol-font
version: 2007-09-23 version: 2007-09-23
card background: white
card width: 375 card width: 375
card height: 523 card height: 523
card dpi: 150 card dpi: 150
...@@ -57,6 +58,7 @@ init script: ...@@ -57,6 +58,7 @@ init script:
# Use guild mana symbols? # Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols } guild_mana := { styling.use_guild_mana_symbols }
colorless_color := { "c" } # MOVE TO GAME FILE
# Does the card have a color that requires a white font for copyright/artist? # Does the card have a color that requires a white font for copyright/artist?
#white_font_colors := filter_rule(match:"^(hybrid 2 color )?(hybrid 3 color [^/]*/[^/]*/ )?(hybrid vertical [^/]*/ )?(black|land|hybrid 4 color white / blue / black / red|hybrid 2 color overlay blue / black|hybrid 2 color overlay black / red|hybrid 2 color overlay black / green)") #white_font_colors := filter_rule(match:"^(hybrid 2 color )?(hybrid 3 color [^/]*/[^/]*/ )?(hybrid vertical [^/]*/ )?(black|land|hybrid 4 color white / blue / black / red|hybrid 2 color overlay blue / black|hybrid 2 color overlay black / red|hybrid 2 color overlay black / green)")
...@@ -132,6 +134,11 @@ styling field: ...@@ -132,6 +134,11 @@ styling field:
initial: standard initial: standard
choice: standard choice: standard
choice: extended choice: extended
styling field:
type: package choice
name: text box mana symbols
match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.mse-symbol-font
styling style: styling style:
artifact style: artifact style:
render style: both render style: both
...@@ -280,11 +287,7 @@ card style: ...@@ -280,11 +287,7 @@ card style:
scale down to: 6 scale down to: 6
color: rgb(0,0,0) color: rgb(0,0,0)
symbol font: symbol font:
name: name: { styling.text_box_mana_symbols }
script:
if styling.popup_mana_symbols
then "magic-mana-large"
else "magic-mana-small"
size: 14 size: 14
alignment: alignment:
script: script:
......
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