summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorHal9OOO <miglietta.francesco@gmail.com>2012-12-12 20:13:03 +0100
committerHal9OOO <miglietta.francesco@gmail.com>2012-12-12 20:13:03 +0100
commit1c649c767f9ed78429867f4fda4fcde4badb6495 (patch)
tree1ca7b1c4234a5daf709968ff5954376e054931b8 /npc
parent6e1f9925d7c8c909c359b772425e16d7899770d2 (diff)
downloadserverdata-1c649c767f9ed78429867f4fda4fcde4badb6495.tar.gz
serverdata-1c649c767f9ed78429867f4fda4fcde4badb6495.tar.bz2
serverdata-1c649c767f9ed78429867f4fda4fcde4badb6495.tar.xz
serverdata-1c649c767f9ed78429867f4fda4fcde4badb6495.zip
Restore "InventoryPlace" check function.
Diffstat (limited to 'npc')
-rw-r--r--npc/000-1/chest.txt6
-rw-r--r--npc/000-2-1/chefgado.txt4
-rw-r--r--npc/000-2-3/box.txt8
-rw-r--r--npc/000-2-3/nard.txt4
4 files changed, 22 insertions, 0 deletions
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt
index 14053a0a..f4039a94 100644
--- a/npc/000-1/chest.txt
+++ b/npc/000-1/chest.txt
@@ -25,7 +25,13 @@
l_Give:
if (@q > 1) goto l_Close;
+
+ set @item, 515;
+ set @count, 3;
+ callfunc "InventoryPlace", @item, @count;
+
setq ShipQuests_Darlin, 2;
+
set zeny, zeny + 100;
getitem SeaDrops, 1;
getitem Aquada, 1;
diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt
index 6af17de8..2a7e605e 100644
--- a/npc/000-2-1/chefgado.txt
+++ b/npc/000-2-1/chefgado.txt
@@ -100,6 +100,10 @@ l_QuestAccepted:
l_GotAll:
mes "";
+ set @item, 717;
+ set @count, 1;
+ callfunc "InventoryPlace", @item, @count;
+
delitem "PiouLegs", 2;
delitem "Croconut", 1;
delitem "Aquada", 1;
diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt
index 85365600..507a1950 100644
--- a/npc/000-2-3/box.txt
+++ b/npc/000-2-3/box.txt
@@ -73,6 +73,10 @@ l_NoQuest:
mesq l("Now go outside and talk with Gugli, he'll tell you what we need.");
next;
+ set @item, 718;
+ set @count, 1;
+ callfunc "InventoryPlace", @item, @count;
+
setq ShipQuests_Nard, 1;
getitem "JohanneKey", 1;
@@ -84,6 +88,10 @@ l_Give:
mesn "Nard";
mesq l("You are now part of the crew. Thanks again for your help.");
+ set @item, 2900;
+ set @count, 1;
+ callfunc "InventoryPlace", @item, @count;
+
setq ShipQuests_Nard, 5;
getitem "Bandana", 1;
// Need to add a skill for the crew at this line.
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt
index 08498d83..9fdad895 100644
--- a/npc/000-2-3/nard.txt
+++ b/npc/000-2-3/nard.txt
@@ -99,6 +99,10 @@ l_NeedContent:
mesq l("Now go outside and talk with Gugli, he'll tell you what we need.");
next;
+ set @item, 718;
+ set @count, 1;
+ callfunc "InventoryPlace", @item, @count;
+
setq ShipQuests_Nard, 1;
getitem "JohanneKey", 1;