summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/villagertalk.txt23
-rw-r--r--npc/scripts.conf1
2 files changed, 24 insertions, 0 deletions
diff --git a/npc/functions/villagertalk.txt b/npc/functions/villagertalk.txt
new file mode 100644
index 00000000..354842b5
--- /dev/null
+++ b/npc/functions/villagertalk.txt
@@ -0,0 +1,23 @@
+// Evol functions.
+// Author:
+// Reid
+// Description:
+// Tell a random sentence.
+// Variables:
+// .@rand = Random number between the number of sentence choice.
+
+function script villagertalk {
+
+ .@rand = rand(3);
+ if (.@rand == 0) goodbye;
+ if (.@rand == 1)
+ {
+ speech 4,
+ l("Do you feel too weak even to do damage to this areas wishy-washy wildlife?"),
+ l("Then concentrate your anger upon the trees hereabouts, you will gain experience whilst leveling your sword skill on them."),
+ l("Oh, and a fruit may even fall for you if you are lucky! But stay alert to pick up your drops.");
+ }
+ if (.@rand == 2) npctalk3 l("It is a sunny day, don't you think?");
+
+ return;
+}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index b7dbd7fe..444e1967 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -21,6 +21,7 @@ npc: npc/functions/sailordialogue.txt
npc: npc/functions/sailortalk.txt
npc: npc/functions/savepoint.txt
npc: npc/functions/shops.txt
+npc: npc/functions/villagertalk.txt
npc: npc/functions/npcmovegraph.txt
npc: npc/functions/fishing.txt