summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetSysFire <16-NetSysFire@users.noreply.git.themanaworld.org>2022-09-01 21:21:47 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-09-01 21:21:47 +0000
commitf28e56d0da99db08edd806e0b687abd10fff7376 (patch)
tree06adfa4cd5586637271c66bddd20e33934ff6432
parentc4e7889d0177be4df132b49b7ea980c65f5742b8 (diff)
downloadserverdata-f28e56d0da99db08edd806e0b687abd10fff7376.tar.gz
serverdata-f28e56d0da99db08edd806e0b687abd10fff7376.tar.bz2
serverdata-f28e56d0da99db08edd806e0b687abd10fff7376.tar.xz
serverdata-f28e56d0da99db08edd806e0b687abd10fff7376.zip
Make it possible to fill boxes with aquadas.
Breaks sell price for Aquada Box.
-rw-r--r--npc/items/emptybox.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/npc/items/emptybox.txt b/npc/items/emptybox.txt
index ec667ebdc..2f676b115 100644
--- a/npc/items/emptybox.txt
+++ b/npc/items/emptybox.txt
@@ -18,10 +18,11 @@ OnUse:
mesc l("Fill with what?");
select
l("Don't fill"),
- rif(countitem(GrassCarp) >= 7, l("7 Grass Carp")),
- rif(countitem(Croconut) >= 8, l("8 Croconut")),
- rif(countitem(CommonCarp) >= 20, l("20 Common Carp")),
- rif(countitem(Plushroom) >= 87, l("87 Plushroom"));
+ rif(countitem(GrassCarp) >= 7, l("7 Grass Carps")),
+ rif(countitem(Croconut) >= 8, l("8 Croconuts")),
+ rif(countitem(CommonCarp) >= 20, l("20 Common Carps")),
+ rif(countitem(Aquada) >= 50, l("50 Aquadas")),
+ rif(countitem(Plushroom) >= 87, l("87 Plushrooms"));
mes "";
switch (@menu) {
case 2:
@@ -37,6 +38,10 @@ OnUse:
getitem FishBox, 1;
break;
case 5:
+ delitem Aquada, 50;
+ getitem AquadaBox, 1;
+ break;
+ case 6:
delitem Plushroom, 87;
getitem PlushroomBox, 1;
break;