mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1220 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -6,7 +6,7 @@ installer group: VS System/Standard style/Extended art
|
|||||||
icon: card-sample.png
|
icon: card-sample.png
|
||||||
position hint: 005
|
position hint: 005
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-09-29
|
||||||
depends on:
|
depends on:
|
||||||
package: vs.mse-game
|
package: vs.mse-game
|
||||||
version: 2008-09-26
|
version: 2008-09-26
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ installer group: VS System/Hellboy style/Extended Art
|
|||||||
icon: card-sample.png
|
icon: card-sample.png
|
||||||
position hint: 006
|
position hint: 006
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-09-29
|
||||||
depends on:
|
depends on:
|
||||||
package: vs.mse-game
|
package: vs.mse-game
|
||||||
version: 2008-09-26
|
version: 2008-09-26
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ short name: Hellboy
|
|||||||
icon: card-sample.png
|
icon: card-sample.png
|
||||||
position hint: 003
|
position hint: 003
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-09-29
|
||||||
depends on:
|
depends on:
|
||||||
package: vs.mse-game
|
package: vs.mse-game
|
||||||
version: 2008-09-26
|
version: 2008-09-26
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ installer group: VS System/Insanity Style/Normal
|
|||||||
icon: card-sample.png
|
icon: card-sample.png
|
||||||
position hint: 004
|
position hint: 004
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-09-29
|
||||||
depends on:
|
depends on:
|
||||||
package: vs.mse-game
|
package: vs.mse-game
|
||||||
version: 2008-09-26
|
version: 2008-09-26
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ installer group: VS System/New style/Normal
|
|||||||
icon: card-sample.png
|
icon: card-sample.png
|
||||||
position hint: 001
|
position hint: 001
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-10-09
|
||||||
depends on:
|
depends on:
|
||||||
package: vs.mse-game
|
package: vs.mse-game
|
||||||
version: 2008-09-26
|
version: 2008-09-26
|
||||||
@@ -37,6 +37,60 @@ init script:
|
|||||||
else "ccoccard.png"
|
else "ccoccard.png"
|
||||||
}
|
}
|
||||||
card_shape := { "new" }
|
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
|
############################################################## Set info fields
|
||||||
############################################################## Extra style
|
############################################################## Extra style
|
||||||
styling field:
|
styling field:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ installer group: VS System/Oversize Avatar
|
|||||||
icon: card-sample.png
|
icon: card-sample.png
|
||||||
position hint: 007
|
position hint: 007
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-10-06
|
||||||
depends on:
|
depends on:
|
||||||
package: vs.mse-game
|
package: vs.mse-game
|
||||||
version: 2008-09-26
|
version: 2008-09-26
|
||||||
@@ -28,6 +28,60 @@ card dpi: 75
|
|||||||
############################################################## Extra scripts
|
############################################################## Extra scripts
|
||||||
init script:
|
init script:
|
||||||
card_shape := { if styling.style_sorting then "avatar" else "new" }
|
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
|
############################################################## Set info fields
|
||||||
############################################################## Extra style
|
############################################################## Extra style
|
||||||
styling field:
|
styling field:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
mse version: 0.3.7
|
mse version: 0.3.7
|
||||||
version: 2008-09-26
|
version: 2008-10-06
|
||||||
short name: old
|
short name: old
|
||||||
position hint: 2
|
position hint: 2
|
||||||
installer group: VS System/Symbol Fonts/Arrow
|
installer group: VS System/Symbol Fonts/Arrow
|
||||||
@@ -27,4 +27,4 @@ symbol:
|
|||||||
# Insert-symbol menu
|
# Insert-symbol menu
|
||||||
insert symbol menu:
|
insert symbol menu:
|
||||||
item: ->
|
item: ->
|
||||||
item: <>
|
item: •
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
mse version: 0.3.7
|
mse version: 0.3.7
|
||||||
version: 2008-09-26
|
version: 2008-10-06
|
||||||
short name: New (unofficial)
|
short name: New (unofficial)
|
||||||
position hint: 3
|
position hint: 3
|
||||||
installer group: VS System/Symbol Fonts/New
|
installer group: VS System/Symbol Fonts/New
|
||||||
@@ -17,6 +17,9 @@ symbol:
|
|||||||
symbol:
|
symbol:
|
||||||
code: •
|
code: •
|
||||||
image: diamond.png
|
image: diamond.png
|
||||||
|
symbol:
|
||||||
|
code: @
|
||||||
|
image: diamond.png
|
||||||
symbol:
|
symbol:
|
||||||
code: <>
|
code: <>
|
||||||
image: diamond.png
|
image: diamond.png
|
||||||
@@ -256,7 +259,7 @@ symbol:
|
|||||||
# Insert-symbol menu
|
# Insert-symbol menu
|
||||||
insert symbol menu:
|
insert symbol menu:
|
||||||
item: ->
|
item: ->
|
||||||
item: <>
|
item: •
|
||||||
item: Activate
|
item: Activate
|
||||||
item: Planet
|
item: Planet
|
||||||
item:
|
item:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
mse version: 0.3.7
|
mse version: 0.3.7
|
||||||
version: 2008-09-26
|
version: 2008-10-06
|
||||||
short name: New (official)
|
short name: New (official)
|
||||||
position hint: 1
|
position hint: 1
|
||||||
installer group: VS System/Symbol Fonts/Official New
|
installer group: VS System/Symbol Fonts/Official New
|
||||||
@@ -165,7 +165,7 @@ symbol:
|
|||||||
# Insert-symbol menu
|
# Insert-symbol menu
|
||||||
insert symbol menu:
|
insert symbol menu:
|
||||||
item: ->
|
item: ->
|
||||||
item: <>
|
item: •
|
||||||
item: Activate
|
item: Activate
|
||||||
item: Planet
|
item: Planet
|
||||||
item:
|
item:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ installer group: VS System/Standard style/Normal
|
|||||||
icon: card-sample.png
|
icon: card-sample.png
|
||||||
position hint: 002
|
position hint: 002
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-09-29
|
||||||
depends on:
|
depends on:
|
||||||
package: vs.mse-game
|
package: vs.mse-game
|
||||||
version: 2008-09-26
|
version: 2008-09-26
|
||||||
|
|||||||
+21
-17
@@ -5,7 +5,7 @@ installer group: VS System/game files
|
|||||||
icon: card-back.png
|
icon: card-back.png
|
||||||
position hint: 3
|
position hint: 3
|
||||||
|
|
||||||
version: 2008-09-26
|
version: 2008-10-06
|
||||||
depends on:
|
depends on:
|
||||||
package: vs-common.mse-include
|
package: vs-common.mse-include
|
||||||
version: 2008-09-23
|
version: 2008-09-23
|
||||||
@@ -50,21 +50,21 @@ init script:
|
|||||||
############################################################## Text Filters
|
############################################################## Text Filters
|
||||||
|
|
||||||
############### Symbol Filter
|
############### Symbol Filter
|
||||||
symbol_filter :=
|
#X#symbol_filter :=
|
||||||
# step 5a : add arrow/diamond/dot symbols
|
#X# # step 5a : add arrow/diamond/dot symbols
|
||||||
replace_rule(
|
#X# replace_rule(
|
||||||
match: "->|>>>|@|<>",
|
#X# match: "->|>>>|@|<>",
|
||||||
replace: "<sym-auto>&</sym-auto>");
|
#X# replace: "<sym-auto>&</sym-auto>");
|
||||||
new_symbols :=
|
#X#new_symbols :=
|
||||||
symbol_filter +
|
#X# symbol_filter +
|
||||||
# step 5a: Majority of affiliation symbols
|
#X# # step 5a: Majority of affiliation symbols
|
||||||
replace_rule(
|
#X# 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",
|
#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",
|
||||||
replace: "<sym-auto>&</sym-auto>") +
|
#X# replace: "<sym-auto>&</sym-auto>") +
|
||||||
# step 5b: SHIELD Variations
|
#X# # step 5b: SHIELD Variations
|
||||||
replace_rule(
|
#X# replace_rule(
|
||||||
match: "S.H.I.E.L.D.|SHIELD|Shield",
|
#X# match: "S.H.I.E.L.D.|SHIELD|Shield",
|
||||||
replace: "<sym-auto>Shield</sym-auto>");
|
#X# replace: "<sym-auto>Shield</sym-auto>");
|
||||||
|
|
||||||
############### Other Text Filters
|
############### Other Text Filters
|
||||||
card_shape := { "new" }
|
card_shape := { "new" }
|
||||||
@@ -97,7 +97,11 @@ init script:
|
|||||||
tag: "<atom-cardname>",
|
tag: "<atom-cardname>",
|
||||||
contents: { if card.name=="" then "CARDNAME" else card.name }
|
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
|
# step 7a : Bold keywords without reminder text
|
||||||
replace_rule(
|
replace_rule(
|
||||||
match: "<kw[^>]*>[^<]+</kw-a>",
|
match: "<kw[^>]*>[^<]+</kw-a>",
|
||||||
|
|||||||
Reference in New Issue
Block a user