diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-23 23:40:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-23 23:40:36 -0300 |
commit | e4add25a40713aee92781b840a66ab44bfada7da (patch) | |
tree | 7741d361f9dbf7494396f5bc289174805895f3e1 | |
parent | 57acd8eac1ad8f742c6d6d484cf795bd8f06dca2 (diff) | |
download | serverdata-e4add25a40713aee92781b840a66ab44bfada7da.tar.gz serverdata-e4add25a40713aee92781b840a66ab44bfada7da.tar.bz2 serverdata-e4add25a40713aee92781b840a66ab44bfada7da.tar.xz serverdata-e4add25a40713aee92781b840a66ab44bfada7da.zip |
Rewrite Empty Box return logic
-rw-r--r-- | db/re/item_db.conf | 2 | ||||
-rw-r--r-- | npc/items/emptybox.txt | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 9ae8d91aa..8efa1e9d9 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2431,7 +2431,7 @@ item_db: ( Sell: 5 Weight: 80 Refine: false - ViewSprite: 631 + KeepAfterUse: true Script: <" doevent "Empty Box#it::OnUse"; "> diff --git a/npc/items/emptybox.txt b/npc/items/emptybox.txt index 873136515..aceb9b094 100644 --- a/npc/items/emptybox.txt +++ b/npc/items/emptybox.txt @@ -24,9 +24,6 @@ OnUse: rif(countitem(Plushroom) >= 87, l("87 Plushroom")); mes ""; switch (@menu) { - case 1: - getitem EmptyBox, 1; - break; case 2: delitem GrassCarp, 7; getitem FishBox, 1; @@ -46,6 +43,7 @@ OnUse: default: getitem EmptyBox, 1; } + delitem EmptyBox, 1; closedialog; close; } |