diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-04-02 19:23:26 +0200 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2024-04-03 18:08:01 +0000 |
commit | d0bf55ba0e852ecdc51464937910785757bf2cea (patch) | |
tree | 00dde6bd191d1a11975760e998fa0fdc1508fbc6 | |
parent | a98cf958b0264358c5ea13818458ce8e3a229867 (diff) | |
download | serverdata-d0bf55ba0e852ecdc51464937910785757bf2cea.tar.gz serverdata-d0bf55ba0e852ecdc51464937910785757bf2cea.tar.bz2 serverdata-d0bf55ba0e852ecdc51464937910785757bf2cea.tar.xz serverdata-d0bf55ba0e852ecdc51464937910785757bf2cea.zip |
Announce new style when "Surprise me" is used.
-rw-r--r-- | world/map/npc/functions/barber.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/functions/barber.txt b/world/map/npc/functions/barber.txt index dbc7614b..311bbb85 100644 --- a/world/map/npc/functions/barber.txt +++ b/world/map/npc/functions/barber.txt @@ -138,6 +138,10 @@ L_RandomStyle: if(@randomStyle[0] == @style && @randomStyle[1] < 15) goto L_RandomStyle; setlook LOOK_HAIR_STYLE, @randomStyle[0]; setarray @randomStyle[1], 0; + + set .@style$, @HairStyles$[(@randomStyle[0] - 1)]; + mes "Your new style is " + .@style$; + menu "Surprise me once again", L_RandomStyle, "Go back", L_MainClear, |