From b9cd3a433ba30d75d996ce84e0c563cf96d03dd3 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sat, 22 Sep 2007 11:07:08 +0000 Subject: [PATCH] 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 --- data/magic.mse-game/game | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/magic.mse-game/game b/data/magic.mse-game/game index e2dfaa42..727c05ac 100644 --- a/data/magic.mse-game/game +++ b/data/magic.mse-game/game @@ -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" }