diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-16 01:12:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-16 01:12:41 -0300 |
commit | bf736124b65dde540c9065be12f6faa89fba2ca3 (patch) | |
tree | 577d1e8071d30f511fe5bdf31bada7c01dfa9d86 /npc/024-10 | |
parent | fdfe72f2707634323226f8097dc1060f511eba1b (diff) | |
download | serverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.tar.gz serverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.tar.bz2 serverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.tar.xz serverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.zip |
Frostia Town is now working.
Diffstat (limited to 'npc/024-10')
-rw-r--r-- | npc/024-10/_import.txt | 1 | ||||
-rw-r--r-- | npc/024-10/haircut.txt | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/npc/024-10/_import.txt b/npc/024-10/_import.txt index 6340503e7..185060717 100644 --- a/npc/024-10/_import.txt +++ b/npc/024-10/_import.txt @@ -1,3 +1,4 @@ // Map 024-10: Frostia Indoors // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/024-10/_warps.txt", +"npc/024-10/haircut.txt", diff --git a/npc/024-10/haircut.txt b/npc/024-10/haircut.txt new file mode 100644 index 000000000..a7d931146 --- /dev/null +++ b/npc/024-10/haircut.txt @@ -0,0 +1,66 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Haircut. + +024-10,27,30,0 script Cato Mil NPC_ELVEN_FEMALE_ARMOR_SHOP,{ + function setRace { + clear; + setnpcdialogtitle l("Debug - Modify Race"); + mes l("Race") + ": " + $@allraces$[Class]; + next; + mes l("Please select the desired race."); + select("Human:Ukar:Redy:Elf:Orc:Raijin:Tritan"); + jobchange max(0, @menu-1); + return; + } + + + mesn; + mesq l("Hi! Do you want a hair cut?"); + + do + { + select + l("What is my current hairstyle and hair color?"), + l("I'd like to get a different style."), + l("Can you do something with my color?"), + rif(is_staff(), l("I am a GM, and I want to change my Race!")), + l("I'm fine for now, thank you."); + + switch (@menu) + { + case 1: + BarberSayStyle 3; + break; + case 2: + BarberChangeStyle; + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("Enjoy your new style."); + l("Anything else?"); + break; + case 3: + BarberChangeColor; + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("I hope you like this color."); + l("Anything else?"); + break; + case 4: + setRace; + break; + case 5: + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("Feel free to come visit me another time."); + + goodbye; + } + } while (1); + close; + +OnInit: + .sex = G_FEMALE; + .distance = 5; + end; +} + |