From 2ec19715d6823a724f0b0c2cfad7af954ba71480 Mon Sep 17 00:00:00 2001 From: Reid Date: Tue, 16 Feb 2016 04:11:22 +0100 Subject: Add an hidden shop on the INN to sell wine and link it to Jenna. --- npc/001-2-28/_import.txt | 1 + npc/001-2-28/jenna.txt | 5 ++++- npc/001-2-28/shop.txt | 25 +++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 npc/001-2-28/shop.txt (limited to 'npc') diff --git a/npc/001-2-28/_import.txt b/npc/001-2-28/_import.txt index 76611ede..b073268a 100644 --- a/npc/001-2-28/_import.txt +++ b/npc/001-2-28/_import.txt @@ -4,3 +4,4 @@ npc: npc/001-2-28/mapflags.txt npc: npc/001-2-28/jenna.txt npc: npc/001-2-28/plush.txt npc: npc/001-2-28/note.txt +npc: npc/001-2-28/shop.txt diff --git a/npc/001-2-28/jenna.txt b/npc/001-2-28/jenna.txt index 147f5bc3..881fe8bd 100644 --- a/npc/001-2-28/jenna.txt +++ b/npc/001-2-28/jenna.txt @@ -23,7 +23,10 @@ } } - npctalk3 l("Sorry, I'm busy right now."); + speech 4, l("Do you want a drink?"); + + closedialog; + shop "#Invisible001-2-28"; close; OnTimer1000: diff --git a/npc/001-2-28/shop.txt b/npc/001-2-28/shop.txt new file mode 100644 index 00000000..65152e14 --- /dev/null +++ b/npc/001-2-28/shop.txt @@ -0,0 +1,25 @@ +// Evol scripts. +// Author: +// Reid +// 4144 +// Description: +// INN hidden shop. + +001-2-28,53,33,0 trader #Invisible001-2-28 NPC_HIDDEN,{ + +OnInit: + tradertype(NST_MARKET); + + sellitem RedPlushWine, -1, 50; + + .sex = G_OTHER; + .distance = 10; + end; + +OnClock0000: + restoreshopitem RedPlushWine, 20; +OnClock0800: + restoreshopitem RedPlushWine, 20; +OnClock1600: + restoreshopitem RedPlushWine, 20; +} -- cgit v1.2.3-60-g2f50