summaryrefslogtreecommitdiff
path: root/npc/001-2-24
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-02-02 02:18:02 +0100
committerReid <reidyaro@gmail.com>2015-02-02 02:18:02 +0100
commit00a893e08844bacba469f65933ee4f89e1622c78 (patch)
treea9fd70195524b1ac6d02c18f8ed41bed74dd92c3 /npc/001-2-24
parentff4e4da129913ee3911d8031e5d2000d4c2086c9 (diff)
downloadserverdata-00a893e08844bacba469f65933ee4f89e1622c78.tar.gz
serverdata-00a893e08844bacba469f65933ee4f89e1622c78.tar.bz2
serverdata-00a893e08844bacba469f65933ee4f89e1622c78.tar.xz
serverdata-00a893e08844bacba469f65933ee4f89e1622c78.zip
Add #24 (ship indoor).
Diffstat (limited to 'npc/001-2-24')
-rw-r--r--npc/001-2-24/_import.txt5
-rw-r--r--npc/001-2-24/_warps.txt2
-rw-r--r--npc/001-2-24/hammock.txt22
-rw-r--r--npc/001-2-24/nard.txt58
-rw-r--r--npc/001-2-24/piourocket.txt21
5 files changed, 108 insertions, 0 deletions
diff --git a/npc/001-2-24/_import.txt b/npc/001-2-24/_import.txt
new file mode 100644
index 00000000..70c3b3cf
--- /dev/null
+++ b/npc/001-2-24/_import.txt
@@ -0,0 +1,5 @@
+// Map 001-2-24: La Johanne, Nard's Room
+npc: npc/001-2-24/_warps.txt
+npc: npc/001-2-24/hammock.txt
+npc: npc/001-2-24/nard.txt
+npc: npc/001-2-24/piourocket.txt
diff --git a/npc/001-2-24/_warps.txt b/npc/001-2-24/_warps.txt
new file mode 100644
index 00000000..049ffb52
--- /dev/null
+++ b/npc/001-2-24/_warps.txt
@@ -0,0 +1,2 @@
+// Map 001-2-24: La Johanne, Nard's Room
+001-2-24,19,27,0 warp ToLevel0#001-2-24 0,0,001-2-21,32,28
diff --git a/npc/001-2-24/hammock.txt b/npc/001-2-24/hammock.txt
new file mode 100644
index 00000000..9991ea84
--- /dev/null
+++ b/npc/001-2-24/hammock.txt
@@ -0,0 +1,22 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Animated hammock at the top level of the ship.
+
+001-2-24,28,24,0 script #nardArtisHammock 904,1,0,{
+
+OnTouchFirst:
+ setnpcdir 4;
+ close;
+
+OnUnTouchAll:
+ setnpcdir 2;
+ initnpctimer;
+ close;
+
+OnTimer5440:
+ setnpcdir 4;
+ stopnpctimer;
+ end;
+}
diff --git a/npc/001-2-24/nard.txt b/npc/001-2-24/nard.txt
new file mode 100644
index 00000000..e8e306b9
--- /dev/null
+++ b/npc/001-2-24/nard.txt
@@ -0,0 +1,58 @@
+// Evol scripts.
+// Authors:
+// Qwerty Dragon
+// Reid
+// Description:
+// Captain Nard dialogs.
+// Nard does the introduction with a small quest.
+// This quest is meant to teach the player how to use a weapon,and to bring food to the ship.
+// 4 bits array:
+// ShipQuests
+// Variable:
+// 0 ShipQuests_Nard
+// 1 ShipQuests_Gugli
+// 2 ShipQuests_ChefGado
+// Values:
+// 00 Introduction of the boxes and Nard. This is displayed when the player never spoke to Nard or his box.
+// 01 Nard spoke and gave access to the outdoor of the ship.
+// 02 Completed the Gugli quest.
+// 03 ChefGado Quest accepted.
+// 04 ChefGado Quest completed and "Introduction" chapter finalized.
+// 05 Reward taken from the box.
+// 10 Never talked with Gugli.
+// 11 Gugli gives you the task.
+// 12 Gave all of the boxes to Gugli.
+
+001-2-24,25,26,0 script Nard#Artis 406,{
+
+ mesn;
+ mesq g(l("Good day miss."), l("Good day mister."));
+ next;
+ mesq l("What can I do for you?");
+
+ menu
+ l("I'm lost, where should I go?"), L_Lost,
+ l("How long will you stay here?"), -;
+
+ mes "";
+ mesn;
+ mesq l("We just returned from a long journey and Artis is a good city to rest and to conclude our exchange.");
+ next;
+ mesq l("I think that we will stay in port for a great time.");
+
+ closedialogs;
+ close;
+
+L_Lost :
+ mes "";
+ mesn;
+ mesq l("Julia make appeal the Legion of Aemil to search you, exit the ship and you should see your escort!");
+
+ closedialogs;
+ close;
+
+OnInit:
+ setnpcsex G_MALE;
+ setnpcdistance 5;
+ end;
+}
diff --git a/npc/001-2-24/piourocket.txt b/npc/001-2-24/piourocket.txt
new file mode 100644
index 00000000..d3b7e38e
--- /dev/null
+++ b/npc/001-2-24/piourocket.txt
@@ -0,0 +1,21 @@
+// Evol scripts.
+// Author:
+// Ablu
+// Description:
+// Jumping piou.
+
+001-2-24,27,23,4 script #piourocketArtis 408,{
+ setnpcdir 2;
+ stopnpctimer;
+ initnpctimer;
+ close;
+
+OnTimer1420:
+ setnpcdir 4;
+ stopnpctimer;
+ end;
+
+OnInit:
+ setnpcdistance 3;
+ end;
+}