Fixed sorting of cards whos names start with a number

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@742 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-09-22 11:07:08 +00:00
parent 147c787eb3
commit b9cd3a433b
+3 -2
View File
@@ -175,8 +175,9 @@ init script:
sort_index := {
(if contains(card.shape, match:"token") then "T" else "N") + # Tokens come last
color_of_card() +
(if contains(card.shape, match:"shifted") then "1" else "0") + # planeshifted cards come after normal ones
(if contains(card.shape, match:"split") then "1" else "0") # split cards come after normal ones
(if contains(card.shape, match:"shifted") then "S" else "N") + # planeshifted cards come after normal ones
(if contains(card.shape, match:"split") then "S" else "N") + # split cards come after normal ones
":"
}
is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" }
is_null_cost := { input == "" or input == "0" }