diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-09-07 23:11:28 +0300 |
---|---|---|
committer | Joseph Botosh <rumly111@gmail.com> | 2015-09-07 23:12:21 +0300 |
commit | aa9e8007503427c97dd8af6eaecb3c795176a2fe (patch) | |
tree | 7364810238cd4f2445eb2625232fe3d869c33726 /npc/functions/barber.txt | |
parent | 792f444e67134f6b828ebeecf1ffa40b13d3f72d (diff) | |
download | serverdata-aa9e8007503427c97dd8af6eaecb3c795176a2fe.tar.gz serverdata-aa9e8007503427c97dd8af6eaecb3c795176a2fe.tar.bz2 serverdata-aa9e8007503427c97dd8af6eaecb3c795176a2fe.tar.xz serverdata-aa9e8007503427c97dd8af6eaecb3c795176a2fe.zip |
split Barber function into 2
Diffstat (limited to 'npc/functions/barber.txt')
-rw-r--r-- | npc/functions/barber.txt | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/npc/functions/barber.txt b/npc/functions/barber.txt index db92a1c8..6dd308fb 100644 --- a/npc/functions/barber.txt +++ b/npc/functions/barber.txt @@ -1,18 +1,12 @@ // Evol scripts. // Authors: // Reid +// Travolta // Description: // Function for supporting barber NPC. -function script Barber { - menu - l("I'd like to get a different style."), L_Style, - l("Can you do something with my color?"), L_Color, - l("Hmm, I'm fine for now, thank you."), L_Done; - - goto L_Done; +function script BarberChangeStyle { -L_Style: menu l("Bald"), -, l("Bowl cut"), -, @@ -45,13 +39,15 @@ L_Style: l("As you want!"), -, l("Hmm, I'm fine for now, thank you."), L_Done; -L_Process_Style: set @style, @menu; if (@style == 29) set @style, rand(28); setlook 1, @style; +L_Done: return; +} + +function script BarberChangeColor { -L_Color: menu l("Off black"), -, l("Ash brown"), -, @@ -76,11 +72,10 @@ L_Color: l("Esperia Blue"), -, l("Surprise me"), -, l("Hmm, I'm fine for now, thank you."), L_Done; + set @color, @menu - 1; if (@color == 21) set @color, rand(20); setlook 6, @color; - return; - L_Done: return; } |