From 6da4f9d728f5cb1bf4db103cab375671c39985a0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 21 Jun 2019 17:41:08 -0300 Subject: Tulimshar City Map, given by Nard automatically, and referenced on Swezanne. Many questions about “where's the fishing rod” and “where's Silvia”, let's make things simple. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/re/item_db.conf | 14 ++++++++++++++ npc/002-3/nard.txt | 2 ++ npc/003-1/swezanne.txt | 1 + npc/items/maps.txt | 17 +++++++++++++++++ npc/scripts.conf | 1 + 5 files changed, 35 insertions(+) create mode 100644 npc/items/maps.txt diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 7e644219c..2f6477764 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -3269,6 +3269,20 @@ item_db: ( doevent "inc_sc_bonus::OnUse"; "> }, +{ + Id: 684 + AegisName: "TulimMap" + Name: "Tulimshar Map" + Type: "IT_USABLE" + Buy: 9 + Sell: 4 + Weight: 6 + KeepAfterUse: true + Refine: false + Script: <" + callfunc "wmap", "Tulim"; + "> +}, // Mounts (690 to 699, probably there will be extra IDs) { diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index bdb6d7c1d..aaec6ce3d 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -195,11 +195,13 @@ L_NotYet: close; } if (Zeny >= .@price) { + inventoryplace TulimMap, 1; mesq l("Ten, fifty, thousand... Yep, this is the amount I've asked for."); next; setq General_Narrator, 1; Zeny = Zeny-.@price; LOCATION$="Tulim"; + getitem TulimMap, 1; mesq l("Set sail! We're going to Tulimshar!"); next; showavatar; diff --git a/npc/003-1/swezanne.txt b/npc/003-1/swezanne.txt index d201f62b0..ea25b0062 100644 --- a/npc/003-1/swezanne.txt +++ b/npc/003-1/swezanne.txt @@ -101,6 +101,7 @@ L_SilviaAccept: mes ""; mesn; mesq l("Oh, thank you! My daughter means a lot to me."); + mesc l("Silvia is in Noble District of Tulimshar."); setq TulimsharQuest_Swezanne, 4; close; diff --git a/npc/items/maps.txt b/npc/items/maps.txt new file mode 100644 index 000000000..cb9b418d6 --- /dev/null +++ b/npc/items/maps.txt @@ -0,0 +1,17 @@ +// TMW2 Script. +// Authors: +// Jesusalva +// Description: +// World Map Items + +function script wmap { + .@loc$=getarg(0, LOCATION$); + setnpcdialogtitle l("World Map - @@", l(.@loc$)); + setskin "map_"+.@loc$; + mes "Please keep your ManaPlus updated."; + select("Ok"); + setskin ""; + closeclientdialog; + return; +} + diff --git a/npc/scripts.conf b/npc/scripts.conf index 7ed1e911b..2187ee5fe 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -73,6 +73,7 @@ "npc/items/emptybox.txt", "npc/items/grenade.txt", "npc/items/lofteleporter.txt", +"npc/items/maps.txt", "npc/items/mercenary.txt", "npc/items/shovel.txt", "npc/items/teleporter.txt", -- cgit v1.2.3-70-g09d2