summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-18 18:26:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-18 18:26:02 -0300
commit048f06dfbd0ce99847cf145638161f212b45d682 (patch)
tree4f107fd74130c95f9124e5198ad5a6f406fc6444
parent2170d2312af238debbae1be7d2bd436384d339d3 (diff)
downloadserverdata-048f06dfbd0ce99847cf145638161f212b45d682.tar.gz
serverdata-048f06dfbd0ce99847cf145638161f212b45d682.tar.bz2
serverdata-048f06dfbd0ce99847cf145638161f212b45d682.tar.xz
serverdata-048f06dfbd0ce99847cf145638161f212b45d682.zip
Placeholders stage 2
-rw-r--r--db/constants.conf1
-rw-r--r--db/re/mob_skill_db.conf2
-rw-r--r--npc/020-7-1/sage.txt15
-rw-r--r--npc/020-7/elias.txt21
4 files changed, 31 insertions, 8 deletions
diff --git a/db/constants.conf b/db/constants.conf
index d478bd498..881dbfa45 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -4034,6 +4034,7 @@ constants_db: {
NPC_SAGRATHA: 193
NPC_BLUESAGEWORKER_MA: 194
NPC_BLUESAGEWORKER_FA: 195
+ NPC_BLUESAGE: 199
// LoF Non Animated NPCs
NPC_FORTIUN: 200
diff --git a/db/re/mob_skill_db.conf b/db/re/mob_skill_db.conf
index c91a2c8c7..4e3085269 100644
--- a/db/re/mob_skill_db.conf
+++ b/db/re/mob_skill_db.conf
@@ -254,6 +254,8 @@ SKILL_COND2 = {
/**********************************************************************/
BlueSlime: {
+ // TODO: use NPC_SUMMONMONSTER or some other way to prevent
+ // the slaves from inheirting the summoner modes.
NPC_SUMMONSLAVE: {
SkillState: "MSS_ANY"
SkillLevel: 1
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!");