summaryrefslogtreecommitdiff
path: root/npc/015-1_Woodland
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-24 13:17:14 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-24 13:17:14 +0000
commitb8e9095461ffd09ec7aec7cfcbcab502ea813bab (patch)
tree9f8670796ce5c5391e2a66a786e4098c22814c1e /npc/015-1_Woodland
parentdb44fb4e6555a0f8dc615b9795d5240f3a6d6903 (diff)
downloadserverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.tar.gz
serverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.tar.bz2
serverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.tar.xz
serverdata-b8e9095461ffd09ec7aec7cfcbcab502ea813bab.zip
Finish conversion to "ItemName"
Some of the more complicated scripts (bleach/dye, for example) can't be converted so easily.
Diffstat (limited to 'npc/015-1_Woodland')
-rw-r--r--npc/015-1_Woodland/sword.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/npc/015-1_Woodland/sword.txt b/npc/015-1_Woodland/sword.txt
index 0128d819..75142de3 100644
--- a/npc/015-1_Woodland/sword.txt
+++ b/npc/015-1_Woodland/sword.txt
@@ -16,8 +16,6 @@ L_message:
set @STATUS_W12, 5;
set @STATUS_W11_12, 6;
set @STATUS_L2_ALLSPELLS, 7;
- set @ORE, 640;
- set @IRONPOWDER, 704;
if (@Q_status == @STATUS_INITIAL) goto L_Initial;
if (@Q_status == @STATUS_LEARNED_FLAREDART) goto L_FlareStage;
@@ -311,7 +309,7 @@ L_L2_W10:
"OK.", -,
"No way.", L_farewell;
- if (countitem(@ORE) < 1)
+ if (countitem("IronOre") < 1)
goto L_no_ore;
if (MPQUEST && (Mobpt < 10000)) goto L_lacking_mobpoints;
@@ -321,8 +319,8 @@ L_L2_W10:
mes "[1000 experience points]";
set Mobpt, Mobpt - 10000;
getexp 1000, 0;
- delitem @ORE, 1;
- getitem @IRONPOWDER, 5;
+ delitem "IronOre", 1;
+ getitem "IronPowder", 5;
set @Q_status, @STATUS_L2_ALLSPELLS;
callsub S_update_var;
next;