summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-18 13:28:30 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-18 23:09:19 +0100
commitf839402e850cedb79202d43b958d02804fea47e0 (patch)
treec8786c87e8ed9bc14d8542c6e32092f8ff9b5406 /world/map/npc
parent42d8cb2989c5a31f89af839fa7fb876e2865aed2 (diff)
downloadserverdata-f839402e850cedb79202d43b958d02804fea47e0.tar.gz
serverdata-f839402e850cedb79202d43b958d02804fea47e0.tar.bz2
serverdata-f839402e850cedb79202d43b958d02804fea47e0.tar.xz
serverdata-f839402e850cedb79202d43b958d02804fea47e0.zip
Added a brown hair color
Requires related client-data patch to be pushed first. Reviewed-by: Jenalya
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/functions/barber.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/world/map/npc/functions/barber.txt b/world/map/npc/functions/barber.txt
index 09282106..cfd60c0f 100644
--- a/world/map/npc/functions/barber.txt
+++ b/world/map/npc/functions/barber.txt
@@ -85,6 +85,7 @@ L_Color:
"Dark purple", -,
"Black", -,
"Pink", -,
+ "Brown", -,
"Surprise me", L_RandomColor,
"Nah, I'm fine", L_Done;
@@ -95,7 +96,7 @@ L_Color:
goto L_Done;
L_RandomColor:
- setlook LOOK_HAIR_COLOR, rand(12);
+ setlook LOOK_HAIR_COLOR, rand(13);
goto L_Done;
L_SameColor:
@@ -121,6 +122,7 @@ function|script|OnInitBarber|{
"Fizzy", "Bald";
setarray $@HairColors$,
"Brunette", "Green", "Dark red", "Light purple", "Gray", "Blonde",
- "Teal", "Light red", "Blue", "Dark purple", "Black", "Pink";
+ "Teal", "Light red", "Blue", "Dark purple", "Black", "Pink",
+ "Brown";
return;
}