diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-11-18 18:32:17 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-11-18 18:32:17 -0200 |
commit | dab093bc97684c1954baa3e09a81f341d3799589 (patch) | |
tree | dc91780c5d30c993ebeba1c9d73e3cd49bcbdc09 | |
parent | 20ff15cd2c6a2e8a88fffd97ff3124a1786cedfb (diff) | |
download | serverdata-dab093bc97684c1954baa3e09a81f341d3799589.tar.gz serverdata-dab093bc97684c1954baa3e09a81f341d3799589.tar.bz2 serverdata-dab093bc97684c1954baa3e09a81f341d3799589.tar.xz serverdata-dab093bc97684c1954baa3e09a81f341d3799589.zip |
Reorder Dustman Dialog, because he works with two quest-events
-rw-r--r-- | db/quest_db.conf | 4 | ||||
-rw-r--r-- | npc/018-2-1/dustman.txt | 20 |
2 files changed, 21 insertions, 3 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf index 14a2cfd6b..b78e51973 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -302,6 +302,10 @@ quest_db: ( Id: 275 Name: "LoFQuest_COD" }, +{ + Id: 276 + Name: "LoFQuest_HH" +}, // ID 300 to 320: Seasonal/Annual/Monthly quests { diff --git a/npc/018-2-1/dustman.txt b/npc/018-2-1/dustman.txt index 1332650cf..745cf7b89 100644 --- a/npc/018-2-1/dustman.txt +++ b/npc/018-2-1/dustman.txt @@ -6,10 +6,23 @@ // Void NPC 018-2-1,22,29,0 script Colonel DUSTMAN NPC_CRUSADER,{ - .@q=getq(LoFQuest_COD); - if (.@q == 0 && BaseLevel > 50) goto L_COD; + .@cod=getq(LoFQuest_COD); + .@hh=getq(LoFQuest_HH); mesn; - mesq l("My man went down and still haven't returned."); + mesq l("Hello adventurer. Are you interested in the Heroes Hold, or in the Call Of Dusty?"); + next; + select + l("Heroes Hold"), + l("Call Of Dusty"), + l("Neither, sorry"); + if (@menu == 3) + close; + else if (@menu == 2) + goto L_COD; + + mes ""; + mesn; + mesq l("Well, my men went down and still haven't returned."); next; mesn; mesq l("I'm worried with them. Anyway, you need a special scroll to get to the Heroes Cave..."); @@ -22,6 +35,7 @@ close; L_COD: + mes ""; mesn; mesq l("Hey, do you know the ##BCall Of Dusty##b event?"); next; |