diff options
author | Reid <reidyaro@gmail.com> | 2012-12-03 00:41:17 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-12-03 00:41:17 +0100 |
commit | 361331cbdcdd12577e992c69383ae0e31929512c (patch) | |
tree | 20a3e4367055716219536ba685910ec6140c59a0 /npc/000-2-3/nard.txt | |
parent | 9859a4a8bd1227090e8d7de8b6d52488761d9e80 (diff) | |
download | serverdata-361331cbdcdd12577e992c69383ae0e31929512c.tar.gz serverdata-361331cbdcdd12577e992c69383ae0e31929512c.tar.bz2 serverdata-361331cbdcdd12577e992c69383ae0e31929512c.tar.xz serverdata-361331cbdcdd12577e992c69383ae0e31929512c.zip |
Add new function in every script where getitem is called.
Diffstat (limited to 'npc/000-2-3/nard.txt')
-rw-r--r-- | npc/000-2-3/nard.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt index 6f0ceaf46..dafbb3b2b 100644 --- a/npc/000-2-3/nard.txt +++ b/npc/000-2-3/nard.txt @@ -96,8 +96,10 @@ l_NeedContent: 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; @@ -182,8 +184,10 @@ l_ChefQuestComplete: mesq l("You are now officially part of my crew! Thanks again for your help."); next; - 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, 4; getitem "Bandana", 1; // Need to add a skill for the crew at this line. |