Commit 299269db authored by pichoro's avatar pichoro

Version bumping from past edits.

Updating vs-standard-new to match vs-standard-official and vs-standard-arrow.
Changed insert symbol menus to use "•" instead of "<>", so they actually work.
New plan for preventing symbolization of affiliations on old style cards.  May need further tweaking.
parent 05efcf07
......@@ -6,7 +6,7 @@ installer group: VS System/Standard style/Extended art
icon: card-sample.png
position hint: 005
version: 2008-09-26
version: 2008-09-29
depends on:
package: vs.mse-game
version: 2008-09-26
......
......@@ -6,7 +6,7 @@ installer group: VS System/Hellboy style/Extended Art
icon: card-sample.png
position hint: 006
version: 2008-09-26
version: 2008-09-29
depends on:
package: vs.mse-game
version: 2008-09-26
......
......@@ -6,7 +6,7 @@ short name: Hellboy
icon: card-sample.png
position hint: 003
version: 2008-09-26
version: 2008-09-29
depends on:
package: vs.mse-game
version: 2008-09-26
......
......@@ -6,7 +6,7 @@ installer group: VS System/Insanity Style/Normal
icon: card-sample.png
position hint: 004
version: 2008-09-26
version: 2008-09-29
depends on:
package: vs.mse-game
version: 2008-09-26
......
......@@ -6,7 +6,7 @@ installer group: VS System/New style/Normal
icon: card-sample.png
position hint: 001
version: 2008-09-26
version: 2008-10-09
depends on:
package: vs.mse-game
version: 2008-09-26
......@@ -37,6 +37,60 @@ init script:
else "ccoccard.png"
}
card_shape := { "new" }
text_filter :=
# step 1 : Remove all automatic tags
tag_remove_rule(tag: "<sym-auto>") +
tag_remove_rule(tag: "<i-auto>") +
tag_remove_rule(tag: "<b-auto>") +
# step 2 : Reminder text for keywords
expand_keywords@(
condition: {
correct_case
}
default_expand: {
chosen(choice:if correct_case then mode else "lower case", set.automatic_reminder_text)
},
combine: { "<b-auto>{keyword}</b-auto><atom-reminder-{mode}> ({process_english_hints(reminder)})</atom-reminder-{mode}>" }
) +
# step 3 : Expand shortcut words ~ and CARDNAME
replace_rule(
match: "~|~THIS~|CARDNAME",
in_context: "(^|[[:space:]])<match>",
replace: "<atom-cardname>&</atom-cardname>"
) +
# step 4 : Fill in atom fields
tag_contents_rule(
tag: "<atom-cardname>",
contents: { if card.name=="" then "CARDNAME" else card.name }
) +
# step 5a: add arrow/diamond/dot symbols
replace_rule(
match: "->|>>>|@|<>",
replace: "<sym-auto>&</sym-auto>") +
# step 5b: Majority of affiliation symbols
replace_rule(
match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men",
replace: "<sym-auto>&</sym-auto>") +
# step 5c: SHIELD Variations
replace_rule(
match: "S.H.I.E.L.D.|SHIELD|Shield",
replace: "<sym-auto>Shield</sym-auto>") +
#X#if contains(card.shape, match:"old") then symbol_filter else new_symbols
# step 7a : Bold keywords without reminder text
replace_rule(
match: "<kw[^>]*>[^<]+</kw-a>",
replace: "<b-auto>&</b-auto>") +
# step 7b : Bold keywords with reminder text
replace_rule(
match: "<kw[^>]*>[^<]+</kw-A>",
replace: "<b-auto>&</b-auto>") +
# step 8 : Italic reminder text
replace_rule(
match: "[(][^)\n]*[)]?",
in_context: "(^|[[:space:]])<match>|<atom-keyword><match>",
replace: "<i-auto>&</i-auto>")
############################################################## Set info fields
############################################################## Extra style
styling field:
......
......@@ -6,7 +6,7 @@ installer group: VS System/Oversize Avatar
icon: card-sample.png
position hint: 007
version: 2008-09-26
version: 2008-10-06
depends on:
package: vs.mse-game
version: 2008-09-26
......@@ -28,6 +28,60 @@ card dpi: 75
############################################################## Extra scripts
init script:
card_shape := { if styling.style_sorting then "avatar" else "new" }
text_filter :=
# step 1 : Remove all automatic tags
tag_remove_rule(tag: "<sym-auto>") +
tag_remove_rule(tag: "<i-auto>") +
tag_remove_rule(tag: "<b-auto>") +
# step 2 : Reminder text for keywords
expand_keywords@(
condition: {
correct_case
}
default_expand: {
chosen(choice:if correct_case then mode else "lower case", set.automatic_reminder_text)
},
combine: { "<b-auto>{keyword}</b-auto><atom-reminder-{mode}> ({process_english_hints(reminder)})</atom-reminder-{mode}>" }
) +
# step 3 : Expand shortcut words ~ and CARDNAME
replace_rule(
match: "~|~THIS~|CARDNAME",
in_context: "(^|[[:space:]])<match>",
replace: "<atom-cardname>&</atom-cardname>"
) +
# step 4 : Fill in atom fields
tag_contents_rule(
tag: "<atom-cardname>",
contents: { if card.name=="" then "CARDNAME" else card.name }
) +
# step 5a: add arrow/diamond/dot symbols
replace_rule(
match: "->|>>>|@|<>",
replace: "<sym-auto>&</sym-auto>") +
# step 5b: Majority of affiliation symbols
replace_rule(
match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men",
replace: "<sym-auto>&</sym-auto>") +
# step 5c: SHIELD Variations
replace_rule(
match: "S.H.I.E.L.D.|SHIELD|Shield",
replace: "<sym-auto>Shield</sym-auto>") +
#X#if contains(card.shape, match:"old") then symbol_filter else new_symbols
# step 7a : Bold keywords without reminder text
replace_rule(
match: "<kw[^>]*>[^<]+</kw-a>",
replace: "<b-auto>&</b-auto>") +
# step 7b : Bold keywords with reminder text
replace_rule(
match: "<kw[^>]*>[^<]+</kw-A>",
replace: "<b-auto>&</b-auto>") +
# step 8 : Italic reminder text
replace_rule(
match: "[(][^)\n]*[)]?",
in_context: "(^|[[:space:]])<match>|<atom-keyword><match>",
replace: "<i-auto>&</i-auto>")
############################################################## Set info fields
############################################################## Extra style
styling field:
......
mse version: 0.3.7
version: 2008-09-26
version: 2008-10-06
short name: old
position hint: 2
installer group: VS System/Symbol Fonts/Arrow
......@@ -27,4 +27,4 @@ symbol:
# Insert-symbol menu
insert symbol menu:
item: ->
item: <>
item:
mse version: 0.3.7
version: 2008-09-26
version: 2008-10-06
short name: New (unofficial)
position hint: 3
installer group: VS System/Symbol Fonts/New
......@@ -17,6 +17,9 @@ symbol:
symbol:
code: •
image: diamond.png
symbol:
code: @
image: diamond.png
symbol:
code: <>
image: diamond.png
......@@ -256,7 +259,7 @@ symbol:
# Insert-symbol menu
insert symbol menu:
item: ->
item: <>
item:
item: Activate
item: Planet
item:
......
mse version: 0.3.7
version: 2008-09-26
version: 2008-10-06
short name: New (official)
position hint: 1
installer group: VS System/Symbol Fonts/Official New
......@@ -165,7 +165,7 @@ symbol:
# Insert-symbol menu
insert symbol menu:
item: ->
item: <>
item:
item: Activate
item: Planet
item:
......
......@@ -6,7 +6,7 @@ installer group: VS System/Standard style/Normal
icon: card-sample.png
position hint: 002
version: 2008-09-26
version: 2008-09-29
depends on:
package: vs.mse-game
version: 2008-09-26
......
......@@ -5,7 +5,7 @@ installer group: VS System/game files
icon: card-back.png
position hint: 3
version: 2008-09-26
version: 2008-10-06
depends on:
package: vs-common.mse-include
version: 2008-09-23
......@@ -50,21 +50,21 @@ init script:
############################################################## Text Filters
############### Symbol Filter
symbol_filter :=
# step 5a : add arrow/diamond/dot symbols
replace_rule(
match: "->|>>>|@|<>",
replace: "<sym-auto>&</sym-auto>");
new_symbols :=
symbol_filter +
# step 5a: Majority of affiliation symbols
replace_rule(
match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men",
replace: "<sym-auto>&</sym-auto>") +
# step 5b: SHIELD Variations
replace_rule(
match: "S.H.I.E.L.D.|SHIELD|Shield",
replace: "<sym-auto>Shield</sym-auto>");
#X#symbol_filter :=
#X# # step 5a : add arrow/diamond/dot symbols
#X# replace_rule(
#X# match: "->|>>>|@|<>",
#X# replace: "<sym-auto>&</sym-auto>");
#X#new_symbols :=
#X# symbol_filter +
#X# # step 5a: Majority of affiliation symbols
#X# replace_rule(
#X# match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men",
#X# replace: "<sym-auto>&</sym-auto>") +
#X# # step 5b: SHIELD Variations
#X# replace_rule(
#X# match: "S.H.I.E.L.D.|SHIELD|Shield",
#X# replace: "<sym-auto>Shield</sym-auto>");
############### Other Text Filters
card_shape := { "new" }
......@@ -97,7 +97,11 @@ init script:
tag: "<atom-cardname>",
contents: { if card.name=="" then "CARDNAME" else card.name }
) +
if contains(card.shape, match:"old") then symbol_filter else new_symbols
# step 5a: add arrow/diamond/dot symbols
replace_rule(
match: "->|>>>|@|<>",
replace: "<sym-auto>&</sym-auto>") +
#X#if contains(card.shape, match:"old") then symbol_filter else new_symbols
# step 7a : Bold keywords without reminder text
replace_rule(
match: "<kw[^>]*>[^<]+</kw-a>",
......
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