summaryrefslogtreecommitdiff
path: root/npc/020-7-1/oskari.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-7-1/oskari.txt')
-rw-r--r--npc/020-7-1/oskari.txt70
1 files changed, 67 insertions, 3 deletions
diff --git a/npc/020-7-1/oskari.txt b/npc/020-7-1/oskari.txt
index 43b213be4..e9d900052 100644
--- a/npc/020-7-1/oskari.txt
+++ b/npc/020-7-1/oskari.txt
@@ -32,10 +32,74 @@
// Bitwise (BS_QHELPER)
020-7-1,122,29,0 script Oskari NPC_BLUESAGEWORKER_FB,{
+ function pIdle;
+
+ function pPeetu; // Peetu sent you to them
+ function pElias; // Elias sent you to them
+ function pComplete;
+
.@q=getq(NivalisQuest_BlueSage);
- npctalk3 "Me boss";
- goodbye;
- end;
+ switch (.@q) {
+ case 2:
+ pIdle();
+ break;
+ case 3:
+ pPeetu();
+ break;
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ pIdle();
+ break;
+ case 8:
+ pElias();
+ break;
+ case 9:
+ case 10:
+ case 11:
+ pIdle();
+ break;
+ case 12:
+ pComplete();
+ break;
+ default:
+ warp "Save", 0, 0;
+ percentheal -100, -100;
+ end;
+ break;
+ }
+ close;
+
+
+// Here we begin
+function pIdle {
+ mesn;
+ mesq l("You have to excuse me, as you might have heard we're having some trouble at the moment and I, as Chief of Nikolai's household staff, have a lot to do.");
+ close;
+}
+
+// Here we begin
+function pPeetu {
+ mesn;
+ mesq l("ERROR PEETU");
+ close;
+}
+
+// Here we begin
+function pElias {
+ mesn;
+ mesq l("ERROR ELIAS");
+ close;
+}
+
+// Here we begin
+function pComplete {
+ mesn;
+ mesq l("Thanks again for your investigations. It was a great help.");
+ close;
+}
+
OnInit:
initpath "move", 122, 29,