summaryrefslogtreecommitdiff
path: root/npc/001-1_Tulimshar/sandra.txt
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-23 16:52:05 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-23 16:52:05 +0000
commit4e98d4621f225766abb32d30ab6cea8d2739a419 (patch)
tree1ca67ca0a8465848870c91dfdf60baffc9767ba4 /npc/001-1_Tulimshar/sandra.txt
parent29bb178e6ac12d8edb32b89c336d46178421bd83 (diff)
downloadserverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.tar.gz
serverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.tar.bz2
serverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.tar.xz
serverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.zip
Start converting scripts over to "ItemName"
Instead of using the item number. A few small bug fixes are also here.
Diffstat (limited to 'npc/001-1_Tulimshar/sandra.txt')
-rw-r--r--npc/001-1_Tulimshar/sandra.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/001-1_Tulimshar/sandra.txt b/npc/001-1_Tulimshar/sandra.txt
index 314e009a..e1e2f652 100644
--- a/npc/001-1_Tulimshar/sandra.txt
+++ b/npc/001-1_Tulimshar/sandra.txt
@@ -70,17 +70,17 @@ L_Set:
close;
L_Progress:
- if (countitem(507) < 5) goto L_NotEnough;
- if (countitem(517) < 1) goto L_NotEnough;
+ if (countitem("ScorpionStinger") < 5) goto L_NotEnough;
+ if (countitem("RedScorpionStinger") < 1) goto L_NotEnough;
mes "[Sandra]";
mes "\"Excellent!";
mes "You brought me 5 [Scorpion Stingers] and 1 [Red Scoprion Stinger]!\"";
getinventorylist;
- if ((@inventorylist_count - (countitem(507) == 5) - (countitem(517) == 1)) > 99 - (countitem(1199) == 0)) goto L_TooMany;
- delitem 507, 5;
- delitem 517, 1;
- getitem 1200, 1;
- getitem 1199, 100;
+ if ((@inventorylist_count - (countitem("ScorpionStinger") == 5) - (countitem("RedScorpionStinger") == 1)) > 99 - (countitem("Arrow") == 0)) goto L_TooMany;
+ delitem "ScorpionStinger", 5;
+ delitem "RedScorpionStinger", 1;
+ getitem "Bow", 1;
+ getitem "Arrow", 100;
set Scorp, 2;
close;