mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Regular apostrophes become fancy apostrophes in Magic and Vanguard.
Moved tilde name replacement to automatic text replacements in Vanguard. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1383 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -36,4 +36,7 @@ auto replace:
|
||||
replace: LEGENDNAME
|
||||
auto replace:
|
||||
match: ~
|
||||
replace: CARDNAME
|
||||
replace: CARDNAME
|
||||
auto replace:
|
||||
match: '
|
||||
replace: ’
|
||||
@@ -196,7 +196,7 @@ sort_name :=
|
||||
# Remove "The", "A", and "And" at the beginning
|
||||
replace@(match: "^(The|An?) ", replace: "") +
|
||||
# Remove commas and apostrophes
|
||||
replace@(match: "(,|')", replace: "") +
|
||||
replace@(match: "(,|'|’)", replace: "") +
|
||||
# Remove bold and italic tags
|
||||
replace@(match: "(<b>|<i>|</b>|</i>)", replace: "") +
|
||||
# Make lowercase
|
||||
|
||||
@@ -146,7 +146,7 @@ init script:
|
||||
) +
|
||||
# step 3 : expand shortcut words ~ and CARDNAME
|
||||
replace@(
|
||||
match: "~|CARDNAME",
|
||||
match: "CARDNAME",
|
||||
in_context: "(^|[[:space:]]|\\()<match>",
|
||||
replace: "<atom-cardname></atom-cardname>"
|
||||
) +
|
||||
@@ -196,7 +196,7 @@ init script:
|
||||
# Remove "The", "A", and "And" at the beginning
|
||||
replace@(match: "^(The|An?) ", replace: "") +
|
||||
# Remove commas and apostrophes
|
||||
replace@(match: "(,|')", replace: "") +
|
||||
replace@(match: "(,|'|’)", replace: "") +
|
||||
# Remove bold and italic tags
|
||||
replace@(match: "(<b>|<i>|</b>|</i>)", replace: "") +
|
||||
# Make lowercase
|
||||
@@ -447,6 +447,12 @@ auto replace:
|
||||
auto replace:
|
||||
match: AAA
|
||||
replace: as an additional cost to cast
|
||||
auto replace:
|
||||
match: ~
|
||||
replace: CARDNAME
|
||||
auto replace:
|
||||
match: '
|
||||
replace: ’
|
||||
############################################################## Card pack items
|
||||
pack type:
|
||||
name: card
|
||||
|
||||
Reference in New Issue
Block a user