// 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 change?"); do { menuint l("I'd like to get a different style."), 1, l("Can you do something with my color?"), 2, l("What's your story again?"), 3, l("Hmm, I'm fine for now, thank you."), 4; switch (@menuret) { case 1: BarberChangeStyle; speech 5, l("Enjoy your new style."); break; case 2: BarberChangeColor; speech 5, l("I hope you like this color."); break; case 3: tellStory; break; case 4: speech 5, l("Feel free to come visit me another time."); goodbye; } } while (1); OnInit: .sex = G_MALE; .distance = 2; end; }