From 65f4e7c36b341ae278ab79a9aa6dd100bc804294 Mon Sep 17 00:00:00 2001 From: gwetchen Date: Sat, 20 Jan 2024 19:05:29 +0100 Subject: [PATCH] Bump max_item_id to 99999 to include custom items number stolen from pfquest --- core/cache.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cache.lua b/core/cache.lua index 563045c..d306936 100644 --- a/core/cache.lua +++ b/core/cache.lua @@ -5,7 +5,7 @@ local aux = require 'aux' local persistence = require 'aux.util.persistence' local MIN_ITEM_ID = 1 -local MAX_ITEM_ID = 30000 +local MAX_ITEM_ID = 99999 local items_schema = {'tuple', '#', {name='string'}, {quality='number'}, {level='number'}, {class='string'}, {subclass='string'}, {slot='string'}, {max_stack='number'}, {texture='string'}} local merchant_buy_schema = {'tuple', '#', {unit_price='number'}, {limited='boolean'}} @@ -208,4 +208,4 @@ function M.populate_wdb(item_id) AuxTooltip:SetHyperlink('item:' .. item_id) end aux.thread(populate_wdb, item_id + 1) -end \ No newline at end of file +end