Skip to content

Commit

Permalink
feat: add new "soul cores" market category (#3092)
Browse files Browse the repository at this point in the history
New category from 13.40
Uses with: Arch-Mina/Assets-Editor#36
  • Loading branch information
dudantas authored Nov 9, 2024
1 parent 0b30b48 commit 030f3c3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
53 changes: 27 additions & 26 deletions src/items/items_definitions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,34 +140,35 @@ enum ItemGroup_t {
enum ItemTypes_t {
ITEM_TYPE_NONE,

// Odered to make the cast from protobuf::itemCategory to ItemTypes_t easier.
// Ordered to make the cast from protobuf::itemCategory to ItemTypes_t easier.
// Do not edit it from Start-End
// Start
ITEM_TYPE_ARMOR,
ITEM_TYPE_AMULET,
ITEM_TYPE_BOOTS,
ITEM_TYPE_CONTAINER,
ITEM_TYPE_DECORATION,
ITEM_TYPE_FOOD,
ITEM_TYPE_HELMET,
ITEM_TYPE_LEGS,
ITEM_TYPE_OTHER,
ITEM_TYPE_POTION,
ITEM_TYPE_RING,
ITEM_TYPE_RUNE,
ITEM_TYPE_SHIELD,
ITEM_TYPE_TOOLS,
ITEM_TYPE_VALUABLE,
ITEM_TYPE_AMMO,
ITEM_TYPE_AXE,
ITEM_TYPE_CLUB,
ITEM_TYPE_DISTANCE,
ITEM_TYPE_SWORD,
ITEM_TYPE_WAND,
ITEM_TYPE_PREMIUMSCROLL,
ITEM_TYPE_TIBIACOIN,
ITEM_TYPE_CREATUREPRODUCT,
ITEM_TYPE_QUIVER,
ITEM_TYPE_ARMOR = 1,
ITEM_TYPE_AMULET = 2,
ITEM_TYPE_BOOTS = 3,
ITEM_TYPE_CONTAINER = 4,
ITEM_TYPE_DECORATION = 5,
ITEM_TYPE_FOOD = 6,
ITEM_TYPE_HELMET = 7,
ITEM_TYPE_LEGS = 8,
ITEM_TYPE_OTHER = 9,
ITEM_TYPE_POTION = 10,
ITEM_TYPE_RING = 11,
ITEM_TYPE_RUNE = 12,
ITEM_TYPE_SHIELD = 13,
ITEM_TYPE_TOOLS = 14,
ITEM_TYPE_VALUABLE = 15,
ITEM_TYPE_AMMO = 16,
ITEM_TYPE_AXE = 17,
ITEM_TYPE_CLUB = 18,
ITEM_TYPE_DISTANCE = 19,
ITEM_TYPE_SWORD = 20,
ITEM_TYPE_WAND = 21,
ITEM_TYPE_PREMIUMSCROLL = 22,
ITEM_TYPE_TIBIACOIN = 23,
ITEM_TYPE_CREATUREPRODUCT = 24,
ITEM_TYPE_QUIVER = 25,
ITEM_TYPE_SOULCORES = 26,
// End

ITEM_TYPE_DEPOT,
Expand Down
1 change: 1 addition & 0 deletions src/protobuf/appearances.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ enum ITEM_CATEGORY {
ITEM_CATEGORY_TIBIA_COINS = 23;
ITEM_CATEGORY_CREATURE_PRODUCTS = 24;
ITEM_CATEGORY_QUIVER = 25;
ITEM_CATEGORY_SOULCORES = 26;
}

enum PLAYER_PROFESSION {
Expand Down

0 comments on commit 030f3c3

Please sign in to comment.