diff options
-rw-r--r-- | db/re/item_db.conf | 14 | ||||
-rw-r--r-- | npc/002-3/nard.txt | 2 | ||||
-rw-r--r-- | npc/003-1/swezanne.txt | 1 | ||||
-rw-r--r-- | npc/items/maps.txt | 17 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
5 files changed, 35 insertions, 0 deletions
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", |