From f9417d5dbd32e14eeac30074c9e3a488aaef0891 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 19 Jun 2021 22:52:29 -0300 Subject: Fix a few typos or minor/major bugs and document --- db/constants.conf | 1 + db/pre-re/job_db.conf | 8 ++++++++ db/pre-re/skill_tree.conf | 4 ++++ npc/functions/barber.txt | 9 ++++++--- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/db/constants.conf b/db/constants.conf index e61fa468..a51297ad 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -2898,6 +2898,7 @@ more than one separator can be used in a row (so 12_3___456 is illegal). comment__: "races" Talpan: 0 //Unused: 1 + NoRace: 1 Tritan: 2 Ifriton: 3 Gispaan: 4 diff --git a/db/pre-re/job_db.conf b/db/pre-re/job_db.conf index 98524555..85f34f26 100644 --- a/db/pre-re/job_db.conf +++ b/db/pre-re/job_db.conf @@ -101,12 +101,20 @@ Talpan: { 292, 294, 296, 298, 300, 302, 304, 306, 308, 310] // 141 - 150 } +NoRace: { + BaseExpGroup: "EvolClasses" + JobExpGroup: "EvolClasses" + MoveSpeed: 150 + Inherit: ( "Talpan" ); +} + Tritan: { BaseExpGroup: "EvolClasses" JobExpGroup: "EvolClasses" MoveSpeed: 150 Inherit: ( "Talpan" ); } + Ifriton: { BaseExpGroup: "EvolClasses" JobExpGroup: "EvolClasses" diff --git a/db/pre-re/skill_tree.conf b/db/pre-re/skill_tree.conf index 69ef3502..2435f7d7 100644 --- a/db/pre-re/skill_tree.conf +++ b/db/pre-re/skill_tree.conf @@ -108,6 +108,10 @@ Talpan: { } } +NoRace: { + inherit: ( "Talpan" ); +} + Tritan: { inherit: ( "Talpan" ); } 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 -- cgit v1.2.3-60-g2f50