summaryrefslogtreecommitdiff
path: root/npc/000-1/couwan.txt
diff options
context:
space:
mode:
authorAlige <aligetmw@hotmail.fr>2012-11-30 10:21:53 +0400
committerAlige <aligetmw@hotmail.fr>2012-11-30 10:21:53 +0400
commite5e41bd924b45d2d15b3175413a3a7a520396dee (patch)
treeb98143b49bd16e9ce32afe95d6b37d4c1667142b /npc/000-1/couwan.txt
parentecf8da4a5520496e6c678ee600a85b63a7e62a02 (diff)
downloadserverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.gz
serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.bz2
serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.xz
serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.zip
Replaced some item IDs by their names in scripts.
Added missing commands when the NPC gives an item. Fixed some language.
Diffstat (limited to 'npc/000-1/couwan.txt')
-rw-r--r--npc/000-1/couwan.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/000-1/couwan.txt b/npc/000-1/couwan.txt
index 8a39b584..5969fce1 100644
--- a/npc/000-1/couwan.txt
+++ b/npc/000-1/couwan.txt
@@ -44,6 +44,8 @@
mesq l("Yeye ask too much but do too less. Take this box and stop talking.");
next;
+ getinventorylist;
+ if ((checkweight("FishBox", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory;
mesn "Narrator";
mes col(l("Couwan hands you a box full of fish."), 9);
getitem "FishBox", 1;
@@ -77,6 +79,15 @@ l_QuestGiven:
close;
+l_Inventory;
+ mes "";
+ mesn;
+ mesq l("Yeye can't even carry one of these yoyoxes!");
+ next;
+ mesq l("Yeye should come back when yey'll have some free space.");
+
+ close;
+
l_QuestDone:
mesn;
mesq l("What are you looking at?");