summaryrefslogtreecommitdiff
path: root/npc/008-2-18/malik.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/008-2-18/malik.txt')
-rw-r--r--npc/008-2-18/malik.txt64
1 files changed, 54 insertions, 10 deletions
diff --git a/npc/008-2-18/malik.txt b/npc/008-2-18/malik.txt
index 3d43332c..ab95dc92 100644
--- a/npc/008-2-18/malik.txt
+++ b/npc/008-2-18/malik.txt
@@ -1,21 +1,65 @@
// Evol scripts.
// Author:
-// Micksha
+// gumi
+// Quest states:
+// [1] 0 - cannot do the quest
+// [1] 1 - can do the quest
+// [1] 2 - talked to inspector (1) <= start
+// [1] 3 - talked to old woman (1)
+// [1] 4 - talked to old woman (2)
+// [1] 5 - talked to inspector (2)
+// [1] 6 - talked to troupe leader (1)
+// [1] 7 - talked to inspector (3)
+// [1] 8 - talked to old man
+// [1] 9 - talked to old woman (3)
+// [1] 10 - talked to inspector (4)
+// [1] 11 - talked to old woman (4)
+// [1] 12 - talked to malek
+// [1] 13 - searched the bookcase
+// [1] 14 - talked to inspector (5)
+// [1] 15 - talked to troupe leader (2) <= reward
+// [1] 16 - talked to inspector (6) <= reward, end
+// [2] unused
+// [3] unused
+// [t] unused
// Description:
-// Malik.
-// THIS IS A PLACEHOLDER!
+// robberies in hurnscald
+// TODO: Make Malik prepare Crude Gem from shards, and make him produce Gem Powder later, once the player visited Tulim(dont tell WildX, though)
008-2-18,32,24,0 script Malik#008-2-18 NPC_MALIK,{
- speech
- l("Hi there."),
- l("My name is Malik. I used to make the finest Gempowder. But since Overlord WildX prohibited magic in Hurns, and along with this making gem powders, I can only try to melt gem shards into crude gems."),
- l("Anyhow, this does not work well yet. Perhaps you should come back later."),
- lg("Psst, if one day you may need gem powder, meet me in the basement.");
+ if (getq(.quest_inspector) == 11)
+ {
+ speech(4,
+ l("Hi, can I help you at all?"));
- close;
+ selectd(
+ l("The inspector sent me here to investigate."));
+
+ speech(4,
+ l("Yeah, we did hear a commotion."),
+ l("We thought we heard someone go down to the basement, but we checked the whole place over and didn't see anything out of the ordinary."));
+
+ close2;
+ setq(.quest_inspector, 12);
+ end;
+ }
+
+ npctalk3(generic(32 | 256));
+ end;
OnInit:
+ .quest_inspector = HurnscaldQuests_Inspector;
+ .quest_debug = .quest_inspector;
.sex = G_MALE;
- .distance = 2;
+ .distance = 3;
+
+////////// UNFINISHED //////////
+////////////////////////////////
+// REMOVE THIS CODE WHEN THIS //
+// NPC IS NO LONGER A WIP //////
+////////////////////////////////
+//if (!debug) disablenpc(.name$);
+///////// UNFINISHED ///////////
+
end;
}