summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/020-7-1/sage.txt15
-rw-r--r--npc/020-7/elias.txt21
2 files changed, 28 insertions, 8 deletions
diff --git a/npc/020-7-1/sage.txt b/npc/020-7-1/sage.txt
index fcb4e2c6c..eccff6122 100644
--- a/npc/020-7-1/sage.txt
+++ b/npc/020-7-1/sage.txt
@@ -9,9 +9,20 @@
// Oskari: Need to be placed somewhere here (on this file)
-020-7-1,35,59,0 script The Blue Sage NPC_BLUESAGEWORKER_MA,{
+020-7-1,35,59,0 script The Blue Sage NPC_BLUESAGE,{
+ .@cindy=($@CINDY_STATE < gettimetick(2));
mesn l("Nikolai, the Blue Sage");
- mes l("The big boss");
+ if (is_night())
+ .@t$=l("Good evening");
+ else
+ .@t$=l("Good morning");
+ mesq .@t$ + l(", my name is Nikolai. I am a sage, and the owner of this place.");
+ next;
+ mesn l("Nikolai, the Blue Sage");
+ mesq l("Not only that, but I am also Angela's husband and Nivalis Mayor. If you have any issues, you can go straight to me.");
+ if (.@cindy) {
+ mesc l("Nikolai takes a sweat of his head. He seems worried with Cindy.");
+ }
close;
OnInit:
diff --git a/npc/020-7/elias.txt b/npc/020-7/elias.txt
index 36ff85936..51b694325 100644
--- a/npc/020-7/elias.txt
+++ b/npc/020-7/elias.txt
@@ -27,14 +27,23 @@ OnTouch:
}
020-7,40,41,0 script Elias NPC_BLUESAGEWORKER_MA,{
+ mesn;
+ mesq l("Hello, and welcome to Blue Sage's Residence, Library, and Nivalis Townhall.");
+ // TODO
+ .@q=getq(NivalisQuest_BlueSage);
+ if (.@q)
+ close;
+ next;
+ mesn;
+ mesq l("Due to a recent incident involving slimes, the building is closed to public visits.");
.@q=getq(General_Narrator);
- if (.@q < 10) {
- npctalk3 l("ERROR/TODO: Explain that library and residence is off-limits");
- } else {
- npctalk3 l("ERROR/TODO: Grant access to Blue Sage Library after showing Rakinorf recommendation letter.");
- }
+ select
+ l("That's sad to hear."),
+ rif(.@q == 10, l("I have a letter from Rakinorf.")),
+ l("What happened?");
+ mes "";
goodbye;
- end;
+ close;
OnAccessDenied:
npctalk3 l("You can't go in there!");