diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-01-24 13:17:14 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-01-24 13:17:14 +0000 |
commit | b8e9095461ffd09ec7aec7cfcbcab502ea813bab (patch) | |
tree | 9f8670796ce5c5391e2a66a786e4098c22814c1e /npc/013-2_Magic_house | |
parent | db44fb4e6555a0f8dc615b9795d5240f3a6d6903 (diff) | |
download | serverdata-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/013-2_Magic_house')
-rw-r--r-- | npc/013-2_Magic_house/apprentice.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/013-2_Magic_house/apprentice.txt b/npc/013-2_Magic_house/apprentice.txt index abb96e6b..89c0beb7 100644 --- a/npc/013-2_Magic_house/apprentice.txt +++ b/npc/013-2_Magic_house/apprentice.txt @@ -41,9 +41,9 @@ L_Beer: L_Beer_yes: if (zeny < 175) goto L_Low_money; getinventorylist; - if (@inventorylist_count == 100 && countitem(539) == 0) goto L_TooMany; + if (@inventorylist_count == 100 && countitem("Beer") == 0) goto L_TooMany; - getitem 539, 1; + getitem "Beer", 1; set zeny, zeny - 175; goto L_Finish; @@ -64,8 +64,8 @@ L_Milk: L_Milk_yes: if (zeny < 300) goto L_Low_money; getinventorylist; - if (@inventorylist_count == 100 && countitem(527) == 0) goto L_TooMany; - getitem 527, 1; + if (@inventorylist_count == 100 && countitem("Milk") == 0) goto L_TooMany; + getitem "Milk", 1; set zeny, zeny - 300; goto L_Finish; |