diff options
Diffstat (limited to 'npc/020-7-2/connor.txt')
-rw-r--r-- | npc/020-7-2/connor.txt | 34 |
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; +} |