summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2014-10-29 13:49:39 -0400
committermekolat <mekolat@gmail.com>2014-10-29 13:49:39 -0400
commit3eb89bb0c12e22745b192f02a48cf7e28f7e279e (patch)
tree82c7def687202afbdf1d3269d6bf348054491210
parent9d713f3187973768c6b1ba4fbf0c7bb68eb25137 (diff)
downloadserverdata-3eb89bb0c12e22745b192f02a48cf7e28f7e279e.tar.gz
serverdata-3eb89bb0c12e22745b192f02a48cf7e28f7e279e.tar.bz2
serverdata-3eb89bb0c12e22745b192f02a48cf7e28f7e279e.tar.xz
serverdata-3eb89bb0c12e22745b192f02a48cf7e28f7e279e.zip
double the indentation
-rw-r--r--world/map/npc/functions/headstyles.txt54
1 files changed, 27 insertions, 27 deletions
diff --git a/world/map/npc/functions/headstyles.txt b/world/map/npc/functions/headstyles.txt
index 91ed2cfe..4648ede4 100644
--- a/world/map/npc/functions/headstyles.txt
+++ b/world/map/npc/functions/headstyles.txt
@@ -13,34 +13,34 @@ function|script|getHeadStyles|,
set @loop, 0;
goto L_LoopValid;
- L_Janitor:
- set @BaldStyle, getarraysize(@HairStyles$); // we set it as a variable because we use it with the barber
- if(getlook(LOOK_HAIR_STYLE) < 1) setlook LOOK_HAIR_STYLE, @BaldStyle; // the last head of any race has no hair/fins/whatever
- return;
+L_Janitor:
+ set @BaldStyle, getarraysize(@HairStyles$); // we set it as a variable because we use it with the barber
+ if(getlook(LOOK_HAIR_STYLE) < 1) setlook LOOK_HAIR_STYLE, @BaldStyle; // the last head of any race has no hair/fins/whatever
+ return;
- L_LoopValid: // here we fix non-existant classes
- if(@ValidClasses[@loop] == Class) goto L_ValidClass;
- set @loop, (@loop + 1);
- if(@loop >= getarraysize(@ValidClasses)) goto L_FixClass;
- goto L_LoopValid;
+L_LoopValid: // here we fix non-existant classes
+ if(@ValidClasses[@loop] == Class) goto L_ValidClass;
+ set @loop, (@loop + 1);
+ if(@loop >= getarraysize(@ValidClasses)) goto L_FixClass;
+ goto L_LoopValid;
- L_FixClass:
- set Class, @BaseClass;
- goto L_ValidClass;
+L_FixClass:
+ set Class, @BaseClass;
+ goto L_ValidClass;
- L_ValidClass:
- if(Class == 1)
- setarray @HairStyles$, // TALPONIAN (human)
- "Flat ponytail", "Bowl cut", "Combed back", "Emo", "Mohawk",
- "Pompadour", "Center parting/Short and slick", "Long and slick",
- "Short and curly", "Pigtails", "Long and curly", "Parted",
- "Perky ponytail", "Wave", "Mane", "Bun", "Shoulder Length Flick",
- "Fizzy", "Long and Clipped", "Bald";
- if(Class == 1)
- setarray @HairColors$, // TALPONIAN (human)
- "Brunette", "Green", "Dark red", "Light purple", "Gray", "Blonde",
- "Teal", "Light red", "Blue", "Dark purple", "Black", "Pink",
- "Brown";//, "(free slot)", "(free slot)";
- // adding a new species is as simple as adding another if(Class == X) and adding the class to @ValidClasses
- goto L_Janitor;
+L_ValidClass:
+ if(Class == 1)
+ setarray @HairStyles$, // TALPONIAN (human)
+ "Flat ponytail", "Bowl cut", "Combed back", "Emo", "Mohawk",
+ "Pompadour", "Center parting/Short and slick", "Long and slick",
+ "Short and curly", "Pigtails", "Long and curly", "Parted",
+ "Perky ponytail", "Wave", "Mane", "Bun", "Shoulder Length Flick",
+ "Fizzy", "Long and Clipped", "Bald";
+ if(Class == 1)
+ setarray @HairColors$, // TALPONIAN (human)
+ "Brunette", "Green", "Dark red", "Light purple", "Gray", "Blonde",
+ "Teal", "Light red", "Blue", "Dark purple", "Black", "Pink",
+ "Brown";//, "(free slot)", "(free slot)";
+ // adding a new species is as simple as adding another if(Class == X) and adding the class to @ValidClasses
+ goto L_Janitor;
}