Anonymous

Module:Navboxes: Difference between revisions

From Melvor Idle
getFoodNavbox: Exclude unobtainable item
(getSkillcapeNavbox: Add superior capes)
(getFoodNavbox: Exclude unobtainable item)
Line 63: Line 63:
function p.getFoodNavbox(frame)
function p.getFoodNavbox(frame)
local foundIDs, cookedFood, harvestedFood, otherFood = {}, {}, {}, {}
local foundIDs, cookedFood, harvestedFood, otherFood = {}, {}, {}, {}
 
-- Exclude unobtainable lemonade
foundIDs['melvorTotH:Lemonade_Full'] = true
-- Cooked food
-- Cooked food
for i, recipe in ipairs(SkillData.Cooking.recipes) do
for i, recipe in ipairs(SkillData.Cooking.recipes) do