From b738d907f959b5628a62ee4ee8aab37d9b35f931 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 15 Jun 2021 21:16:32 -0300 Subject: Correct hair style listing --- npc/functions/headstyles.txt | 13 ++++++------- npc/items/mirror.txt | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/npc/functions/headstyles.txt b/npc/functions/headstyles.txt index 7adea282..c56eb900 100644 --- a/npc/functions/headstyles.txt +++ b/npc/functions/headstyles.txt @@ -29,13 +29,12 @@ L_RandomHair: end; OnInit: - setarray $@hairstyle$[0], "(none)", "Bald", "Bowl cut", "Combed back", - "Emo", "Mohawk", "Pompadour", "Center parting", "Long and slick", - "Short and curly", "Pigtails", "Long and curly", "Parted", - "Perky ponytail", "Wave", "Mane", "Bun", "Wavy", "Bunches", - "Long ponytail", "Infinitely long", "Choppy", "Wild", "Punk", - "Imperial", "Side strand", "Messy", "Flat ponytail", - "Tapered Nape"; + setarray $@hairstyle$[0], "(none)", "Bald", "Flat Ponytail", "Bowl Cut", // 3 + "Combed back", "Emo", "Mohawk", "Pompadour", "Center parting", // 8 + "Long and Slick", "Short and Curly", "Pigtails", "Long and Curly", // 12 + "Parted", "Perky Ponytail", "Wave", "Mane", "Bun", // 17 + "Shoulder Length and Flick", "Fizzy", "Long and Clopped", "Bunches", // 21 + "Long Ponytail", "Indefinitely long"; setarray $@haircolor$[0], "Light Brown", "Green", "Red", "Purple", "Gray", "Yellow", "Blue", diff --git a/npc/items/mirror.txt b/npc/items/mirror.txt index db673011..5cebed68 100644 --- a/npc/items/mirror.txt +++ b/npc/items/mirror.txt @@ -3,7 +3,7 @@ function script useMirror { L_Rand: .@mirror_rnd = .@mirror_rnd + 1; - @style = rand2(1,getarraysize($@hairstyle$)-1); + @style = rand2(1, getarraysize($@hairstyle$)-1); @color = rand2(getarraysize($@haircolor$)); if (((getlook(LOOK_HAIR_STYLE) == @style) || (getlook(LOOK_HAIR_COLOR) == @color)) && -- cgit v1.2.3-60-g2f50