From 1c649c767f9ed78429867f4fda4fcde4badb6495 Mon Sep 17 00:00:00 2001 From: Hal9OOO Date: Wed, 12 Dec 2012 20:13:03 +0100 Subject: Restore "InventoryPlace" check function. --- npc/000-1/chest.txt | 6 ++++++ npc/000-2-1/chefgado.txt | 4 ++++ npc/000-2-3/box.txt | 8 ++++++++ npc/000-2-3/nard.txt | 4 ++++ 4 files changed, 22 insertions(+) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2