Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new "soul cores" market category #3092

Merged
merged 1 commit into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading