From c13f503a7a49410c410eb85fe5922b307c836aaf Mon Sep 17 00:00:00 2001 From: Reid Date: Fri, 5 Aug 2016 06:18:34 +0200 Subject: Add 001-2-41 (Edouard's house) and improve the barber system. --- npc/001-2-29/_import.txt | 1 - npc/001-2-29/edouard.txt | 77 ------------------------------------------------ 2 files changed, 78 deletions(-) delete mode 100644 npc/001-2-29/edouard.txt (limited to 'npc/001-2-29') diff --git a/npc/001-2-29/_import.txt b/npc/001-2-29/_import.txt index 576e384f..6c0280cc 100644 --- a/npc/001-2-29/_import.txt +++ b/npc/001-2-29/_import.txt @@ -1,5 +1,4 @@ // Map 001-2-29: Artis, Red Plush Inn, First Floor npc: npc/001-2-29/_warps.txt -npc: npc/001-2-29/edouard.txt npc: npc/001-2-29/mapflags.txt npc: npc/001-2-29/savepoint.txt diff --git a/npc/001-2-29/edouard.txt b/npc/001-2-29/edouard.txt deleted file mode 100644 index 2cd948df..00000000 --- a/npc/001-2-29/edouard.txt +++ /dev/null @@ -1,77 +0,0 @@ -// Evol scripts. -// Authors: -// Reid -// Travolta -// Description: -// Barber of Aemil, should be placed on the 29th indoor but it's still a WIP - -001-2-29,37,31,0 script Edouard#001-2-29 NPC_EDOUARD,{ - - function tellStory { - if (Edouard_StoryTold != 0) - { - mes ""; - mesn; - } - speech 12, - l("I am new in this town, just like you are."), - l("I came here, looking for a better life."), - l("I still didn't find a cheap building to open my own business, so for now I will stay in this inn."), - l("I'm a barber, you see. I can change your hair style or color to your liking."); - - Edouard_StoryTold = 1; - - return; - } - - speech 4, - lg("Hello, young lady.", "Hello, young man."); - - if (Edouard_StoryTold == 0) - tellStory; - - speech 12, - l("What would you like me to do?"); - - do - { - menuint - l("What is my current hairstyle and hair color?"), 1, - l("I'd like to get a different style."), 2, - l("Can you do something with my color?"), 3, - l("What's your story again?"), 4, - l("I'm fine for now, thank you."), 5; - - switch (@menuret) - { - case 1: - BarberSayStyle 3; - break; - case 2: - BarberChangeStyle; - speech 5, - l("Enjoy your new style."); - l("Anything else?"); - break; - case 3: - BarberChangeColor; - speech 5, - l("I hope you like this color."); - l("Anything else?"); - break; - case 4: - tellStory; - break; - case 5: - speech 5, - l("Feel free to come visit me another time."); - - goodbye; - } - } while (1); - -OnInit: - .sex = G_MALE; - .distance = 2; - end; -} -- cgit v1.2.3-70-g09d2