summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusalva Jesusalva <jesusalva@themanaworld.org>2022-09-01 21:21:47 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-09-01 21:21:47 +0000
commit6f2917343c9312768d6b1364a1fffc69ec3eeecf (patch)
treea45061775b3c6793599f6f8ef65baf7034a5cb72
parent12f9e74be0e29b9bdcfa4578b097a146388eb87e (diff)
parentf28e56d0da99db08edd806e0b687abd10fff7376 (diff)
downloadserverdata-6f2917343c9312768d6b1364a1fffc69ec3eeecf.tar.gz
serverdata-6f2917343c9312768d6b1364a1fffc69ec3eeecf.tar.bz2
serverdata-6f2917343c9312768d6b1364a1fffc69ec3eeecf.tar.xz
serverdata-6f2917343c9312768d6b1364a1fffc69ec3eeecf.zip
Merge branch 'aquadabox' into 'master'
Make it possible to fill boxes with aquadas Breaks sell price for Aquada Box See merge request ml/serverdata!72
-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;