From d7c867e759ce8cadda7a548b7bb8e127ac128bd4 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sat, 9 Aug 2008 18:40:13 +0000 Subject: [PATCH] Restored the card sorting for magic: the color component of sort_index was accidentally removed. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1125 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic.mse-game/script | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index e7442913..a6c70765 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -162,9 +162,10 @@ include file: /magic-blends.mse-include/new-blends ############################################################## Card number # Index for sorting, white cards are first, so white->A, blue->B, .. , -# The code consists of 4 parts: -# normal/token, color, shifted, split +# The code consists of 3 parts: +# color, shifted, split sort_index := { + color_of_card() + (if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones (if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones ":"