summaryrefslogtreecommitdiff
path: root/npc/020-7-2/connor.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-22 10:43:08 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-22 10:43:08 -0300
commit2364cd41b9422d27f80ba64129818aa77095fe83 (patch)
treebc3996ca4ecb66c6ac7bd52be8c7f37b698ec5e9 /npc/020-7-2/connor.txt
parent5cd797d7e89b1e320cd37e385ca20bb7d8d7920a (diff)
downloadserverdata-2364cd41b9422d27f80ba64129818aa77095fe83.tar.gz
serverdata-2364cd41b9422d27f80ba64129818aa77095fe83.tar.bz2
serverdata-2364cd41b9422d27f80ba64129818aa77095fe83.tar.xz
serverdata-2364cd41b9422d27f80ba64129818aa77095fe83.zip
Add the NPCs on Blue Sage Basement. You can now make 2 Coal daily for 15 logs.
Diffstat (limited to 'npc/020-7-2/connor.txt')
-rw-r--r--npc/020-7-2/connor.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/npc/020-7-2/connor.txt b/npc/020-7-2/connor.txt
index 536d2b3cb..4108790e8 100644
--- a/npc/020-7-2/connor.txt
+++ b/npc/020-7-2/connor.txt
@@ -5,5 +5,39 @@
// Description:
// Makes Raw Coal to fool the Blue Sage
+020-7-2,72,23,0 script Connor NPC_LOF_FURNACE,{
+ .@l=CONNOR_LASTDAY;
+ .@t=gettimeparam(GETTIME_DAYOFMONTH);
+ mesn;
+ mesq l("Meh, the Blue Sage is truly extravagant. We take @@ for the simplest things as keeping the house warm.", getitemlink(Coal));
+ next;
+ mesn;
+ mesq l("But @@ is too valious, you can only forge with it! So it sells well, about @@ GP.", getitemlink(Coal), getiteminfo(Coal, ITEMINFO_SELLPRICE));
+ if (.@t == .@l)
+ close;
+ next;
+ mesn;
+ mesq l("Well, I could burn 15 @@ to make Raw Coal and the Blue Sage would be none the wiser.", getitemlink(RawLog));
+ next;
+ mesn;
+ mesq l("I can even share with you a couple of @@, whatddaya say?", getitemlink(Coal)); // ie. what do ya say
+ if (countitem(RawLog) < 15)
+ close;
+ if (askyesno() == ASK_YES) {
+ inventoryplace Coal, 2;
+ delitem RawLog, 15;
+ getitem Coal, 2;
+ CONNOR_LASTDAY=.@t;
+ getexp getiteminfo(Coal, ITEMINFO_SELLPRICE)+BaseLevel+JobLevel, 15;
+ mes "";
+ mesn;
+ mesq l("Thanks, pal. See you tomorrow.");
+ }
+ close;
+OnInit:
+ .sex=G_MALE;
+ .distance=5;
+ end;
+}