summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/000-0/area.txt2
-rw-r--r--npc/items/PoisonedWater.txt15
-rw-r--r--npc/scripts.conf7
3 files changed, 23 insertions, 1 deletions
diff --git a/npc/000-0/area.txt b/npc/000-0/area.txt
index caed50cc..0d62cff5 100644
--- a/npc/000-0/area.txt
+++ b/npc/000-0/area.txt
@@ -31,6 +31,6 @@
mesq l("The sailors take you aboard their ship to help you."); //italic
next;
- warp 002-0-x.gat,0,0;
+ warp 000-2-x.gat,0,0;
}
diff --git a/npc/items/PoisonedWater.txt b/npc/items/PoisonedWater.txt
new file mode 100644
index 00000000..40e93093
--- /dev/null
+++ b/npc/items/PoisonedWater.txt
@@ -0,0 +1,15 @@
+// Evol scripts.
+// Authors:
+// Alastrim, Vasily_Makarov, Reid
+// Description:
+// Heal of 25hp and add 1/4 bad luck to be poisoned.
+
+function|script|usePoisonedWater|{
+ set @temp, rand(4);
+ if (!@temp) sc_start sc_poison, 1, 50;
+ if (!@temp) message strcharinfo(0), "Debug: Poisoned";
+ if (@temp) itemheal 15, 0;
+ if (@temp) message strcharinfo(0), "Debug: Healed";
+ set @temp, 0;
+ return;
+}
diff --git a/npc/scripts.conf b/npc/scripts.conf
new file mode 100644
index 00000000..2bfd0bdd
--- /dev/null
+++ b/npc/scripts.conf
@@ -0,0 +1,7 @@
+// This is the main script import file
+
+// NPC Functions
+// npc: npc/functions/.txt
+
+// maps
+import: npc/_import.txt