summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2019-01-06 15:04:17 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-06 15:04:17 -0200
commit86b5662c582b48da1b2bd8a8df4b63f89df96603 (patch)
treed2f81c1f0c961a4405d30c480e8141dee0afcfc0
parent8e4cb3b79400f112de462b4b8ede7c3486e5cab5 (diff)
downloadserverdata-86b5662c582b48da1b2bd8a8df4b63f89df96603.tar.gz
serverdata-86b5662c582b48da1b2bd8a8df4b63f89df96603.tar.bz2
serverdata-86b5662c582b48da1b2bd8a8df4b63f89df96603.tar.xz
serverdata-86b5662c582b48da1b2bd8a8df4b63f89df96603.zip
Woody Quest (initial version)
-rw-r--r--db/quest_db.conf4
-rw-r--r--db/re/mob_db.conf1
-rw-r--r--maps/re/003-0-1.mcachebin220 -> 220 bytes
-rw-r--r--maps/re/014-2.mcachebin1991 -> 1989 bytes
-rw-r--r--maps/re/017-2-1.mcachebin522 -> 523 bytes
-rw-r--r--npc/014-2-1/_import.txt1
-rw-r--r--npc/014-2-1/woody.txt134
-rw-r--r--npc/014-2/_import.txt1
-rw-r--r--npc/014-2/woodywife.txt197
9 files changed, 338 insertions, 0 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index 209237288..8b174f400 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -262,6 +262,10 @@ quest_db: (
Id: 99
Name: "HurnscaldQuest_BloodDonor"
},
+{
+ Id: 100
+ Name: "HurnscaldQuest_Woody"
+},
// ID 111 to 130: Nivalis Quests
{
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index 093b5c0d4..5f6ec74e8 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -6807,6 +6807,7 @@ mob_db: (
MauveHerb: 1500
CobaltHerb: 1500
GambogeHerb: 1500
+ SquirrelPelt: 145
IronPowder: 95
Amethyst: 2
}
diff --git a/maps/re/003-0-1.mcache b/maps/re/003-0-1.mcache
index 57a732c1e..4eba6370b 100644
--- a/maps/re/003-0-1.mcache
+++ b/maps/re/003-0-1.mcache
Binary files differ
diff --git a/maps/re/014-2.mcache b/maps/re/014-2.mcache
index 52e041f65..d3b37e990 100644
--- a/maps/re/014-2.mcache
+++ b/maps/re/014-2.mcache
Binary files differ
diff --git a/maps/re/017-2-1.mcache b/maps/re/017-2-1.mcache
index a548d912c..f75ff33d2 100644
--- a/maps/re/017-2-1.mcache
+++ b/maps/re/017-2-1.mcache
Binary files differ
diff --git a/npc/014-2-1/_import.txt b/npc/014-2-1/_import.txt
index 9bf2c2f08..a6f5cc1de 100644
--- a/npc/014-2-1/_import.txt
+++ b/npc/014-2-1/_import.txt
@@ -1,3 +1,4 @@
// Map 014-2-1: Woody House
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/014-2-1/_warps.txt",
+"npc/014-2-1/woody.txt",
diff --git a/npc/014-2-1/woody.txt b/npc/014-2-1/woody.txt
new file mode 100644
index 000000000..8bb5713ca
--- /dev/null
+++ b/npc/014-2-1/woody.txt
@@ -0,0 +1,134 @@
+// TMW2 Script
+// Author:
+// Saulc
+// Jesusalva
+// Description:
+// Woody, is the oldest player of TMW2, he diserve his own npc :d an old trapper who give help to new player to craft Squirrel boots
+// id:100 HurnscaldQuest_Woody
+// <2 - See his wife
+// 3 - Access to House
+// 4 - Quest Accepted
+// 5 - Quest Complete
+
+014-2-1,37,43,4 script Woody NPC_PLAYER,{
+ .@Woo = getq(HurnscaldQuest_Woody);
+ if (BaseLevel < 26) goto L_TooWeak;
+ if (.@Woo == 4) goto L_Check;
+ if (.@Woo == 5) goto L_Complete;
+
+L_GiveTask:
+ mesn;
+ mesq l("Hi, I'm Woody!");
+ next;
+ mesq l("Do you need something in particular?");
+ next;
+
+ menu
+ l("To be honest, I don't know. Your wife just allowed me to pass the door!"), L_Quit,
+ l("As I know, you're kind of hunter crafter, Right?"), L_Quest,
+ l("Sorry, It's not place for me."), L_Quit;
+
+
+L_Quest:
+ mes "";
+ mesn;
+ mesq l("Ah yes... I make fine @@...", getitemlink(SquirrelBoots));
+ next;
+ mesn;
+ mesq l("If you bring me some items, I can make some for you!");
+ next;
+
+ menu
+ l("Really? What do you need?"), L_Start,
+ l("Better do this some other time..."), L_Quit;
+
+
+L_Start:
+ setq HurnscaldQuest_Woody, 4;
+ mes "";
+ mesn;
+ mesq l("Ok, what I need is:");
+ goto L_List;
+
+L_Quit:
+ mes "";
+ mesn;
+ mesq l("Alright.");
+ close;
+
+L_List:
+ mes "";
+ mesn;
+ mes l("Here's what I need:");
+ mes l("@@/50 @@", countitem(SquirrelPelt), getitemlink(SquirrelPelt));
+ mes l("@@/10 @@", countitem(CottonCloth), getitemlink(CottonCloth));
+ mes l("@@/1 @@", countitem(Boots), getitemlink(Boots));
+ close;
+
+L_Check:
+ mesn;
+ mesq l("Did you brought me everything I asked for?");
+ mesq l("Remember, I'll make a @@ for you!", getitemlink(SquirrelBoots));
+ next;
+ menu
+ l("Yes!"), L_Give,
+ l("I forgot what you need!"), L_List,
+ l("No!"), L_Quit;
+
+L_Give:
+ if (
+ countitem(Boots) < 1 ||
+ countitem(CottonCloth) < 10 ||
+ countitem(SquirrelPelt) < 50
+ ) goto L_Lying;
+
+ inventoryplace SquirrelBoots, 1;
+
+ delitem(Boots, 1);
+ delitem(CottonCloth, 10);
+ delitem(SquirrelPelt, 50);
+
+ getitem(SquirrelBoots, 1);
+ getexp(1000, 20);
+ setq(HurnscaldQuest_Woody, 5);
+
+ mes "";
+ mesn;
+ mesq l("Here, all yours. Ah, if I still could walk... I would hunt those annoying squirrels myself!");
+ close;
+
+L_Complete:
+ mesn;
+ mesq l("Wandering too much? Take care to don't get lost.");
+ close;
+
+L_Lying:
+ mesn;
+ mesq l("No no no, that's wrong.");
+ next;
+ mesn;
+ mesq l("You don't have everything I've asked for!");
+ next;
+ goto L_List;
+
+L_TooWeak:
+ mesn;
+ mesq l("Hey kid, go play somewhere else, I don't have time! It's soon over!");
+ close;
+
+OnInit:
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADTOP, MinerHat);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, LeatherShirt);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants);
+ setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 4);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 3);
+
+ npcsit;
+ .sex = G_MALE;
+ .distance = 4;
+
+ end;
+}
+
diff --git a/npc/014-2/_import.txt b/npc/014-2/_import.txt
index 8b726ece0..06d0056e7 100644
--- a/npc/014-2/_import.txt
+++ b/npc/014-2/_import.txt
@@ -3,3 +3,4 @@
"npc/014-2/_mobs.txt",
"npc/014-2/_warps.txt",
"npc/014-2/mouboo.txt",
+"npc/014-2/woodywife.txt",
diff --git a/npc/014-2/woodywife.txt b/npc/014-2/woodywife.txt
new file mode 100644
index 000000000..0459f7f2f
--- /dev/null
+++ b/npc/014-2/woodywife.txt
@@ -0,0 +1,197 @@
+// TMW2 Script
+// Author:
+// Saulc
+// Jesusalva
+// Description:
+// Woody wife in old shaman girl. She kept house entrance from years.
+// id:100 HurnscaldQuest_Woody
+// 0 - Not aware of the quest
+// 1 - Know about winter
+// 2 - Quest Acepted
+// 3 - Quest Complete
+// 4+ - see woody
+
+014-2,104,31,0 script Woody Wife NPC_RAIJIN_FEMALE_WAITRESS,{
+ .@quest = getq(HurnscaldQuest_Woody);
+ if (BaseLevel < 25) goto L_TooWeak;
+ if (.@quest == 1) goto L_Start;
+ if (.@quest == 2) goto L_Check;
+ if (.@quest == 3) goto L_Complete;
+
+L_GiveTask:
+ mesn;
+ mesq lg("Hello, new wanderer!");
+ next;
+ mesq l("Be careful to don't get lost in this forest.");
+ next;
+
+ menu
+ l("Hey do not take me as a child."), L_Quit,
+ l("Hello, I'm looking for bandit hoods!"), L_Hood,
+ l("Hey! I want to enter in this house!"), L_Force,
+ l("Hello, who are you?"), L_Quest,
+ l("I don't have time sorry."), L_Quit;
+
+
+L_Quest:
+ mes "";
+ mesn;
+ mesq l("I'm Woody Wife, I live here with Woody since a lot of years! We decided to leave away from civilization, hunter and shaman life is way better.");
+ next;
+ mesn;
+ mesq l("But now, we are quite old, I remember the time when I was your age. My generation don't do stupid things like yours!");
+ next;
+
+ menu
+ l("Isn't hard to live alone?"), L_Start,
+ l("Where is Woody?"), L_Woody,
+ l("Ok grandma CYA!"), L_Quit;
+
+
+L_Start:
+ setq HurnscaldQuest_Woody, 1;
+ mes "";
+ mesn;
+ mesq l("No, we do this during our whole life, And we survive!");
+ next;
+ mesn;
+ mesq l("My shaman skill protect us, against monsters and thiefs!");
+ next;
+
+ menu
+ l("Hey if you want I can do some physical work for you!"), L_Ask,
+ l("Can you teach me a basic shaman skill? please?"), L_Skill,
+ l("Oh no! I will miss my bus! Gotta go!"), L_Quit;
+
+L_Ask:
+ setq HurnscaldQuest_Woody2, 2;
+ mes "";
+ mesn;
+ mesq l("Oh yeah some work are really painful, especially for my back, and I cant bother Woody to do it, he have so many difficulties to move.");
+ next;
+ mesn;
+ if (season() != WINTER)
+ mesq l("I need you to bring me some basic item to face Winter! Fire is most important for us.");
+ else
+ mesq l("Winter this year is being really harsh! Fire is most important for us.");
+ next;
+ goto L_List;
+
+L_Quit:
+ mes "";
+ mesn;
+ mesq l("Alright.");
+ close;
+
+L_List:
+ mes "";
+ mesn;
+ mes l("Could be nice if you could bring me this:");
+ mes l("@@/40 @@", countitem(RawLog), getitemlink(RawLog));
+ mes l("@@/5 @@", countitem(Coal), getitemlink(Coal));
+ close;
+
+L_Check:
+ mesn;
+ mesq l("Hey,did you brought me everything I asked for?");
+ next;
+ menu
+ l("Yes! It is heavy."), L_Give,
+ l("humm... Sorry, I forgot what you need!"), L_List,
+ l("I don't have them, actually."), L_Quit;
+
+L_Give:
+ if (
+ countitem(RawLog) < 40 ||
+ countitem(Coal) < 5
+ ) goto L_Nope;
+
+ inventoryplace RedApple, 3;
+
+ delitem(RawLog, 40);
+ delitem(Coal, 5);
+
+ getitem(RedApple, 3);
+ getexp(2500, 50);
+ setq(HurnscaldQuest_Woody, 3);
+
+ mes "";
+ mesn;
+ mesq l("Thank you, We are now friends, You can visit us when you want!");
+ close;
+
+L_Complete:
+ mesn;
+ mesq l("Wandering too much? Take care to don't get lost.");
+ close;
+
+L_Woody:
+ mesn;
+ mesq l("Woody is inside, he probably craft some stuff with animals pelts.");
+ next;
+ close:
+
+L_Hood:
+ mesn;
+ mesq l("You search for Bandit hoods.");
+ next;
+ mesn;
+ mesq l("You could found some bandit in Bandit cave. Yeah this name isen't give for nothing.");
+ next;
+ mesn;
+ mesq l("To go there you need to go left, follow rock wall and go up when you can, entrance of Bandit cave is at left side of waterfall.");
+ next;
+ close;
+
+L_Force:
+ mesn;
+ mesq l("Stranger and monsters aren't allowed to enter in MY house!");
+ next;
+ mesn;
+ mesq l("Anyway, my herb mixture keep monsters away.");
+ next;
+ close;
+
+L_Skill:
+ mesn;
+ //mesq l("I don't know if jesusalva allow me to teach you a basic chaman skill!? .");
+ // I don't, but a monster repellent would be nice. Does such skill exist/work?
+ mesq l("Well, I know a mixture to keep monsters away. I just can't share it with you now.");
+ next;
+ mesn;
+ mesq l("You see, it need certain special items... Oh, just blame Jesusalva for this one.");
+ next;
+ close;
+
+L_Nope:
+ mesn;
+ mesc l("humm... You don't have everything I've asked for!");
+ next;
+ mesn;
+ mesq l("Can you come back with all the items I asked for? Please.");
+ next;
+ goto L_List;
+
+L_TooWeak:
+ mesn;
+ mesq l("You should not be there! This forest is home to monsters.");
+ close;
+
+OnInit:
+ .sex = G_FEMALE;
+ .distance = 4;
+ end;
+}
+
+014-2,103,29,0 script Woody Barrier NPC_HIDDEN,0,0,{
+ end;
+
+OnTouch:
+ .@q=getq(HurnscaldQuest_Woody);
+ if (.@q >= 3)
+ warp "014-2-1", 33, 44;
+ else
+ npctalk3 l("The door is locked, you should speak to Woody's Wife about it.");
+ end;
+}
+