summaryrefslogtreecommitdiff
path: root/npc/items/emptybox.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-20 14:22:31 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-20 14:22:31 -0200
commitf0c675273fe75e94320613054ea14760722eebff (patch)
tree757cd96256facbbbf6d70ae1d30e07ea122b968f /npc/items/emptybox.txt
parent1512a522116500e5bfed9ab6317cfbd759a44c83 (diff)
downloadserverdata-f0c675273fe75e94320613054ea14760722eebff.tar.gz
serverdata-f0c675273fe75e94320613054ea14760722eebff.tar.bz2
serverdata-f0c675273fe75e94320613054ea14760722eebff.tar.xz
serverdata-f0c675273fe75e94320613054ea14760722eebff.zip
Empty Box can be purchased, and buy/sell prices were mildly adjusted.
Diffstat (limited to 'npc/items/emptybox.txt')
-rw-r--r--npc/items/emptybox.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/npc/items/emptybox.txt b/npc/items/emptybox.txt
index 0243cac6c..558733156 100644
--- a/npc/items/emptybox.txt
+++ b/npc/items/emptybox.txt
@@ -10,6 +10,7 @@
OnUse:
mesn;
mesc l("You can fill this box with the following:");
+ mesc l("- @@ @@", 7, getitemlink(GrassCarp));
mesc l("- @@ @@", 17, getitemlink(Croconut));
mesc l("- @@ @@", 20, getitemlink(CommonCarp));
mesc l("- @@ @@", 87, getitemlink(Plushroom));
@@ -17,21 +18,26 @@ OnUse:
mesc l("Fill with what?");
select
l("Don't fill"),
+ rif(countitem(GrassCarp) >= 7, l("7 Grass Carp")),
rif(countitem(Croconut) >= 17, l("17 Croconut")),
rif(countitem(CommonCarp) >= 20, l("20 Common Carp")),
rif(countitem(Plushroom) >= 87, l("87 Plushroom"));
mes "";
switch (@menu) {
case 2:
+ delitem GrassCarp, 7;
+ getitem FishBox, 1;
+ break;
+ case 3:
delitem Croconut, 17;
getitem CroconutBox, 1;
break;
- case 3:
- delitem CommonCarp, 17;
+ case 4:
+ delitem CommonCarp, 20;
getitem FishBox, 1;
break;
- case 4:
- delitem Plushroom, 17;
+ case 5:
+ delitem Plushroom, 87;
getitem PlushroomBox, 1;
break;
default: