Commit 02a1b300 authored by pichoro's avatar pichoro

First Shadowmoor Update.

Untap symbols all around (Magic and Vanguard).
First two Shadowmoor keywords (Wither and Persist).
parent d266849e
...@@ -785,6 +785,7 @@ symbol font: ...@@ -785,6 +785,7 @@ symbol font:
# note: reminder/shortcut must start with a space, otherwise it is used as a shortcut # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut
# so typing T *anywhere* would insert a symbol (which would be bad) # so typing T *anywhere* would insert a symbol (which would be bad)
menu item T: &Tap symbol T menu item T: &Tap symbol T
menu item Q: &Untap symbol Q
menu item W: &White mana W menu item W: &White mana W
menu item U: Bl&ue mana U menu item U: Bl&ue mana U
menu item B: &Black mana B menu item B: &Black mana B
......
mse version: 0.3.6 mse version: 0.3.6
installer group: locales installer group: locales
full name: Français full name: Français
version: 2008-03-12 version: 2008-04-01
icon: fr.png icon: fr.png
############################################################## Menu items ############################################################## Menu items
...@@ -757,6 +757,7 @@ symbol font: ...@@ -757,6 +757,7 @@ symbol font:
# note: reminder/shortcut must start with a space, otherwise it is used as a shortcut # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut
# so typing T *anywhere* would insert a symbol (which would be bad) # so typing T *anywhere* would insert a symbol (which would be bad)
menu item T: &Tap symbol T menu item T: &Tap symbol T
menu item Q: &Untap symbol Q
menu item W: Mana &Blanc W menu item W: Mana &Blanc W
menu item U: Mana Bl&ue U menu item U: Mana Bl&ue U
menu item B: Mana &Noir B menu item B: Mana &Noir B
......
mse version: 0.3.6 mse version: 0.3.6
installer group: locales installer group: locales
full name: Italiano full name: Italiano
version: 2008-03-12 version: 2008-04-01
icon: it.png icon: it.png
############################################################## Menu items ############################################################## Menu items
...@@ -785,6 +785,7 @@ symbol font: ...@@ -785,6 +785,7 @@ symbol font:
# note: reminder/shortcut must start with a space, otherwise it is used as a shortcut # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut
# so typing T *anywhere* would insert a symbol (which would be bad) # so typing T *anywhere* would insert a symbol (which would be bad)
menu item T: &Simbolo TAP T menu item T: &Simbolo TAP T
menu item Q: &Simbolo UNTAP Q
menu item W: &Mana Bianco W menu item W: &Mana Bianco W
menu item U: Ma&na Blu U menu item U: Ma&na Blu U
menu item B: &Mana Nero B menu item B: &Mana Nero B
......
mse version: 0.3.6 mse version: 0.3.6
installer group: locales installer group: locales
full name: Japanese full name: Japanese
version: 2008-03-12 version: 2008-04-01
icon: jp.png icon: jp.png
############################################################## Menu items ############################################################## Menu items
...@@ -749,6 +749,7 @@ symbol font: ...@@ -749,6 +749,7 @@ symbol font:
# note: reminder/shortcut must start with a space, otherwise it is used as a shortcut # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut
# so typing T *anywhere* would insert a symbol (which would be bad) # so typing T *anywhere* would insert a symbol (which would be bad)
menu item T: &Tap symbol T menu item T: &Tap symbol T
menu item Q: &Untap symbol Q
menu item W: &White mana W menu item W: &White mana W
menu item U: Bl&ue mana U menu item U: Bl&ue mana U
menu item B: &Black mana B menu item B: &Black mana B
......
...@@ -5,7 +5,7 @@ short name: Extended Art ...@@ -5,7 +5,7 @@ short name: Extended Art
icon: card-sample.png icon: card-sample.png
position hint: 006 position hint: 006
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -92,7 +92,7 @@ styling field: ...@@ -92,7 +92,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -4,7 +4,8 @@ full name: FPM's Flip Magic ...@@ -4,7 +4,8 @@ full name: FPM's Flip Magic
short name: FPM Flip short name: FPM Flip
icon: card-sample.png icon: card-sample.png
position hint: 402 position hint: 402
version: 2007-12-29
version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -75,7 +76,7 @@ styling field: ...@@ -75,7 +76,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ short name: FPM Normal ...@@ -5,7 +5,7 @@ short name: FPM Normal
icon: card-sample.png icon: card-sample.png
position hint: 401 position hint: 401
version: 2007-12-29 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -98,7 +98,7 @@ styling field: ...@@ -98,7 +98,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ short name: FPM Promo ...@@ -5,7 +5,7 @@ short name: FPM Promo
icon: card-sample.png icon: card-sample.png
position hint: 404 position hint: 404
version: 2007-12-29 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -98,7 +98,7 @@ styling field: ...@@ -98,7 +98,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ short name: FPM Split ...@@ -5,7 +5,7 @@ short name: FPM Split
icon: card-sample.png icon: card-sample.png
position hint: 403 position hint: 403
version: 2007-12-29 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -102,7 +102,7 @@ styling field: ...@@ -102,7 +102,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ short name: FPM Token ...@@ -5,7 +5,7 @@ short name: FPM Token
icon: card-sample.png icon: card-sample.png
position hint: 407 position hint: 407
version: 2007-12-29 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -97,7 +97,7 @@ styling field: ...@@ -97,7 +97,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: Futureshift ...@@ -5,7 +5,7 @@ full name: Futureshift
icon: card-sample.png icon: card-sample.png
position hint: 050 position hint: 050
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -189,7 +189,7 @@ styling field: ...@@ -189,7 +189,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
mse version: 0.3.6 mse version: 0.3.6
version: 2007-10-12 version: 2008-04-01
short name: beveled style (firepenguinmaster) short name: beveled style (firepenguinmaster)
position hint: 101 position hint: 101
icon: mana_r.png icon: mana_r.png
...@@ -27,6 +27,17 @@ symbol: ...@@ -27,6 +27,17 @@ symbol:
symbol: symbol:
code: T code: T
image: mana_t.png image: mana_t.png
symbol:
code: Q
image: mana_q_older.png
enabled: { mana_t() == "older" }
symbol:
code: Q
image: mana_q_old.png
enabled: { mana_t() == "old" }
symbol:
code: Q
image: mana_q.png
symbol: symbol:
code: B/G/W code: B/G/W
image: mana_bgw.png image: mana_bgw.png
...@@ -206,6 +217,7 @@ text margin bottom: -.12 ...@@ -206,6 +217,7 @@ text margin bottom: -.12
# Insert-symbol menu # Insert-symbol menu
insert symbol menu: insert symbol menu:
item: T item: T
item: Q
item: item:
type: line type: line
item: X item: X
......
mse version: 0.3.6 mse version: 0.3.6
version: 2007-10-12 version: 2008-04-01
# Symbol font in the 'futuristic' style, used for casting costs on futureshift cards # Symbol font in the 'futuristic' style, used for casting costs on futureshift cards
short name: Future Sight style short name: Future Sight style
position hint: 005 position hint: 005
...@@ -28,6 +28,9 @@ symbol: ...@@ -28,6 +28,9 @@ symbol:
symbol: symbol:
code: T code: T
image: mana_t.png image: mana_t.png
symbol:
code: Q
image: mana_q.png
symbol: symbol:
code: W/U code: W/U
image: mana_guild_wu.png image: mana_guild_wu.png
...@@ -159,6 +162,7 @@ text margin bottom: 0.1 ...@@ -159,6 +162,7 @@ text margin bottom: 0.1
# Insert-symbol menu # Insert-symbol menu
insert symbol menu: insert symbol menu:
item: T item: T
item: Q
item: item:
type: line type: line
item: I item: I
......
mse version: 0.3.6 mse version: 0.3.6
version: 2007-10-12 version: 2008-04-01
# Symbol font in the 'popup' style, used for casting costs on modern cards # Symbol font in the 'popup' style, used for casting costs on modern cards
short name: popup style short name: popup style
position hint: 002 position hint: 002
...@@ -20,6 +20,17 @@ symbol: ...@@ -20,6 +20,17 @@ symbol:
symbol: symbol:
code: T code: T
image: mana_t.png image: mana_t.png
symbol:
code: Q
image: mana_q_older.png
enabled: { mana_t() == "older" }
symbol:
code: Q
image: mana_q_old.png
enabled: { mana_t() == "old" }
symbol:
code: Q
image: mana_q.png
symbol: symbol:
code: B/G/W code: B/G/W
image: mana_bgw.png image: mana_bgw.png
...@@ -220,6 +231,7 @@ text margin bottom: -.06 ...@@ -220,6 +231,7 @@ text margin bottom: -.06
# Insert-symbol menu # Insert-symbol menu
insert symbol menu: insert symbol menu:
item: T item: T
item: Q
item: item:
type: line type: line
item: X item: X
......
mse version: 0.3.6 mse version: 0.3.6
version: 2008-01-10 version: 2008-04-01
short name: normal (colorless) short name: normal (colorless)
position hint: 21 position hint: 21
icon: mana_r.png icon: mana_r.png
...@@ -27,6 +27,17 @@ symbol: ...@@ -27,6 +27,17 @@ symbol:
symbol: symbol:
code: T code: T
image: mana_t.png image: mana_t.png
symbol:
code: Q
image: mana_q_older.png
enabled: { mana_t() == "older" }
symbol:
code: Q
image: mana_q_old.png
enabled: { mana_t() == "old" }
symbol:
code: Q
image: mana_q.png
symbol: symbol:
code: B/G/W code: B/G/W
image: mana_bgw.png image: mana_bgw.png
...@@ -226,6 +237,7 @@ text margin bottom: -.14 ...@@ -226,6 +237,7 @@ text margin bottom: -.14
# Insert-symbol menu # Insert-symbol menu
insert symbol menu: insert symbol menu:
item: T item: T
item: Q
item: item:
type: line type: line
item: X item: X
......
mse version: 0.3.6 mse version: 0.3.6
version: 2007-10-12 version: 2008-04-01
short name: normal short name: normal
position hint: 001 position hint: 001
icon: mana_r.png icon: mana_r.png
...@@ -27,6 +27,17 @@ symbol: ...@@ -27,6 +27,17 @@ symbol:
symbol: symbol:
code: T code: T
image: mana_t.png image: mana_t.png
symbol:
code: Q
image: mana_q_older.png
enabled: { mana_t() == "older" }
symbol:
code: Q
image: mana_q_old.png
enabled: { mana_t() == "old" }
symbol:
code: Q
image: mana_q.png
symbol: symbol:
code: B/G/W code: B/G/W
image: mana_bgw.png image: mana_bgw.png
...@@ -226,6 +237,7 @@ text margin bottom: -.14 ...@@ -226,6 +237,7 @@ text margin bottom: -.14
# Insert-symbol menu # Insert-symbol menu
insert symbol menu: insert symbol menu:
item: T item: T
item: Q
item: item:
type: line type: line
item: X item: X
......
...@@ -5,7 +5,7 @@ full name: Modern flip cards ...@@ -5,7 +5,7 @@ full name: Modern flip cards
icon: card-sample.png icon: card-sample.png
position hint: 002 position hint: 002
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -82,7 +82,7 @@ styling field: ...@@ -82,7 +82,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: Modern Planeswalkers ...@@ -5,7 +5,7 @@ full name: Modern Planeswalkers
icon: card-sample.png icon: card-sample.png
position hint: 008 position hint: 008
version: 2007-12-29 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -99,7 +99,7 @@ styling field: ...@@ -99,7 +99,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: Large image ...@@ -5,7 +5,7 @@ full name: Large image
icon: card-sample.png icon: card-sample.png
position hint: 004 position hint: 004
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -84,7 +84,7 @@ styling field: ...@@ -84,7 +84,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: Modern split cards ...@@ -5,7 +5,7 @@ full name: Modern split cards
icon: card-sample.png icon: card-sample.png
position hint: 003 position hint: 003
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -98,7 +98,7 @@ styling field: ...@@ -98,7 +98,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: Modern style ...@@ -5,7 +5,7 @@ full name: Modern style
icon: card-sample.png icon: card-sample.png
position hint: 007 position hint: 007
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -106,7 +106,7 @@ styling field: ...@@ -106,7 +106,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: After 8th edition ...@@ -5,7 +5,7 @@ full name: After 8th edition
icon: card-sample.png icon: card-sample.png
position hint: 001 position hint: 001
version: 2008-03-13 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -107,7 +107,7 @@ styling field: ...@@ -107,7 +107,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ short name: Old Splits ...@@ -5,7 +5,7 @@ short name: Old Splits
icon: card-sample.png icon: card-sample.png
position hint: 103 position hint: 103
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -127,7 +127,7 @@ styling field: ...@@ -127,7 +127,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: old initial: old
choice: modern choice: modern
choice: old choice: old
......
...@@ -11,7 +11,7 @@ full name: Old style ...@@ -11,7 +11,7 @@ full name: Old style
icon: card-sample.png icon: card-sample.png
position hint: 107 position hint: 107
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -124,7 +124,7 @@ styling field: ...@@ -124,7 +124,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: old initial: old
choice: modern choice: modern
choice: old choice: old
......
...@@ -11,7 +11,7 @@ full name: Before 8th edition ...@@ -11,7 +11,7 @@ full name: Before 8th edition
icon: card-sample.png icon: card-sample.png
position hint: 101 position hint: 101
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -135,7 +135,7 @@ styling field: ...@@ -135,7 +135,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: old initial: old
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: Planar Chaos Timeshifts ...@@ -5,7 +5,7 @@ full name: Planar Chaos Timeshifts
icon: card-sample.png icon: card-sample.png
position hint: 011 position hint: 011
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -87,7 +87,7 @@ styling field: ...@@ -87,7 +87,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
......
...@@ -5,7 +5,7 @@ full name: Modern style ...@@ -5,7 +5,7 @@ full name: Modern style
icon: card-sample.png icon: card-sample.png
position hint: 005 position hint: 005
version: 2008-03-12 version: 2008-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -77,14 +77,6 @@ styling field: ...@@ -77,14 +77,6 @@ styling field:
name: use guild mana symbols name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no initial: no
styling field:
type: choice
name: tap symbol
description: What tap symbol should be used on cards?
initial: modern
choice: modern
choice: old
choice: diagonal T
styling field: styling field:
type: boolean type: boolean
name: inverted common symbol name: inverted common symbol
...@@ -95,13 +87,6 @@ styling style: ...@@ -95,13 +87,6 @@ styling style:
choice images: choice images:
yes: /magic-mana-large.mse-symbol-font/mana_guild_rg.png yes: /magic-mana-large.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-large.mse-symbol-font/mana_rg.png no: /magic-mana-large.mse-symbol-font/mana_rg.png
tap symbol:
render style: both
choice images:
modern: /magic-mana-large.mse-symbol-font/mana_t.png
old: /magic-mana-large.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png
############################################################## Card fields ############################################################## Card fields
card style: card style:
......
...@@ -5,7 +5,7 @@ installer group: magic/game files ...@@ -5,7 +5,7 @@ installer group: magic/game files
icon: card-back.png icon: card-back.png
position hint: 01 position hint: 01
version: 2008-03-25 version: 2008-04-01
depends on: depends on:
package: magic-blends.mse-include package: magic-blends.mse-include
version: 2007-09-23 version: 2007-09-23
...@@ -35,7 +35,7 @@ init script: ...@@ -35,7 +35,7 @@ init script:
else mana_sort() else mana_sort()
} }
# Like mana filter, only also allow tap symbols: # Like mana filter, only also allow tap symbols:
tap_filter := sort_rule(order: "<T>") tap_filter := sort_rule(order: "<TQ>")
mana_filter_t := replace_rule( # Remove [] used for forcing mana symbols mana_filter_t := replace_rule( # Remove [] used for forcing mana symbols
match: "[\\[\\]]", match: "[\\[\\]]",
replace: "" replace: ""
...@@ -262,7 +262,7 @@ init script: ...@@ -262,7 +262,7 @@ init script:
for_mana_costs := format_cost := { for_mana_costs := format_cost := {
if input.separator_before == "—" and contains(input.param, match: " ") then ( if input.separator_before == "—" and contains(input.param, match: " ") then (
if contains(input.param, match:",") then ( if contains(input.param, match:",") then (
if match(match: "^[STXYZIWUBRG0-9/|]+,", input.param) then if match(match: "^[STQXYZIWUBRG0-9/|]+,", input.param) then
"{add}<param-cost>{combined_cost(input.param)}</param-cost>" "{add}<param-cost>{combined_cost(input.param)}</param-cost>"
else "<param-cost>{combined_cost(input.param)}</param-cost>" else "<param-cost>{combined_cost(input.param)}</param-cost>"
) else ) else
...@@ -273,7 +273,7 @@ init script: ...@@ -273,7 +273,7 @@ init script:
alternative_cost := replace_rule(match:"^[A-Z]", replace: { to_lower() }) alternative_cost := replace_rule(match:"^[A-Z]", replace: { to_lower() })
combined_cost := replace_rule(match:", [A-Z]", replace: { to_lower() })+ combined_cost := replace_rule(match:", [A-Z]", replace: { to_lower() })+
replace_rule(match:",", replace:" and")+ replace_rule(match:",", replace:" and")+
replace_rule(match:"^[STXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])<match>", replace: "<sym-auto>&</sym-auto>")+ replace_rule(match:"^[STQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])<match>", replace: "<sym-auto>&</sym-auto>")+
replace_rule(match:"^[A-Z]", replace: { to_lower() }) replace_rule(match:"^[A-Z]", replace: { to_lower() })
long_dash := replace_rule(match:"-", replace:"—") long_dash := replace_rule(match:"-", replace:"—")
# Utilities for keywords # Utilities for keywords
...@@ -296,8 +296,8 @@ init script: ...@@ -296,8 +296,8 @@ init script:
|adds?|pay(ed)?[ ](with|using) |adds?|pay(ed)?[ ](with|using)
) )
([ ]either)? # pay either X or Y ([ ]either)? # pay either X or Y
([ ]<sym[^>]*>[STXYZIWUBRG0-9/|]+</sym[^>]*>,)* # pay X, Y or Z ([ ]<sym[^>]*>[STQXYZIWUBRG0-9/|]+</sym[^>]*>,)* # pay X, Y or Z
([ ]<sym[^>]*>[STXYZIWUBRG0-9/|]+</sym[^>]*>[ ](and|or|and/or))* # pay X or Y ([ ]<sym[^>]*>[STQXYZIWUBRG0-9/|]+</sym[^>]*>[ ](and|or|and/or))* # pay X or Y
[ ]<match> [ ]<match>
([,.)]|$ # (end of word) ([,.)]|$ # (end of word)
|[ ][^ .,]*$ # still typing... |[ ][^ .,]*$ # still typing...
...@@ -345,16 +345,16 @@ init script: ...@@ -345,16 +345,16 @@ init script:
) + ) +
# step 4 : explict non mana symbols # step 4 : explict non mana symbols
replace_rule( replace_rule(
match: "\\][STXYZIWUBRG0-9/|]+\\[", match: "\\][STQXYZIWUBRG0-9/|]+\\[",
replace: {"<nosym>" + mana_filter_t() + "</nosym>"} ) + replace: {"<nosym>" + mana_filter_t() + "</nosym>"} ) +
# step 5 : add mana & tap symbols # step 5 : add mana & tap symbols
replace_rule( replace_rule(
match: "[STXYZIWUBRG0-9/|]+", match: "[STQXYZIWUBRG0-9/|]+",
in_context: mana_context, in_context: mana_context,
replace: {"<sym-auto>" + mana_filter_t() + "</sym-auto>"} ) + replace: {"<sym-auto>" + mana_filter_t() + "</sym-auto>"} ) +
# step 5b : add explict mana symbols # step 5b : add explict mana symbols
replace_rule( replace_rule(
match: "\\[[STXYZIWUBRG0-9/|]+\\]", match: "\\[[STQXYZIWUBRG0-9/|]+\\]",
replace: {"<sym>" + mana_filter_t() + "</sym>"} ) + replace: {"<sym>" + mana_filter_t() + "</sym>"} ) +
# step 7 : italic reminder text # step 7 : italic reminder text
replace_rule( replace_rule(
...@@ -1859,7 +1859,7 @@ keyword mode: ...@@ -1859,7 +1859,7 @@ keyword mode:
keyword parameter type: keyword parameter type:
name: mana name: mana
match: [STXYZI0-9WUBRG/|]+ match: [STQXYZI0-9WUBRG/|]+
refer script: refer script:
name: normal name: normal
description: No changes made description: No changes made
...@@ -1872,7 +1872,7 @@ keyword parameter type: ...@@ -1872,7 +1872,7 @@ keyword parameter type:
# By pichoro and bunnierein # By pichoro and bunnierein
keyword parameter type: keyword parameter type:
name: cost name: cost
match: [ ][STXYZI0-9WUBRG/|]*|[-—][^(\n]* match: [ ][STQXYZI0-9WUBRG/|]*|[-—][^(\n]*
separator before is: [ —-] separator before is: [ —-]
separator after is: [.] separator after is: [.]
optional: false optional: false
...@@ -2414,3 +2414,13 @@ keyword: ...@@ -2414,3 +2414,13 @@ keyword:
match: Kinship match: Kinship
mode: pseudo mode: pseudo
rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with ~, you may reveal it. If you do, [effect]. rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with ~, you may reveal it. If you do, [effect].
keyword:
keyword: Persist
match: Persist
mode: expert
reminder: When this creature is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.
keyword:
keyword: Wither
match: Wither
mode: expert
reminder: This deals damage to creatures in the form of -1/-1 counters.
...@@ -4,7 +4,7 @@ short name: Standard ...@@ -4,7 +4,7 @@ short name: Standard
icon: card-sample.png icon: card-sample.png
position hint: 01 position hint: 01
version: 2007-12-30 version: 2008-04-01
depends on: depends on:
package: vanguard.mse-game package: vanguard.mse-game
version: 2007-12-29 version: 2007-12-29
...@@ -36,7 +36,6 @@ init script: ...@@ -36,7 +36,6 @@ init script:
# Use guild mana symbols? # Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols } guild_mana := { styling.use_guild_mana_symbols }
############################################################## Extra style options ############################################################## Extra style options
styling field: styling field:
...@@ -52,7 +51,7 @@ styling field: ...@@ -52,7 +51,7 @@ styling field:
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap symbol should be used on cards? description: What tap and untap symbols should be used on cards?
initial: old initial: old
choice: modern choice: modern
choice: old choice: old
......
...@@ -4,7 +4,7 @@ full name: Magic Vanguard ...@@ -4,7 +4,7 @@ full name: Magic Vanguard
icon: card-sample.png icon: card-sample.png
position hint: 02 position hint: 02
version: 2008-03-18 version: 2008-04-01
# Author : Wolfwood # Author : Wolfwood
# Most stuff is copy/pasted from magic.mse-game # Most stuff is copy/pasted from magic.mse-game
...@@ -30,7 +30,7 @@ init script: ...@@ -30,7 +30,7 @@ init script:
else mana_sort() else mana_sort()
} }
# Like mana filter, only also allow tap symbols: # Like mana filter, only also allow tap symbols:
tap_filter := sort_rule(order: "<T>") tap_filter := sort_rule(order: "<TQ>")
mana_filter_t := replace_rule( # Remove [] used for forcing mana symbols mana_filter_t := replace_rule( # Remove [] used for forcing mana symbols
match: "[\\[\\]]", match: "[\\[\\]]",
replace: "" replace: ""
...@@ -43,7 +43,7 @@ init script: ...@@ -43,7 +43,7 @@ init script:
for_mana_costs := format_cost := { for_mana_costs := format_cost := {
if input.separator_before == "—" and contains(input.param, " ") then ( if input.separator_before == "—" and contains(input.param, " ") then (
if contains(input.param, match:",") then ( if contains(input.param, match:",") then (
if match(match: "^[STXYZIWUBRG0-9/|]+,", input.param) then if match(match: "^[STQXYZIWUBRG0-9/|]+,", input.param) then
"{add}<param-cost>{combined_cost(input.param)}</param-cost>" "{add}<param-cost>{combined_cost(input.param)}</param-cost>"
else "<param-cost>{combined_cost(input.param)}</param-cost>" else "<param-cost>{combined_cost(input.param)}</param-cost>"
) else ) else
...@@ -54,7 +54,7 @@ init script: ...@@ -54,7 +54,7 @@ init script:
alternative_cost := replace_rule(match:"^[A-Z]", replace: { to_lower() }) alternative_cost := replace_rule(match:"^[A-Z]", replace: { to_lower() })
combined_cost := replace_rule(match:", [A-Z]", replace: { to_lower() })+ combined_cost := replace_rule(match:", [A-Z]", replace: { to_lower() })+
replace_rule(match:",", replace:" and")+ replace_rule(match:",", replace:" and")+
replace_rule(match:"^[STXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])<match>", replace: "<sym-auto>&</sym-auto>")+ replace_rule(match:"^[STQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])<match>", replace: "<sym-auto>&</sym-auto>")+
replace_rule(match:"^[A-Z]", replace: { to_lower() }) replace_rule(match:"^[A-Z]", replace: { to_lower() })
long_dash := replace_rule(match:"-", replace:"—") long_dash := replace_rule(match:"-", replace:"—")
# Utilities for keywords # Utilities for keywords
...@@ -82,7 +82,7 @@ init script: ...@@ -82,7 +82,7 @@ init script:
|adds?|pay(ed)?[ ](with|using) |adds?|pay(ed)?[ ](with|using)
) )
([ ]either)? # pay either X or Y ([ ]either)? # pay either X or Y
([ ]<sym[^>]*>[TSXYZIWUBRG0-9/|]+</sym[^>]*>[ ](and|or))* # pay X or Y ([ ]<sym[^>]*>[TQSXYZIWUBRG0-9/|]+</sym[^>]*>[ ](and|or))* # pay X or Y
[ ]<match> [ ]<match>
([,.)]|$ # (end of word) ([,.)]|$ # (end of word)
|[ ][^ .,]*$ # still typing... |[ ][^ .,]*$ # still typing...
...@@ -133,16 +133,16 @@ init script: ...@@ -133,16 +133,16 @@ init script:
) + ) +
# step 4.5 : explict non mana symbols # step 4.5 : explict non mana symbols
replace_rule( replace_rule(
match: "\\][STXYZIWUBRG0-9/|]+\\[", match: "\\][STQXYZIWUBRG0-9/|]+\\[",
replace: {"<nosym>" + mana_filter_t() + "</nosym>"} ) + replace: {"<nosym>" + mana_filter_t() + "</nosym>"} ) +
# step 5 : add mana & tap symbols # step 5 : add mana & tap symbols
replace_rule( replace_rule(
match: "[STXYZIWUBRG0-9/|]+", match: "[STQXYZIWUBRG0-9/|]+",
in_context: mana_context, in_context: mana_context,
replace: {"<sym-auto>" + mana_filter_t() + "</sym-auto>"} ) + replace: {"<sym-auto>" + mana_filter_t() + "</sym-auto>"} ) +
# step 5b : add explict mana symbols # step 5b : add explict mana symbols
replace_rule( replace_rule(
match: "\\[[STXYZIWUBRG0-9/|]+\\]", match: "\\[[STQXYZIWUBRG0-9/|]+\\]",
replace: {"<sym>" + mana_filter_t() + "</sym>"} ) + replace: {"<sym>" + mana_filter_t() + "</sym>"} ) +
# step 7 : italic reminder text # step 7 : italic reminder text
replace_rule( replace_rule(
...@@ -422,7 +422,7 @@ keyword mode: ...@@ -422,7 +422,7 @@ keyword mode:
keyword parameter type: keyword parameter type:
name: mana name: mana
match: [STXYZI0-9WUBRG/|]+ match: [STQXYZI0-9WUBRG/|]+
refer script: refer script:
name: normal name: normal
description: No changes made description: No changes made
...@@ -435,7 +435,7 @@ keyword parameter type: ...@@ -435,7 +435,7 @@ keyword parameter type:
# By pichoro and bunnierein # By pichoro and bunnierein
keyword parameter type: keyword parameter type:
name: cost name: cost
match: [ ][STXYZI0-9WUBRG/|]*|[-—][^(\n]* match: [ ][STQXYZI0-9WUBRG/|]*|[-—][^(\n]*
separator before is: [ —-] separator before is: [ —-]
separator after is: [.] separator after is: [.]
optional: false optional: false
...@@ -956,3 +956,13 @@ keyword: ...@@ -956,3 +956,13 @@ keyword:
keyword: Kinship keyword: Kinship
match: Kinship match: Kinship
mode: pseudo mode: pseudo
keyword:
keyword: Persist
match: persist
mode: expert
reminder: When it is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.
keyword:
keyword: Wither
match: wither
mode: expert
reminder: It deals damage to creatures in the form of -1/-1 counters.
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