Skip to content

Commit

Permalink
fix: protobuf ITEM_CATEGORY (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
kokekanon authored Oct 29, 2024
1 parent 130d909 commit f563cda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/game_cyclopedia/tab/items/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,6 @@ function Cyclopedia.applyFilters()
end

function Cyclopedia.internalCreateItem(data)
-- temp fix 13.40
if data:getId() > 47381 and data:getId() < 80909 then
return
end

local player = g_game.getLocalPlayer()
local vocation = player:getVocation()
local level = player:getLevel()
Expand Down
6 changes: 6 additions & 0 deletions src/protobuf/appearances.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ enum ITEM_CATEGORY {
ITEM_CATEGORY_PREMIUM_SCROLLS = 22;
ITEM_CATEGORY_TIBIA_COINS = 23;
ITEM_CATEGORY_CREATURE_PRODUCTS = 24;
ITEM_CATEGORY_QUIVER = 25;
ITEM_CATEGORY_TWOHANDWEAPON = 26;
ITEM_CATEGORY_HELMETS = 27;
ITEM_CATEGORY_BACKPACK = 28;
ITEM_CATEGORY_ONEHANDWEAPON = 29;
ITEM_CATEGORY_ARROW = 30;
}

enum PLAYER_PROFESSION {
Expand Down

0 comments on commit f563cda

Please sign in to comment.