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

This commit is contained in:
artfreakwiu
2008-09-29 22:22:07 +00:00
parent fcfd2bb9e4
commit 63b3546726
7 changed files with 21 additions and 31 deletions
+4 -14
View File
@@ -14,13 +14,6 @@ depends on:
# General functions
init script:
############### Sorting
sort_index := {
card_type() +
(if contains(card.shape, match:"old") then "B" else "A") +
(if contains(card.shape, match:"avatar") then "C" else "A") +
(if contains(card.shape, match:"alter ego") then "D" else "A") +
":"
}
sort_index := {
if contains(card.team, match: "EQUIPMENT") then "2"
else if contains(card.team, match: "Equipment") then "2"
@@ -64,11 +57,11 @@ init script:
replace: "<sym-auto>&</sym-auto>");
new_symbols :=
symbol_filter +
# step 5f: Majority of affiliation symbols
# 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 5g: SHIELD Variations
# step 5b: SHIELD Variations
replace_rule(
match: "S.H.I.E.L.D.|SHIELD|Shield",
replace: "<sym-auto>Shield</sym-auto>");
@@ -236,14 +229,11 @@ init script:
separator_type := {
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> "
else " "
)
else " • "
}
#separator_type := {
# if contains(card.shape, match:"old") then " <sym>@</sym> " else " • "
#}
only_first := replace@(match:"card.team", replace:"")
@@ -385,7 +375,7 @@ card field:
type: text
name: sep
editable: false
script: if is_character() and card.identity=="" then "™" else if is_character() and card.identity!="" then "™ <sym>@</sym>" else ""
script: if is_character() and card.identity=="" then "™" else if is_character() and card.identity!="" then "™ <sym>@</sym> " else ""
show statistics: false
card field:
type: text