From 361331cbdcdd12577e992c69383ae0e31929512c Mon Sep 17 00:00:00 2001 From: Reid Date: Mon, 3 Dec 2012 00:41:17 +0100 Subject: Add new function in every script where getitem is called. --- npc/000-1/ale.txt | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'npc/000-1/ale.txt') diff --git a/npc/000-1/ale.txt b/npc/000-1/ale.txt index 72fb0ab5..c7fe20e9 100644 --- a/npc/000-1/ale.txt +++ b/npc/000-1/ale.txt @@ -31,8 +31,10 @@ mesq l("Hmm... Let's see, take this one."); next; - getinventorylist; - if ((checkweight("AquadaBox", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory; + set @item, 714; + set @count, 1; + callfunc "InventoryPlace", @item, @count; + setq ShipQuests_Ale, 1; getitem "AquadaBox", 1; @@ -65,15 +67,6 @@ l_CallFunc: close; -l_Inventory; - mes ""; - mesn; - mesq l("It looks like you can't carry anymore of these boxes for now."); - next; - mesq l("You should come back when you'll have some free space."); - - close; - l_Bottom: mes ""; mesn; -- cgit v1.2.3-60-g2f50