diff options
Diffstat (limited to 'npc/000-2-1/knife.txt')
-rw-r--r-- | npc/000-2-1/knife.txt | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt index 71138fac..4a9892e7 100644 --- a/npc/000-2-1/knife.txt +++ b/npc/000-2-1/knife.txt @@ -25,12 +25,14 @@ close; l_Give: + mes ""; + set @item, 3500; + set @count, 3; getinventorylist; - if ((checkweight("Knife", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory; - setq ShipQuests_Knife, 1; - getitem "Knife", 1; + callfunc "InventoryPlace", @item, @count; + + getitem "Knife", 3; - mes ""; mesn "Narrator"; mes col(l("To open your inventory, use the F3 key or use your mouse to select it in the above menu in your client."), 9); next; @@ -40,13 +42,4 @@ l_Give: 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; - } |