From 76e114c9f25f2d988db294d3c2d50026ddc591d1 Mon Sep 17 00:00:00 2001 From: Lotus Date: Sat, 22 Mar 2025 04:08:05 -0700 Subject: [PATCH] [Handbook]: Add Skins, Jobs, Genders. Remove a few invalid "Pet" entries. (#285) #patch * removed a few per entries that aren't in game, added Skin, Job, and Gender to handbook * adjusted skin color + added to enum for db saves * change skin names based on character creator's names for them. --- handbook/Cash.txt | 2 - handbook/Equip/Skin.txt | 9 ++++ handbook/Gender.txt | 2 + handbook/Job.txt | 70 +++++++++++++++++++++++++++++ handbook/Pet.txt | 3 -- src/main/java/client/Character.java | 2 +- src/main/java/client/SkinColor.java | 9 ++-- 7 files changed, 87 insertions(+), 10 deletions(-) create mode 100644 handbook/Equip/Skin.txt create mode 100644 handbook/Gender.txt create mode 100644 handbook/Job.txt diff --git a/handbook/Cash.txt b/handbook/Cash.txt index 47f7583827..3598965ca0 100644 --- a/handbook/Cash.txt +++ b/handbook/Cash.txt @@ -480,9 +480,7 @@ 5590000 - High-Five Stamp - Can equip items that are 5 levels above your current level. 5021026 - Gift Box Throwing Stars - A gift box that can be freely thrown around. Using the #cThrowing Star# will create an orbital effect.\n\nThis item cannot be deleted. 5010073 - Miss Popular - Well, lookie here. Someone�s certainly become popular with the guys. Turn this effect on and off by assigning it to a shortcut key from the keyboard settings menu. - 5010074 - Mr. Popular - Well, lookie here. Someone�s certainly become popular with the girls. Turn this effect on and off by assigning it to a shortcut key from the keyboard settings menu. - 5240027 - Golden Drumstick - A drumstick that can be consumed only by #cBaby Tiger#. It recovers hunger and #cincreases Closeness by 100.# 5390005 - Cute Tiger Messenger - Shout to everyone in the world your character is on with this megaphone. Now available with your avatar on the top of everyone's screen! Comes with a tiger background for your avatar. 5390006 - Roaring Tiger Messenger - Shout to everyone in the world your character is on with this megaphone. Now available with your avatar on the top of everyone's screen! Comes with a screen shaked. diff --git a/handbook/Equip/Skin.txt b/handbook/Equip/Skin.txt new file mode 100644 index 0000000000..a1f80c8ec5 --- /dev/null +++ b/handbook/Equip/Skin.txt @@ -0,0 +1,9 @@ +0 - Light - (no description) +1 - Tanned - (no description) +2 - Dark - (no description) +3 - Pale - (no description) +4 - Blue - (no description) +5 - Green - (no description) +9 - White - (no description) +10 - Pink - (no description) +11 - Brown - (no description) \ No newline at end of file diff --git a/handbook/Gender.txt b/handbook/Gender.txt new file mode 100644 index 0000000000..f6f7b4be7d --- /dev/null +++ b/handbook/Gender.txt @@ -0,0 +1,2 @@ +0 - Male - (no description) +1 - Female - (no description) \ No newline at end of file diff --git a/handbook/Job.txt b/handbook/Job.txt new file mode 100644 index 0000000000..19399f0407 --- /dev/null +++ b/handbook/Job.txt @@ -0,0 +1,70 @@ +0 - Beginner - (no description) +100 - Warrior - (no description) +110 - Fighter - (no description) +111 - Crusader - (no description) +112 - Hero - (no description) +120 - Page - (no description) +121 - White Knight - (no description) +122 - Paladin - (no description) +130 - Spearman - (no description) +131 - Dragon Knight - (no description) +132 - Dark Knight - (no description) +200 - Magician - (no description) +210 - Fp Wizard - (no description) +211 - Fp Mage - (no description) +212 - Fp Archmage - (no description) +220 - Il Wizard - (no description) +221 - Il Mage - (no description) +222 - Il Archmage - (no description) +230 - Cleric - (no description) +231 - Priest - (no description) +232 - Bishop - (no description) +300 - Bowman - (no description) +310 - Hunter - (no description) +311 - Ranger - (no description) +312 - Bow Master - (no description) +320 - Crossbowman - (no description) +321 - Sniper - (no description) +322 - Crossbow Master - (no description) +400 - Thief - (no description) +410 - Assassin - (no description) +411 - Hermit - (no description) +412 - Night Lord - (no description) +420 - Bandit - (no description) +421 - Chief Bandit - (no description) +422 - Shadower - (no description) +500 - Pirate - (no description) +510 - Brawler - (no description) +511 - Marauder - (no description) +512 - Buccaneer - (no description) +520 - Gunslinger - (no description) +521 - Outlaw - (no description) +522 - Corsair - (no description) +800 - Maple Leaf Brigadier - (no description) +900 - Gm - (no description) +910 - Super Gm - (no description) +1000 - Noblesse - (no description) +1100 - Dawn Warrior 1 - (no description) +1110 - Dawn Warrior 2 - (no description) +1111 - Dawn Warrior 3 - (no description) +1200 - Blaze Wizard 1 - (no description) +1210 - Blaze Wizard 2 - (no description) +1211 - Blaze Wizard 3 - (no description) +1212 - Blaze Wizard 4 - (no description) +1300 - Wind Archer 1 - (no description) +1310 - Wind Archer 2 - (no description) +1311 - Wind Archer 3 - (no description) +1312 - Wind Archer 4 - (no description) +1400 - Night Walker 1 - (no description) +1410 - Night Walker 2 - (no description) +1411 - Night Walker 3 - (no description) +1412 - Night Walker 4 - (no description) +1500 - Thunder Breaker 1 - (no description) +1510 - Thunder Breaker 2 - (no description) +1511 - Thunder Breaker 3 - (no description) +1512 - Thunder Breaker 4 - (no description) +2000 - Legend - (no description) +2100 - Aran 1 - (no description) +2110 - Aran 2 - (no description) +2111 - Aran 3 - (no description) +2112 - Aran 4 - (no description) diff --git a/handbook/Pet.txt b/handbook/Pet.txt index ee5e9915a3..fb44272bd2 100644 --- a/handbook/Pet.txt +++ b/handbook/Pet.txt @@ -36,10 +36,7 @@ 5000044 - Orange tiger - They are very gentle and obedient in nature, easily becoming friendly with the owner, which in turn speeds up the level-up process. 5000045 - Skunk - Calm and quiet by nature, the easy-going, eccentric Skunk has a rather humorous and pompous outlook on life, the finer things are what it enjoys. 5000026 - Sun Wu Kong - Sun Wu Kong ran out of Tang Shan Zhang. He is lazy and moody but can be changed with love. -5000040 - ??? ?? - ??? ??? ??? ??? ???????. ??? ????? ??? ?????, ??? ? ?? ??? ??? ???? ??? ?? ????. \n#c??: ?? ??, ??? ??, ??? ?? ???&?? ??, ?? ??, ???? ??, MP ????# 5000042 - Kino - A happy-go-lucky, orange mushroom that loves shiny stones. -5000043 - ???? - ??? ????, ?? ??? ??? ???????. ??? ?? ? ????, ??? ??? ???? ??? ?? ????. \n#c??: ????, ?????# -5000046 - ?? - ???? ?? ?? ???? ???? ??? ???????. \n#c??:????, ?????# 5000047 - Robo - A special egg that becomes a mythical Robo upon hatching. 5000048 - Baby Robo - A Baby Robo hatched out of the special Capsule. At Level 15, the pet can be evolved into a full-fledged Adult Robo with the help of Garnox the NPC using the Rock of Evolution. 5000049 - Blue Robo - Mysterious magical powers aligned and sucessfully evolved the Baby Robo into a Blue Robo! diff --git a/src/main/java/client/Character.java b/src/main/java/client/Character.java index 8a17639625..9a83c22f46 100644 --- a/src/main/java/client/Character.java +++ b/src/main/java/client/Character.java @@ -267,7 +267,7 @@ public class Character extends AbstractCharacterObject { private final Pet[] pets = new Pet[3]; private PlayerShop playerShop = null; private Shop shop = null; - private SkinColor skinColor = SkinColor.NORMAL; + private SkinColor skinColor = SkinColor.LIGHT; private Storage storage = null; private Trade trade = null; private MonsterBook monsterbook; diff --git a/src/main/java/client/SkinColor.java b/src/main/java/client/SkinColor.java index 9c16ad0cc7..07f9d59b65 100644 --- a/src/main/java/client/SkinColor.java +++ b/src/main/java/client/SkinColor.java @@ -22,14 +22,15 @@ package client; public enum SkinColor { - NORMAL(0), - DARK(1), - BLACK(2), + LIGHT(0), + TANNED(1), + DARK(2), PALE(3), BLUE(4), GREEN(5), WHITE(9), - PINK(10); + PINK(10), + BROWN(11); final int id;