summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/000-2-1/alige.txt10
-rw-r--r--npc/000-2-1/chefgado.txt13
-rw-r--r--npc/000-2-1/knife.txt6
3 files changed, 17 insertions, 12 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 8267f997..2505ed24 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -168,12 +168,12 @@ l_GiveFood:
// Continue if the food is correct.
l_GiveReward:
- if (countitem(@id) < 1) close;
- getinventorylist;
- if ((checkweight("Piberries", 3) == 0) || (@inventorylist_count == 100)) goto l_Inventory;
+ mes "";
+ set @item, 507;
+ set @count, 3;
+ callfunc "InventoryPlace", @item, @count;
delitem @id, 1;
- mes "";
mesn;
mesq l("Thank you so much! Here, have some of my berries.");
@@ -181,7 +181,7 @@ l_GiveReward:
getitem "Piberries", rand(1,3);
close;
-l_Inventory;
+l_Inventory:
mes "";
mesn;
mesq l("It looks like you can't carry anything else for now.");
diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt
index 656ff858..2d084e76 100644
--- a/npc/000-2-1/chefgado.txt
+++ b/npc/000-2-1/chefgado.txt
@@ -96,27 +96,32 @@ l_QuestAccepted:
menu
rif(countitem("PiouLegs") > 1 && countitem("Croconut") > 0 && countitem("Aquada") > 0 && countitem("SeaDrops") > 0, l("All your... Fresh ingredients are ready to be cooked.")), l_GotAll,
l("What are your needs?"), l_Need,
- l("Not yet. I will be back soon."), -;
- close;
+ l("Not yet. I will be back soon."), close;
l_GotAll:
+ mes "";
+ set @item, 717;
+ set @count, 1;
+ callfunc "InventoryPlace", @item, @count;
+
delitem "PiouLegs", 2;
delitem "Croconut", 1;
delitem "Aquada", 1;
delitem "SeaDrops", 1;
setq ShipQuests_ChefGado, 2;
- mes "";
mesn;
mesq l("Let me see... Crispy legs, disgusting liquids... Let's start!");
next;
mesq l("Water, salt, spicy herbs and meat stuffed with my special surprise!");
next;
mesq l("Done. Here, take it! Now here is the plan. Go talk with her and offer our beautiful lady a bite of her arrogance!");
- getitem "PoisonedDish", 1;
+
+ getitem "PoisonedDish", 1;
close;
+
l_Need:
mes "";
mesn;
diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt
index 4a9892e7..dbb886d1 100644
--- a/npc/000-2-1/knife.txt
+++ b/npc/000-2-1/knife.txt
@@ -27,11 +27,11 @@
l_Give:
mes "";
set @item, 3500;
- set @count, 3;
- getinventorylist;
+ set @count, 1;
callfunc "InventoryPlace", @item, @count;
- getitem "Knife", 3;
+ setq ShipQuests_Knife, 1;
+ getitem "Knife", 1;
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);