summaryrefslogtreecommitdiff
path: root/npc/031-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
commitcf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch)
treef9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/031-1
parent8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff)
downloadserverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip
Override
Diffstat (limited to 'npc/031-1')
-rw-r--r--npc/031-1/_import.txt9
-rw-r--r--npc/031-1/_mobs.txt6
-rw-r--r--npc/031-1/_warps.txt5
-rwxr-xr-xnpc/031-1/angelaOutside.txt138
-rwxr-xr-xnpc/031-1/dock.txt40
-rwxr-xr-xnpc/031-1/frozenbeard.txt22
-rwxr-xr-xnpc/031-1/house.txt11
-rwxr-xr-xnpc/031-1/mapflags.txt1
8 files changed, 232 insertions, 0 deletions
diff --git a/npc/031-1/_import.txt b/npc/031-1/_import.txt
new file mode 100644
index 00000000..4b45a1e1
--- /dev/null
+++ b/npc/031-1/_import.txt
@@ -0,0 +1,9 @@
+// Map 031-1: Nivalis Port
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/031-1/_mobs.txt",
+"npc/031-1/_warps.txt",
+"npc/031-1/angelaOutside.txt",
+"npc/031-1/dock.txt",
+"npc/031-1/frozenbeard.txt",
+"npc/031-1/house.txt",
+"npc/031-1/mapflags.txt",
diff --git a/npc/031-1/_mobs.txt b/npc/031-1/_mobs.txt
new file mode 100644
index 00000000..bedd297f
--- /dev/null
+++ b/npc/031-1/_mobs.txt
@@ -0,0 +1,6 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 031-1: Nivalis Port mobs
+031-1,0,0,0,0 monster Cuco 1020,10,100000,30000
+031-1,0,0,0,0 monster Terranite 1113,14,100000,30000
+031-1,76,26,5,2 monster Nutcracker 1093,7,100000,30000
+031-1,0,0,0,0 monster Reaper 1095,4,100000,30000
diff --git a/npc/031-1/_warps.txt b/npc/031-1/_warps.txt
new file mode 100644
index 00000000..9d7b3a97
--- /dev/null
+++ b/npc/031-1/_warps.txt
@@ -0,0 +1,5 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 031-1: Nivalis Port warps
+031-1,37,55,0 warp #031-1_37_55 0,0,020-1,106,55
+031-1,76,24,0 warp #031-1_76_24 0,0,031-3,212,299
+031-1,90,115,0 warp #031-1_90_115 0,0,031-2,73,29
diff --git a/npc/031-1/angelaOutside.txt b/npc/031-1/angelaOutside.txt
new file mode 100755
index 00000000..92bb502a
--- /dev/null
+++ b/npc/031-1/angelaOutside.txt
@@ -0,0 +1,138 @@
+
+031-1,81,24,0 script Debug#Angela NPC195,{
+ mes "Current state: " + QL_CINDY;
+ mes "---";
+ mes "Available states:";
+ mes "0 - can not do the quest.";
+ mes "5 - does not have the quest.";
+ mes "6 - got the quest.";
+ mes "1 - can go rescue cindy.";
+ mes "2 - rescued cindy.";
+ mes "3 - got reward from cindy.";
+ mes "4 - got reward from angela.";
+ menu
+ "set state", L_Set,
+ "close", L_close;
+
+L_Set:
+ input @state;
+ if(@state < 0 || @state > 6) set @state, 0;
+ QL_CINDY = @state;
+ goto L_close;
+
+L_close:
+ close;
+
+OnInit:
+ if (!debug) disablenpc strnpcinfo(0);
+ end;
+}
+
+031-1,79,24,0 script Angela NPC195,15,15,{
+ if (QL_CINDY == 3) goto L_Please_Visit_Again;
+ if (QL_CINDY > 1 && QL_CINDY < 5) goto L_Please_Visit;
+ if (QL_CINDY == 1) goto L_Please_Help;
+
+ mes "[Angela]";
+ mes "\"Please, I need help! My little daughter!\"";
+ next;
+ mes "\"It's terrible, oh my dear child!\"";
+ next;
+ if (countitem("ConcentrationPotion") > 0 && BaseLevel >= .minlevel && QL_CINDY == 6)
+ goto L_Menu_Potion;
+
+ menu
+ "\"Please calm down and tell me what happened.\"", L_Whining,
+ "Leave", L_close;
+
+OnTouch:
+ if(BaseLevel >= .minlevel && QL_CINDY < 1)
+ QL_CINDY = 5;
+ end;
+
+L_Whining:
+ mes "[Angela]";
+ mes "\"My poor little daughter, please! Oh no, oh no...\"";
+ next;
+ mes "\"We need to do something! My poor little Cindy! My cute little girl!\"";
+ next;
+ mes "\"It's so terrible, how could that happen? Please, I need help, it's so terrible.\"";
+ next;
+ mes "\"Those awful filthy monsters - terrible!\"";
+ next;
+ mes "\"Oh Cindy, my little Cindy - oh no...\"";
+ next;
+ mes "\"Please help, we need to do something!\"";
+ next;
+ mes "\"It's so terrible, my poor cute little Cindy...\"";
+ next;
+ mes "\"Oh, when I think what might happen to her right now!\"";
+ next;
+ mes "She is crying and sobbing.";
+ next;
+ mes "It seems she is too upset to tell you anything helpful. If she would just calm down and concentrate a bit...";
+ if(BaseLevel >= .minlevel) goto L_GetQuest;
+ goto L_close;
+
+L_GetQuest:
+ next;
+ QL_CINDY = 6;
+ mes "Perhaps you could give her something to help concentrate ?";
+ goto L_close;
+
+L_Menu_Potion:
+ menu
+ "\"Please calm down and tell me what happened.\"", L_Whining,
+ "Give her a concentration potion.", L_Calm_Down,
+ "Leave", L_close;
+
+L_Calm_Down:
+ if (countitem("ConcentrationPotion") == 0)
+ goto L_No_Potion;
+ delitem "ConcentrationPotion", 1;
+ mes "She drinks the concentration potions and calms down.";
+ mes "[Angela]";
+ mes "\"Thank you, this was helpful.\"";
+ next;
+ mes "\"My daughter Cindy and I were on our way to Santa, to bring him some presents. Many people here in Nivalis are helping Santa with his business.\"";
+ next;
+ mes "\"When we passed the entrance of this cave, a pack of Yetis came out of there. It's disturbing, because usually they are very shy.\"";
+ next;
+ mes "\"We tried to run away, but there were too many of them. They took my poor little Cindy and all the presents with them.\"";
+ next;
+ mes "\"Oh my poor little girl. I'm so worried - what might they do with her? Oh no!\"";
+ next;
+ mes "\"You look like an adventurer! Please, can you go in that cave and rescue my little Cindy? I beg you for help!\"";
+ QL_CINDY = 1;
+ goto L_close;
+
+L_No_Potion:
+ mes "You don't have a concentration potion.";
+ goto L_close;
+
+L_Please_Help:
+ mes "[Angela]";
+ mes "\"Please go in that cave and rescue my daughter!\"";
+ goto L_close;
+
+L_Please_Visit:
+ mes "[Angela]";
+ mes "\"Thank you so much for rescuing my beloved Cindy. Please come to visit us in our house at the beach.\"";
+ next;
+ mes "\"My husband is an adventurer like you, and I want to give you something he got on his travels to show my gratitude.\"";
+ goto L_close;
+
+L_Please_Visit_Again:
+ mes "[Angela]";
+ mes "\"Hello! You are welcome to visit us in our house at the beach everytime. Cindy loves to see you!\"";
+ next;
+ mes "\"If you have found any present boxes the Yetis took away, please bring them to our house. Usually, the Yetis are very shy... their behavior is a bit odd.\"";
+ goto L_close;
+
+L_close:
+ close;
+
+OnInit:
+ .minlevel = 70;
+ end;
+}
diff --git a/npc/031-1/dock.txt b/npc/031-1/dock.txt
new file mode 100755
index 00000000..a976a87d
--- /dev/null
+++ b/npc/031-1/dock.txt
@@ -0,0 +1,40 @@
+
+031-1,110,108,0 script Nivalis Koga NPC395,12,2,{
+ callfunc "BoardFerry";
+ end;
+
+OnTouch:
+ addtimer get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnBoard";
+ end;
+
+OnBoard:
+ callfunc "BoardFerry";
+ end;
+}
+
+031-1,99,109,0 script Nivalis Dock NPC400,2,1,{
+ @npc_distance = 3;
+ callfunc "PCtoNPCRange";
+ if(@npc_check) end;
+ callfunc "BoardFerry";
+ end;
+}
+
+031-1,100,100,0 script #NivalisDock NPC32767,{
+ end;
+
+OnCommandArrive:
+ disablenpc "Nivalis Dock";
+ enablenpc "Nivalis Koga";
+ areatimer 0, "031-1", 97, 108, 108, 110, get(.warp_delay, "#FerryConfig"), strnpcinfo(0)+"::OnAreaWarp"; // warp players on dock
+ end;
+
+OnAreaWarp:
+ callfunc "BoardFerry";
+ end;
+
+OnCommandWarp:
+ disablenpc "Nivalis Koga";
+ enablenpc "Nivalis Dock";
+ end;
+}
diff --git a/npc/031-1/frozenbeard.txt b/npc/031-1/frozenbeard.txt
new file mode 100755
index 00000000..4b380d79
--- /dev/null
+++ b/npc/031-1/frozenbeard.txt
@@ -0,0 +1,22 @@
+
+031-1,96,113,0 script Frozenbeard NPC138,{
+
+ mes "[Frozenbeard]";
+ mes "\"Yar! Do you need something, matey?\"";
+ goto L_Main;
+
+L_Main:
+ menu
+ "Can you explain the Ferry?", L_Explain,
+ "Nothing I guess", L_close;
+
+L_Explain:
+ mes "[Frozenbeard]";
+ mes "\"Arrr mate! I pioneered the trade routes between Nivalis and the rest of the World, so now merchants and adventurers can travel to and fro without any hassle other than the harsh weather up here, yarr.\"";
+ next;
+ callfunc "FerryHelp";
+ goto L_Main;
+
+L_close:
+ close;
+}
diff --git a/npc/031-1/house.txt b/npc/031-1/house.txt
new file mode 100755
index 00000000..690d6da0
--- /dev/null
+++ b/npc/031-1/house.txt
@@ -0,0 +1,11 @@
+
+031-1,95,80,0 script #Door NPC45,0,0,{
+ if (QL_CINDY == 3 || QL_CINDY == 4)
+ goto L_Warp;
+ message strcharinfo(0), "Door : ##BThe door is locked.";
+ end;
+
+L_Warp:
+ warp "031-2", 23, 28;
+ end;
+}
diff --git a/npc/031-1/mapflags.txt b/npc/031-1/mapflags.txt
new file mode 100755
index 00000000..99b0507c
--- /dev/null
+++ b/npc/031-1/mapflags.txt
@@ -0,0 +1 @@
+//031-1 mapflag resave 020-1,52,118