summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-04 00:20:48 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-04 00:20:48 -0300
commit5b2d6c7647512fd3fa8d55487a82347de0bfd134 (patch)
treebff7e22eb2855ba95263dba5540615bdc7916ecc /npc
parente5625c1cabc7d0e631a899854add1a44142cf3c9 (diff)
downloadserverdata-5b2d6c7647512fd3fa8d55487a82347de0bfd134.tar.gz
serverdata-5b2d6c7647512fd3fa8d55487a82347de0bfd134.tar.bz2
serverdata-5b2d6c7647512fd3fa8d55487a82347de0bfd134.tar.xz
serverdata-5b2d6c7647512fd3fa8d55487a82347de0bfd134.zip
Add mobs to instanced maps + misc fixes
Diffstat (limited to 'npc')
-rw-r--r--npc/002-1/_import.txt1
-rw-r--r--npc/002-1/dan.txt101
-rw-r--r--npc/002-1/mobs_override.txt6
-rw-r--r--npc/005-6/morgan.txt2
4 files changed, 21 insertions, 89 deletions
diff --git a/npc/002-1/_import.txt b/npc/002-1/_import.txt
index 461307e1e..459d26fd2 100644
--- a/npc/002-1/_import.txt
+++ b/npc/002-1/_import.txt
@@ -12,5 +12,4 @@
"npc/002-1/hammock.txt",
"npc/002-1/knife.txt",
"npc/002-1/mapflags.txt",
-"npc/002-1/mobs_override.txt",
"npc/002-1/peter.txt",
diff --git a/npc/002-1/dan.txt b/npc/002-1/dan.txt
index bc2191c16..bc5a5c76e 100644
--- a/npc/002-1/dan.txt
+++ b/npc/002-1/dan.txt
@@ -1,94 +1,33 @@
-// Evol scripts.
+// TMW-2 Script
// Authors:
-// Qwerty Dragon
-// Reid
+// Qwerty Dragon and Reid (originals)
+// Jesusalva
// Description:
-// There are two kinds of dialogues in this script.
-// Dan will randomly choose between a useless sentence, and a quest in Artis.
-
-002-1,32,31,0 script Dan#002-1 NPC_DEMON_MAN,{
- if (getq(General_Narrator) > 0)
- {
- sailortalk;
- close;
- }
+// Dan is a sailor from Nard ship (TODO another Redy? Seriously?) who is afraid
+// of Pious.
+// Variables:
+// ShipQuests_Dan
+002-1,32,31,0 script Dan#002-1 NPC_REDY_MAN,{
+ .@q=getq(ShipQuests_Dan);
mesn;
- .@q = rand(3);
- if (.@q == 0) goto L_QuestStory;
-
mesq l("You see these pious around us?");
next;
mesq l("It seems that we are close to an island, we should take a look at the upper level.");
-
- close;
-
-L_QuestStory:
- mesq l("It's so hard to find the motivation...");
- next;
-
- menu
- l("Why?"), -,
- l("I guess so... I will leave you alone."), L_Quit;
-
- mes "";
- mesn;
- mesq l("Oh, it's you.");
- next;
- mesq lg("So, you finally woke up? We all thought you were in something like... You know, one of these long comas.");
- next;
-
- menu
- l("I'm still in a coma, but my ghost is haunting you!"), L_Quit,
- l("It was something like a long nap."), -;
-
- mes "";
- mesn;
- mesq l("It's good, good... I have a friend who is still in a coma, but I can't be with her without working...");
- next;
- mesq l("The fear to see her sleeping on this quiet and lonely bed is becoming more and more unbearable, I think that I won't get the bravery to see her this time...");
- next;
-
- menu
- l("Who is she?"), L_She,
- l("Do you want me to go see her instead of you?"), L_Quest;
- l("I don't know what to say..."), -;
-
- mes "";
- mesn;
- mesq lg("There's nothing to say, don't worry miss.", "There's nothing to say, don't worry sir.");
-
- close;
-
-L_She:
- mes "";
- mesn;
- mesq l("She is a good friend of mine... We wanted to marry a few weeks before her accident but...");
- next;
-
- goto L_Quit2;
-
-L_Quest:
- mes "";
- mesn;
- mesq l("I don't think that we are in a good place to talk about this...");
- next;
-
-L_Quit:
- mes "";
- mesn "Narrator";
- mes col(l("Dan keeps silent since your last question."), 9);
-
- close;
-
-L_Quit2:
- mesn "Narrator";
- mes col(l("Dan ends the conversation and resumes to write his letter."), 9);
-
close;
OnInit:
.sex = G_MALE;
- .distance = 2;
+ .distance = 5;
end;
+
+OnRespawnPiou:
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("Dan#002-1")+"::OnRespawnPiou");
+ end;
+
+OnInstanceInit:
+ //instance_set_respawn instance_mapname("002-1"), 52, 32;
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 3, instance_npcname("Dan#002-1")+"::OnRespawnPiou");
+ end;
+
}
diff --git a/npc/002-1/mobs_override.txt b/npc/002-1/mobs_override.txt
deleted file mode 100644
index eea1f91c2..000000000
--- a/npc/002-1/mobs_override.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-// TMW2 Script. Overrides mobs for Candor and Tulimshar's instances (LOCATION$)
-// Map 002-1: Second Deck mobs
-002-1@Candor,52,32,21,9 monster Piou 1002,3,30000,20000
-002-1@Candor,27,31,1,3 monster Maggot 1030,1,30000,20000
-002-1@Tulim,52,32,21,9 monster Piou 1002,3,30000,20000
-002-1@Tulim,27,31,1,3 monster Maggot 1030,1,30000,20000
diff --git a/npc/005-6/morgan.txt b/npc/005-6/morgan.txt
index 1e8ce9d60..0bf0a3396 100644
--- a/npc/005-6/morgan.txt
+++ b/npc/005-6/morgan.txt
@@ -52,7 +52,7 @@ OnClock0556:
OnClock1201:
OnClock1759:
OnClock0003:
- restoreshopitem CottonClotch, 7;
+ restoreshopitem CottonCloth, 7;
restoreshopitem Fungus, 10;
restoreshopitem Bread, 15;
}