summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-06-20 03:47:40 +0200
committerReid <reidyaro@gmail.com>2016-06-20 03:47:40 +0200
commit36e4485e428d9a6afc0c3c91f975dd4256fe975b (patch)
tree186a15e35fe9426e22a0f340cea2584c877785e0
parent79859a6ac9420d6d24608cbb83e6577e17e1df17 (diff)
downloadserverdata-36e4485e428d9a6afc0c3c91f975dd4256fe975b.tar.gz
serverdata-36e4485e428d9a6afc0c3c91f975dd4256fe975b.tar.bz2
serverdata-36e4485e428d9a6afc0c3c91f975dd4256fe975b.tar.xz
serverdata-36e4485e428d9a6afc0c3c91f975dd4256fe975b.zip
Add legiontalk with carmie's dialogue.
-rw-r--r--npc/001-1/carmie.txt14
-rw-r--r--npc/functions/legiontalk.txt58
-rw-r--r--npc/scripts.conf1
3 files changed, 61 insertions, 12 deletions
diff --git a/npc/001-1/carmie.txt b/npc/001-1/carmie.txt
index ec95c054..e87e7fe6 100644
--- a/npc/001-1/carmie.txt
+++ b/npc/001-1/carmie.txt
@@ -9,18 +9,7 @@
001-1,86,66,0 script Carmie#001-1 NPC_RAIJIN_FEMALE_LEGION_ARTIS,{
- .@rand = rand(11);
- if (.@rand == 0) npctalk3 l("I'm a little busy right now.");
- else if (.@rand == 1) npctalk3 l("Not in the mood to chat.");
- else if (.@rand == 2) npctalk3 l("Move kid.");
- else if (.@rand == 3) npctalk3 l("Don't distract me, I have to stay alert.");
- else if (.@rand == 4) npctalk3 l("Give me some space.");
- else if (.@rand == 5) npctalk3 l("Can you please go away?");
- else if (.@rand == 6) npctalk3 l("Can't talk right now, i'm on patrol duty.");
- else if (.@rand == 7) npctalk3 l("What you looking at?!");
- else if (.@rand == 8) npctalk3 l("I can't stay here and talk all day. I have a job to do.");
- else if (.@rand == 9) npctalk3 lg("Keep moving girl.", "Keep moving boy.");
- else npctalk3 l("Out of my way.");
+ legiontalk;
close;
@@ -75,4 +64,5 @@ OnInit:
initialmove;
initnpctimer;
+ .distance = 5;
}
diff --git a/npc/functions/legiontalk.txt b/npc/functions/legiontalk.txt
new file mode 100644
index 00000000..20e4235a
--- /dev/null
+++ b/npc/functions/legiontalk.txt
@@ -0,0 +1,58 @@
+// Evol functions.
+// Authors:
+// Reid
+// Qwerty Dragon
+// Akko Teru
+// Description:
+// Tell a random sentence. || There ought to be a law!
+
+function script legiontalk {
+
+ switch (rand(13))
+ {
+ case 0:
+ 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.");
+ break;
+ case 1:
+ npctalk3 l("I'm a little busy right now.");
+ break;
+ case 2:
+ npctalk3 l("Not in the mood to chat.");
+ break;
+ case 3:
+ npctalk3 l("Move kid.");
+ break;
+ case 4:
+ npctalk3 l("Don't distract me, I have to stay alert.");
+ break;
+ case 5:
+ npctalk3 l("Give me some space.");
+ break;
+ case 6:
+ npctalk3 l("Can you please go away?");
+ break;
+ case 7:
+ npctalk3 l("Can't talk right now, i'm on patrol duty.");
+ break;
+ case 8:
+ npctalk3 l("What you looking at?!");
+ break;
+ case 9:
+ npctalk3 l("I can't stay here and talk all day. I have a job to do.");
+ break;
+ case 10:
+ npctalk3 lg("Keep moving girl.", "Keep moving boy.");
+ break;
+ case 11:
+ npctalk3 l("Out of my way.");
+ break;
+ case 12:
+ emotion 111;
+ break;
+ }
+
+ return;
+}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 08e851d3..9ee2d688 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -16,6 +16,7 @@ npc: npc/functions/hammocks.txt
npc: npc/functions/harbours.txt
npc: npc/functions/hello.txt
npc: npc/functions/inventoryplace.txt
+npc: npc/functions/legiontalk.txt
npc: npc/functions/marriage.txt
npc: npc/functions/npcmove.txt
npc: npc/functions/masks.txt