summaryrefslogtreecommitdiff
path: root/npc/000-2-3/box.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/000-2-3/box.txt')
-rw-r--r--npc/000-2-3/box.txt24
1 files changed, 10 insertions, 14 deletions
diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt
index 12f5b10b..0866993a 100644
--- a/npc/000-2-3/box.txt
+++ b/npc/000-2-3/box.txt
@@ -63,8 +63,10 @@
mesq l("Now go outside and talk with Gugli, he'll tell you what we need.");
next;
- getinventorylist;
- if ((checkweight("JohanneKey", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory;
+ set @item, 718;
+ set @count, 1;
+ callfunc "InventoryPlace", @item, @count;
+
setq ShipQuests_Nard, 1;
getitem "JohanneKey", 1;
@@ -86,27 +88,21 @@ l_Give:
mesn "Nard";
mesq l("You are now part of the crew. Thanks again for your help.");
- getinventorylist;
- if ((checkweight("Bandana", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory;
+ set @item, 2900;
+ set @count, 1;
+ callfunc "InventoryPlace", @item, @count;
+
setq ShipQuests_Nard, 3;
getitem "Bandana", 1;
// Need to add a skill for the crew at this line.
close;
-l_Inventory;
- mes "";
- mesn;
- mesq l("It looks like you can't carry anything else for now.");
- next;
- mesq l("You should come back when you'll have some free space.");
-
- close;
-
l_Already:
mes "";
mesn "Nard";
- mesq l("You already took a Bandana, please put this one back in the box.");
+ mesq l("You already took a Bandana, please put this one back in the box.");
+
close;
}