From ae7e76ab4e7e5779c24913b0f5c28ad427dddf3d Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Mon, 12 Dec 2011 11:28:46 +0100 Subject: Christmas Event: some fixes and improvements based on feedback of the players --- world/map/npc/xmas/2011/stickReinboo.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'world/map/npc/xmas/2011/stickReinboo.txt') diff --git a/world/map/npc/xmas/2011/stickReinboo.txt b/world/map/npc/xmas/2011/stickReinboo.txt index 23a6356d..0ed076ff 100644 --- a/world/map/npc/xmas/2011/stickReinboo.txt +++ b/world/map/npc/xmas/2011/stickReinboo.txt @@ -128,6 +128,9 @@ L_StickReinboo: "Ok, I'll bring those.",L_Close; if ((countitem("RawLog") < @log_amount) || (countitem("LeatherPatch") < @leather_amount)) goto L_NoItems; + getinventorylist; + if (@inventorylist_count == 100) + goto L_Full_Inv; delitem "RawLog", @log_amount; delitem "LeatherPatch", @leather_amount; set @stickreinboo, 3; @@ -167,10 +170,16 @@ L_NoItems: mes "\"Ha, don't speak nonsense. You don't have it, so I don't have to start working.\""; goto L_Close; +L_Full_Inv: + mes "[Kalevi]"; + mes "\"You have a full backpack! Come back when you're carrying less things.\""; + goto L_Close; + L_Close: set @log_amount, 0; set @leather_amount, 0; set @stickreinboo, 0; + set @inventorylist_count, 0; close; S_Update_Var: -- cgit v1.2.3-70-g09d2