diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-15 21:41:09 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-15 21:41:09 -0200 |
commit | 51b909f577264d548ae6a9ba79c7e5ffb58cf54e (patch) | |
tree | eaac6936b62bb7d19c3862b4655138ae5a9ce783 | |
parent | e7a0b58ac382ce07abf9881283aaecddadad738d (diff) | |
download | serverdata-51b909f577264d548ae6a9ba79c7e5ffb58cf54e.tar.gz serverdata-51b909f577264d548ae6a9ba79c7e5ffb58cf54e.tar.bz2 serverdata-51b909f577264d548ae6a9ba79c7e5ffb58cf54e.tar.xz serverdata-51b909f577264d548ae6a9ba79c7e5ffb58cf54e.zip |
Add an easier quest for Wooden Sword on Tulimshar Guard House.
Accompains desert log heads.
-rw-r--r-- | db/quest_db.conf | 4 | ||||
-rw-r--r-- | npc/003-10/_import.txt | 1 | ||||
-rw-r--r-- | npc/003-10/officer.txt | 55 | ||||
-rw-r--r-- | npc/004-2/_mobs.txt | 1 |
4 files changed, 61 insertions, 0 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf index 086fe81b8..6da055f64 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -190,6 +190,10 @@ quest_db: ( Id: 63 Name: "TulimsharQuest_Neko" }, +{ + Id: 64 + Name: "TulimsharQuest_WoodenSword" +}, // ID 71 to 90: Halinarzo Quests { diff --git a/npc/003-10/_import.txt b/npc/003-10/_import.txt index da6668941..d4f08802c 100644 --- a/npc/003-10/_import.txt +++ b/npc/003-10/_import.txt @@ -3,4 +3,5 @@ "npc/003-10/_warps.txt", "npc/003-10/arnea.txt", "npc/003-10/guarddevoir.txt", +"npc/003-10/officer.txt", "npc/003-10/slots.txt", diff --git a/npc/003-10/officer.txt b/npc/003-10/officer.txt new file mode 100644 index 000000000..f997975af --- /dev/null +++ b/npc/003-10/officer.txt @@ -0,0 +1,55 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Wooden Sword quest. Pays back earlier players + +003-10,30,79,4 script Veteran Officer NPC_PLAYER,{ + .@q=getq(TulimsharQuest_WoodenSword); + if (.@q >= 2 || BaseLevel < 18) { + legiontalk; + close; + } + if (.@q == 0) { + mesn; + mesq l("Hey. If you want to kill monsters, you need a good sword. I think, a @@ would be the perfect fit for you.", getitemlink(WoodenSword)); + next; + mesn; + mesq l("I think, for just 30 @@, I could arrange one for you. Eh... Just don't think that you have an amazing weapon, alright?", getitemlink(RawLog)); + next; + mesn; + mesq l("You can kill @@ on the desert. It's a dangerous area though, so take care.", getmonsterlink(DesertLogHead)); + setq TulimsharQuest_WoodenSword, 1; + } else { + mesn; + mesq l("I think, for just 30 @@, I could arrange a @@ for you.", getitemlink(RawLog), getitemlink(WoodenSword)); + } + mes ""; + select + rif(countitem(RawLog) >= 30, l("Here they are!")), + l("Not now..."); + mes ""; + if (@menu == 1) { + delitem RawLog, 30; + getitem WoodenSword, 1; + setq TulimsharQuest_WoodenSword, 2; + mesn; + mesq lg("Here's your sword, novice. Now go kill monsters."); + } + close; + +OnInit: + .@npcId = getnpcid(0, .name$); + setunitdata(.@npcId, UDT_HEADTOP, DesertHelmet); + setunitdata(.@npcId, UDT_HEADMIDDLE, Chainmail); + setunitdata(.@npcId, UDT_HEADBOTTOM, WoodenSword); + setunitdata(.@npcId, UDT_WEAPON, JeansShorts); + setunitdata(.@npcId, UDT_HAIRSTYLE, 2); + setunitdata(.@npcId, UDT_HAIRCOLOR, 4); + + npcsit; + .sex=G_MALE; + .distance=5; + end; +} + diff --git a/npc/004-2/_mobs.txt b/npc/004-2/_mobs.txt index a28f3ed63..99653dd4e 100644 --- a/npc/004-2/_mobs.txt +++ b/npc/004-2/_mobs.txt @@ -9,3 +9,4 @@ 004-2,108,97,4,4 monster Snake 1122,3,35000,150000 004-2,77,51,9,4 monster Snake 1122,2,35000,150000 004-2,67,63,14,11 monster Scorpion 1071,8,35000,150000 +004-2,82,50,27,29 monster Desert Log Head 1127,5,35000,150000 |