diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-15 19:43:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-15 19:43:00 -0300 |
commit | ffd7b573c0d4d0ebd4b3981fb9e867718a5849d1 (patch) | |
tree | dd447bd8d6a336bba4dc4f9473fbf0d6d2cf9beb /npc/025-1/selim.txt | |
parent | 5b399b1e3e5c6927871ee98daa0ff1ee893f0bd1 (diff) | |
download | serverdata-ffd7b573c0d4d0ebd4b3981fb9e867718a5849d1.tar.gz serverdata-ffd7b573c0d4d0ebd4b3981fb9e867718a5849d1.tar.bz2 serverdata-ffd7b573c0d4d0ebd4b3981fb9e867718a5849d1.tar.xz serverdata-ffd7b573c0d4d0ebd4b3981fb9e867718a5849d1.zip |
Fortress Town missing npcs
Diffstat (limited to 'npc/025-1/selim.txt')
-rw-r--r-- | npc/025-1/selim.txt | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/npc/025-1/selim.txt b/npc/025-1/selim.txt new file mode 100644 index 000000000..76fbd9b33 --- /dev/null +++ b/npc/025-1/selim.txt @@ -0,0 +1,81 @@ +// TMW2 scripts. +// Author: +// Jesusalva +// Description: +// Selim is just a barber. No puns this time. + +025-1,101,58,0 script Selim NPC_ELVEN_FEMALE_ARMOR_SHOP,{ + function setRace { + clear; + setnpcdialogtitle l("%s - Modify Race", .name$); + mes l("Race") + ": " + get_race(); + next; + mes l("Please select the desired race."); + select + l("Kaizei Human"), + l("Argaes Human"), + l("Tonori Human"), + l("Elf"), + l("Orc"), + l("Raijin"), + l("Tritan"), + l("Ukar"), + l("Redy"), + l("Savior"); + switch (@menu) + { + default: + 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_gm() || REBIRTH >= 5, l("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; +} + |