diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-01-24 12:22:06 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-01-24 12:22:06 +0000 |
commit | db44fb4e6555a0f8dc615b9795d5240f3a6d6903 (patch) | |
tree | 8e6fd3cc776573e858f2bf33bbaa77af1fead934 /npc/010-2_Dimonds_Cove/doug.txt | |
parent | 4e98d4621f225766abb32d30ab6cea8d2739a419 (diff) | |
download | classic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.gz classic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.bz2 classic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.tar.xz classic-serverdata-db44fb4e6555a0f8dc615b9795d5240f3a6d6903.zip |
Some more "ItemName" conversions
Diffstat (limited to 'npc/010-2_Dimonds_Cove/doug.txt')
-rw-r--r-- | npc/010-2_Dimonds_Cove/doug.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/010-2_Dimonds_Cove/doug.txt b/npc/010-2_Dimonds_Cove/doug.txt index 49bb349c..146e2ffd 100644 --- a/npc/010-2_Dimonds_Cove/doug.txt +++ b/npc/010-2_Dimonds_Cove/doug.txt @@ -1,7 +1,7 @@ 010-2.gat,68,87,0 script Doug 113,{ if(CaveSnakeLamp == 1) goto L_State2; if(CaveSnakeLamp == 2) goto L_Done; - set @TEMP,rand(4); + set @TEMP, rand(4); if(@TEMP == 0) goto L_0; if(@TEMP == 1) goto L_1; if(@TEMP == 2) goto L_2; @@ -38,7 +38,7 @@ L_Question: L_Sure: set CaveSnakeLamp, 1; - set @TEMP,rand(4); + set @TEMP, rand(4); if(@TEMP == 0) goto J_0; if(@TEMP == 1) goto J_1; if(@TEMP == 2) goto J_2; @@ -74,13 +74,13 @@ L_Go: close; L_State2: - if(countitem(612) >= 40) goto L_Have; + if(countitem("CaveSnakeLamp") >= 40) goto L_Have; mes "[Doug]"; mes "\"Please help me collect 40 [Cave Snake Lamps]!\""; close; L_Have: - delitem 612, 40; + delitem "CaveSnakeLamp", 40; mes "[Doug]"; mes "\"Cool! Now I can make this light!\""; next; |