From 605c55c8537435ce798fc51068701349549c4bb9 Mon Sep 17 00:00:00 2001 From: Reid Date: Mon, 30 May 2016 04:43:09 +0200 Subject: Add an early script template for oscar. --- npc/001-2-12/oscar.txt | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/npc/001-2-12/oscar.txt b/npc/001-2-12/oscar.txt index ce9762c5..0de73c2b 100644 --- a/npc/001-2-12/oscar.txt +++ b/npc/001-2-12/oscar.txt @@ -2,9 +2,31 @@ // Authors: // Reid // Description: -// Dye seller, she sells and explain how works dye cards. +// Old man living in the rich hill, can bleach clothes. 001-2-12,38,30,0 script Oscar#001-2-12 NPC_OSCAR,{ + + .@hour = gettime(GETTIME_HOUR); + speech 4, (.@hour > 6 && .@hour < 18) ? l("Good day to you.") : lg("Good night milady.", "Good evening sir."); + + do + { + menuint + l("Could you bleach my clothes?"), 1, + l(menuaction(l("Quit"))), 2; + + switch (@menuret) + { + case 1: + speech 5, l("Oh my..."); + break; + case 2: + speech 5, l("I wish you a good time in town."); + break; + } + + } while (@menuret != 2); + closedialog; goodbye; close; -- cgit v1.2.3-60-g2f50