diff options
author | Jared Adams <jaxad0127@gmail.com> | 2008-11-02 22:45:17 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2008-11-02 22:45:17 +0000 |
commit | ec9be0a2967b38955d26e337b05bc3a042ac4544 (patch) | |
tree | e1ef509c78c8a3fe777b4adb0f4c650364fa55cb /npc/functions/barber.txt | |
parent | 2fd04617279829d54349b325bacb4c72addebfe4 (diff) | |
download | serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.tar.gz serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.tar.bz2 serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.tar.xz serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.zip |
Branch data for eAthena
Diffstat (limited to 'npc/functions/barber.txt')
-rw-r--r-- | npc/functions/barber.txt | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/npc/functions/barber.txt b/npc/functions/barber.txt new file mode 100644 index 00000000..0edaab73 --- /dev/null +++ b/npc/functions/barber.txt @@ -0,0 +1,66 @@ +// + +function script Barber { + menu + "Change my style", L_Style, + "Change my color", L_Color, + "Nah, I'm fine", L_Done; + +L_Style: + if (Sex == 0) goto L_Style_Female; + +L_Style_Male: + menu + "Bald", -, + "Ponytail", -, + "Bowl cut", -, + "Combed back", -, + "Emo", -, + "Mohawk", -, + "Pompadour", -, + "Center parting", -, + "Supprise me", -, + "Nah, I'm fine", close; + goto L_Process_Style; + +L_Style_Female: + menu + "Bald", -, + "Long and slick", -, + "Short and curly", -, + "Ponytail", -, + "Pigtails", -, + "Long and curly", -, + "Parted", -, + "Short and slick", -, + "Supprise me", -, + "Nah, I'm fine", L_Done; + +L_Process_Style: + set @style, @menu - 1; + if (@style == 8) set @style, rand(8); + setlook 1, @style; + return; + +L_Color: + menu + "Brunette", -, + "Green", -, + "Dark red", -, + "Light purple", -, + "Gray", -, + "Blonde", -, + "Teal", -, + "Light red", -, + "Blue", -, + "Dark purple", -, + "Supprise me", -, + "Nah, I'm fine", L_Done; + set @color, @menu - 1; + if (@color == 10) set @color, rand(10); + setlook 6, @color; + return; + +L_Done: + return; +} |