From 6d5062790b12e0ed9c082246a47ffe3150441f51 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 10 Sep 2018 19:50:59 -0300 Subject: Well & Miler placeholders --- db/quest_db.conf | 4 ++++ npc/019-1-1/_import.txt | 1 + npc/019-1-1/miler.txt | 18 ++++++++++++++++++ npc/019-1/_import.txt | 1 + npc/019-1/well.txt | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 59 insertions(+) create mode 100644 npc/019-1-1/miler.txt create mode 100644 npc/019-1/well.txt diff --git a/db/quest_db.conf b/db/quest_db.conf index 80f718099..f449c31b9 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -248,6 +248,10 @@ quest_db: ( }, // ID 111 to 130: Nivalis Quests +{ + Id: 111 + Name: "NivalisQuest_Well" +}, // ID 131 to 150: Frostia Quests { Id: 131 diff --git a/npc/019-1-1/_import.txt b/npc/019-1-1/_import.txt index 0dd8ae92d..cb56f2ccc 100644 --- a/npc/019-1-1/_import.txt +++ b/npc/019-1-1/_import.txt @@ -1,3 +1,4 @@ // Map 019-1-1: Miller's House // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/019-1-1/_warps.txt", +"npc/019-1-1/miler.txt", diff --git a/npc/019-1-1/miler.txt b/npc/019-1-1/miler.txt new file mode 100644 index 000000000..3b36bf094 --- /dev/null +++ b/npc/019-1-1/miler.txt @@ -0,0 +1,18 @@ +// TMW2/LOF Script. +// Author: +// Jesusalva +// Description: +// Part from the EPISODE and the Well Quest +// TODO: Walking NPC, clothes, etc; + +019-1-1,41,24,0 script Miler NPC_PLAYER,{ + .@q=getq(LoFQuest_EPISODE); + .@w=getq(NivalisQuest_Well); + mes l("Out of Order."); + close; + +OnInit: + .sex = G_MALE; + .distance = 5; + end; +} diff --git a/npc/019-1/_import.txt b/npc/019-1/_import.txt index b060a47c2..0513ece26 100644 --- a/npc/019-1/_import.txt +++ b/npc/019-1/_import.txt @@ -3,3 +3,4 @@ "npc/019-1/_mobs.txt", "npc/019-1/_warps.txt", "npc/019-1/sign.txt", +"npc/019-1/well.txt", diff --git a/npc/019-1/well.txt b/npc/019-1/well.txt new file mode 100644 index 000000000..ac7c14ee2 --- /dev/null +++ b/npc/019-1/well.txt @@ -0,0 +1,35 @@ +// TMW2/LOF Script. +// Author: +// Jesusalva +// Description: +// Better to skip this quest. It is too poor and would require more work, +// eg. rope and something to make the player take part on it... Probably? +// TODO: We could also throw random stuff (dig script), and use makeitem() to +// make it pop at Terranite Cave, near the lake, suggesting that's where the water +// comes from. + +019-1,110,101,0 script Well#Nivalis NPC_SWORDS_SIGN,{ + mesc l("ERROR, missing sprite: Snowland.Well"), 1; + mesc l("Blame Saulc"), 1; + mesc "-------------------------------------", 1; + + // Begin here + .@q=getq(NivalisQuest_Well); + if (.@q == 2) + goto L_Well; + mes l("Out of Order."); + close; + +L_Well: + mesn strcharinfo(0); + mes l("Well well well, not felling well?"); + mesc "-------------------------------------", 1; + mesc l("ERROR, missing item id: Frozen Water."), 1; + mesc l("Blame Saulc"), 1; + close; + +OnInit: + .sex = G_OTHER; + .distance = 3; + end; +} -- cgit v1.2.3-60-g2f50