summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2011/plushMouboo.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-12-12 11:28:46 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-12-12 11:36:17 +0100
commitae7e76ab4e7e5779c24913b0f5c28ad427dddf3d (patch)
tree3bbead2f072488a61f500622f064e9e7d944340d /world/map/npc/xmas/2011/plushMouboo.txt
parentb8b9efc2edbe96e34564e34c28f8a99edec92a63 (diff)
downloadserverdata-ae7e76ab4e7e5779c24913b0f5c28ad427dddf3d.tar.gz
serverdata-ae7e76ab4e7e5779c24913b0f5c28ad427dddf3d.tar.bz2
serverdata-ae7e76ab4e7e5779c24913b0f5c28ad427dddf3d.tar.xz
serverdata-ae7e76ab4e7e5779c24913b0f5c28ad427dddf3d.zip
Christmas Event: some fixes and improvements based on feedback of the playersv2011.12.12
Diffstat (limited to 'world/map/npc/xmas/2011/plushMouboo.txt')
-rw-r--r--world/map/npc/xmas/2011/plushMouboo.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/world/map/npc/xmas/2011/plushMouboo.txt b/world/map/npc/xmas/2011/plushMouboo.txt
index 48719549..66c1dd77 100644
--- a/world/map/npc/xmas/2011/plushMouboo.txt
+++ b/world/map/npc/xmas/2011/plushMouboo.txt
@@ -133,6 +133,9 @@ L_PlushMouboo:
"I'm still working on that.",L_Close;
if ((countitem("CottonCloth") < @cotton_amount) || (countitem("WhiteFur") < @fur_amount))
goto L_NoItems;
+ getinventorylist;
+ if (@inventorylist_count == 100)
+ goto L_Full_Inv;
delitem "CottonCloth", @cotton_amount;
delitem "WhiteFur", @fur_amount;
set @plushmouboo, 3;
@@ -187,10 +190,16 @@ L_NoItems:
mes "\"You don't have it!\"";
goto L_Close;
+L_Full_Inv:
+ mes "[Launo]";
+ mes "\"You have a full backpack! Come back when you're carrying less things.\"";
+ goto L_Close;
+
L_Close:
set @cotton_amount, 0;
set @fur_amount, 0;
set @plushmouboo, 0;
+ set @inventorylist_count, 0;
close;
S_Update_Var: