summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/000-2-1/alige.txt12
-rw-r--r--npc/items/poisonedblobime.txt4
-rw-r--r--npc/items/poisonedseeds.txt17
3 files changed, 26 insertions, 7 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 99c00411..e544795f 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -1,6 +1,7 @@
// Evol scripts.
// Authors:
// Ablu
+// Alige
// Reid
// Vasily_Makarov
// Description:
@@ -164,18 +165,19 @@ l_GiveFood:
rif(countitem(508, 1), l(getitemname("SeaDrops"))), 1,
rif(countitem(509, 1), l(getitemname("Aquada"))), 509,
rif(countitem(510, 1), l(getitemname("PinkBlobime"))), 1,
- rif(countitem(511, 1), l(getitemname("PurpleBlobime"))), 1,
rif(countitem(512, 1), l(getitemname("HalfCroconut"))), 512,
- rif(countitem(513, 1), l(getitemname("Croconut"))), 513,
+ rif(countitem(512, 1), l(getitemname("Croconut"))), 0,
rif(countitem(515, 1), l(getitemname("Plushroom"))), 515,
+ rif(countitem(515, 1), l(getitemname("PumpkinSeeds"))), 1,
l("I don't have anything good for you today."), -1;
set @id, @menuret;
if (@id == -1) goto l_Quit; // Quit message.
if (@id == 0) goto l_NoReward; // In case of wrong food.
- if (@id == 1) goto l_Poison; // In case of Poisonned food.
+ if (@id == 1) goto l_Poison; // In case of poisoned food.
if (@id == 2) goto l_NoMore; // In case of Piberries.
-// Continue if the food is correct.
+// if (@id == item's ID) then food is correct.
+// Do not put any other number than -1, 0, 1, 2 or the item's ID, that'll avoid confusion.
l_GiveReward:
mes "";
@@ -197,7 +199,7 @@ l_NoReward:
setcamnpc;
mes "";
mesn;
- mesq l("I don't want this, give me something else.");
+ mesq l("You don't expect me to eat that, do you? Give me something else!");
restorecam;
goto l_GiveFood;
diff --git a/npc/items/poisonedblobime.txt b/npc/items/poisonedblobime.txt
index 2cb4ea64..4b1213d9 100644
--- a/npc/items/poisonedblobime.txt
+++ b/npc/items/poisonedblobime.txt
@@ -5,12 +5,12 @@
// Vasily_Makarov
// Description:
// 1/2 chances to get poisoned.
-// 1/2 chances to get healed (1 HP).
+// 1/2 chances to get healed (4 HP).
function script usePoisonedBlobime {
set @temp, rand(2);
if (!@temp) sc_start sc_poison, 1, 50;
- if (@temp) itemheal 1, 0;
+ if (@temp) itemheal 4, 0;
set @temp, 0;
return;
}
diff --git a/npc/items/poisonedseeds.txt b/npc/items/poisonedseeds.txt
new file mode 100644
index 00000000..864104eb
--- /dev/null
+++ b/npc/items/poisonedseeds.txt
@@ -0,0 +1,17 @@
+// Evol scripts.
+// Authors:
+// Alige
+// Alastrim
+// Reid
+// Vasily_Makarov
+// Description:
+// 3/4 chances to get poisoned.
+// 1/4 chances to get healed (1 HP).
+
+function script usePoisonedSeeds {
+ set @temp, rand(4);
+ if (!@temp) itemheal 1, 0;
+ if (@temp) sc_start sc_poison, 1, 50;
+ set @temp, 0;
+ return;
+}