summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/test/npc1.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/test/npc1.txt b/npc/test/npc1.txt
index bb610921..aedbe634 100644
--- a/npc/test/npc1.txt
+++ b/npc/test/npc1.txt
@@ -262,6 +262,11 @@ L_Start:
{
mes "slot " + str(.@i) + " = " + str(getcardbyindex(.@item, .@i));
}
+ mes "item options:";
+ for (.@i = 0; .@i < 5; .@i ++)
+ {
+ mes sprintf("%d: Option: %d, Value: %d", .@i, getitemoptionidbyindex(.@item, .@i), getitemoptionvaluebyindex(.@item, .@i));
+ }
break;
case 8:
removecardbyindex(.@item, 0);