summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-11-18 18:35:09 -0200
committerJesusaves <cpntb1@ymail.com>2018-11-18 18:35:09 -0200
commitbb61095a407c07714756d1253e40e0566ff30af7 (patch)
tree910eeb0ac27f8bc582328ea0acc7e99015b0994b
parentdab093bc97684c1954baa3e09a81f341d3799589 (diff)
downloadserverdata-bb61095a407c07714756d1253e40e0566ff30af7.tar.gz
serverdata-bb61095a407c07714756d1253e40e0566ff30af7.tar.bz2
serverdata-bb61095a407c07714756d1253e40e0566ff30af7.tar.xz
serverdata-bb61095a407c07714756d1253e40e0566ff30af7.zip
More refactor to Dustman about CoD. Allows it to enter Quest Log.
Client Data update required. Boss Cave required. Trade Shop required. Compulsory Circular map required. Scripts and monsters required.
-rw-r--r--npc/018-2-1/dustman.txt24
1 files changed, 17 insertions, 7 deletions
diff --git a/npc/018-2-1/dustman.txt b/npc/018-2-1/dustman.txt
index 745cf7b89..e361768b2 100644
--- a/npc/018-2-1/dustman.txt
+++ b/npc/018-2-1/dustman.txt
@@ -36,16 +36,26 @@
L_COD:
mes "";
- mesn;
- mesq l("Hey, do you know the ##BCall Of Dusty##b event?");
- next;
+ if (.@cod < 1) {
+ mesn;
+ mesq l("Hey, do you know the ##BCall Of Dusty##b event?");
+ next;
+ setq LoFQuest_COD, 1;
+ }
mesn;
mesq l("Just @@ ago, thiefs stole Pihro & Pyndragon weapons.", FuzzyTime(1542570030));
next;
- mesn;
- mesq l("Pyndragon said he'll do a @@ to however reduces them to dust. Interested?", getitemlink(Dustynator)); // BottledDust, Dustynator
- mesc l("Note: Dustynator is a high level weapon. You might not have enough level to use it yet.");
- next;
+ if (.@cod < 2) {
+ mesn;
+ mesq l("Pyndragon said he'll do a @@ to however reduces them to dust. Interested?", getitemlink(Dustynator)); // BottledDust, Dustynator
+ mesc l("Note: Dustynator is a high level weapon. You might not have enough level to use it yet.");
+ next;
+ } else {
+ mesn;
+ mesq l("Well, you already got the Dustynator, but you might want to collect more @@. They keep coming back, after all.", getitemlink(BottledDust));
+ mesc l("Note: Killing enemies there with the Dustynator grants more dusty in a bottle.");
+ next;
+ }
if (askyesno() == ASK_YES) {
mes "";
mesn;