summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-02-23 01:32:20 +0100
committerReid <reidyaro@gmail.com>2016-02-23 01:32:20 +0100
commit6e2d1533c05f37e67e9b46d206970701532eb971 (patch)
tree82eac76fa0d7a0653f6d34a260843a883412833e /npc/functions
parenteb84293fb48026d5ac725ba7bc317edc27c5d140 (diff)
downloadserverdata-6e2d1533c05f37e67e9b46d206970701532eb971.tar.gz
serverdata-6e2d1533c05f37e67e9b46d206970701532eb971.tar.bz2
serverdata-6e2d1533c05f37e67e9b46d206970701532eb971.tar.xz
serverdata-6e2d1533c05f37e67e9b46d206970701532eb971.zip
Add moubootalk function.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/moubootalk.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/functions/moubootalk.txt b/npc/functions/moubootalk.txt
new file mode 100644
index 00000000..0d6fb539
--- /dev/null
+++ b/npc/functions/moubootalk.txt
@@ -0,0 +1,26 @@
+// Evol functions.
+// Author:
+// Reid
+// Description:
+// Tell a random sentence.
+// Variables:
+// .@rand = Random number between the number of sentence choice.
+
+function script moubootalk {
+ switch (rand (4))
+ {
+ case 0:
+ npctalk3 l("Moooooo!");
+ break;
+ case 1:
+ npctalk3 l("Moo!");
+ break;
+ case 2:
+ npctalk3 l("Moooooooooooo!");
+ break;
+ case 3:
+ npctalk3 l("Moooo!");
+ break;
+ }
+ return;
+}