viewing paste topic/11195- card_remover | Diff

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
 npc/custom/card_remover.txt | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
 
diff --git a/npc/custom/card_remover.txt b/npc/custom/card_remover.txt
index dace8ca..660bb8a 100644
--- a/npc/custom/card_remover.txt
+++ b/npc/custom/card_remover.txt
@@ -24,10 +24,6 @@ prt_in,28,73,4       script  Wise Old Woman#eAcustom 1_F_ORIENT_04,{
        next;
        switch(select("Yes, it does.:What do you charge?:No thanks.")) {
        case 1:
-               mes "[Wise Old Woman]";
-               mes "Very well. Which item shall I examine for you?";
-               next;
-
                setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";
                set .@menu$,"";
                for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
@@ -37,6 +33,14 @@ prt_in,28,73,4       script  Wise Old Woman#eAcustom 1_F_ORIENT_04,{
 
                        set .@menu$, .@menu$ + ":";
                }
+               if ( .@menu$ == "::::::::::" ) {
+                       mes "[Wise Old Woman]";
+                       mes "Young one... Your not wearing anything there that I can remove cards from.";
+                       close;
+               }
+               mes "[Wise Old Woman]";
+               mes "Very well. Which item shall I examine for you?";
+               next;
                set .@part,select(.@menu$);
                if(!getequipisequiped(.@part)) {
                        mes "[Wise Old Woman]";
 
Viewed 881 times, submitted by AnnieRuru.