git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1227 0fc631ac-6414-0410-93d0-97cfa31319b6

This commit is contained in:
artfreakwiu
2008-10-25 20:53:01 +00:00
parent fc3b2df982
commit 699cc07554
+17 -5
View File
@@ -78,9 +78,9 @@ 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 }
) + ) +
# step 5a: add arrow/diamond/dot symbols # step 5a: add arrow & diamond symbols
replace_rule( replace_rule(
match: "->|>>>|@|<>", match: "->|>>>|@|<>|•",
replace: "<sym-auto>&</sym-auto>") + replace: "<sym-auto>&</sym-auto>") +
#X#if contains(card.shape, match:"old") then symbol_filter else new_symbols #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
@@ -223,6 +223,18 @@ init script:
word_count := break_text@(match:"[^[:space:]]+") + length word_count := break_text@(match:"[^[:space:]]+") + length
name_sep := {
if contains(set.logo, match: "Marvel") then (
if is_character() and card.identity=="" then "™"
else if is_character() and card.identity!="" then "™ <sym>•</sym> "
else if is_equipment() and card.identity!="" then " <sym>•</sym> "
else ""
)
else if is_character() and card.identity!="" then " <sym>•</sym> "
else if is_equipment() and card.identity!="" then " <sym>•</sym> "
else ""
}
separator_type := { separator_type := {
if contains(card.shape, match:"old") then ( if contains(card.shape, match:"old") then (
if team2 != "<word-list-affiliation2></word-list-affiliation2>" then " <sym>•</sym> " if team2 != "<word-list-affiliation2></word-list-affiliation2>" then " <sym>•</sym> "
@@ -380,7 +392,7 @@ card field:
type: text type: text
name: sep name: sep
editable: false editable: false
script: if is_character() and card.identity=="" then "™" else if is_character() and card.identity!="" then "™ <sym>@</sym> " else "" script: name_sep()
show statistics: false show statistics: false
card field: card field:
type: text type: text
@@ -397,7 +409,7 @@ card field:
soft_before_empty: false, soft_before_empty: false,
hide_when_empty: false, hide_when_empty: false,
type_over1: "TM", type_over1: "TM",
type_over2: "@" type_over2: "<sym>@</sym>"
) )
identifying: true identifying: true
show statistics: false show statistics: false
@@ -798,7 +810,7 @@ auto replace:
replace: • replace: •
auto replace: auto replace:
match: @ match: @
replace: replace: <sym>@</sym>
############################################################## Word lists ############################################################## Word lists
word list: word list: