summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-19 22:52:29 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-19 22:52:29 -0300
commitf9417d5dbd32e14eeac30074c9e3a488aaef0891 (patch)
tree137cca44b468d0be3bfbff2d21e2898832ccfc86 /npc/functions
parente849023d5565bb747a28e12d787576725467b3fd (diff)
downloadserverdata-f9417d5dbd32e14eeac30074c9e3a488aaef0891.tar.gz
serverdata-f9417d5dbd32e14eeac30074c9e3a488aaef0891.tar.bz2
serverdata-f9417d5dbd32e14eeac30074c9e3a488aaef0891.tar.xz
serverdata-f9417d5dbd32e14eeac30074c9e3a488aaef0891.zip
Fix a few typos or minor/major bugs and document
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/barber.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/functions/barber.txt b/npc/functions/barber.txt
index e8d41a6a..ee1687dc 100644
--- a/npc/functions/barber.txt
+++ b/npc/functions/barber.txt
@@ -112,6 +112,9 @@ function script BarberChangeColor {
return;
}
+// 3 = Abs (Real value is 1)
+// 2 = Boobs (Real value is 0)
+// 1 = Shirt (Real value is 3)
function script BarberChangeBodyType {
mesn l("Note");
mes b(l("Changing your body type will send you back to the character selection screen."));
@@ -119,9 +122,9 @@ function script BarberChangeBodyType {
mes l("Please select the desired body type:");
menuint(
- rif(BodyType == BODYTYPE_1, "► ") + l("Body type %i", 1), BODYTYPE_1,
- rif(BodyType == BODYTYPE_2, "► ") + l("Body type %i", 2), BODYTYPE_2,
- rif(BodyType == BODYTYPE_3, "► ") + l("Body type %i", 3), BODYTYPE_3);
+ rif(BodyType == BODYTYPE_3, "► ") + l("Body type %s", "A"), BODYTYPE_3,
+ rif(BodyType == BODYTYPE_2, "► ") + l("Body type %s", "B"), BODYTYPE_2,
+ rif(BodyType == BODYTYPE_1, "► ") + l("Body type %s", "C"), BODYTYPE_1);
if (BodyType == @menuret) {
return; // don't kick to char selection when not needed