Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
_getCreationTable: Correct base quantity & experience for Farming
(Use printError function)
(_getCreationTable: Correct base quantity & experience for Farming)
Line 58: Line 58:
if localSkillID == 'Farming' then
if localSkillID == 'Farming' then
req = { recipe.seedCost }
req = { recipe.seedCost }
local category = GameData.getEntityByID(skillData.categories, recipe.categoryID)
qty = 5 * category.harvestMultiplier
if category.scaleXPWithQuantity then
xp = xp * qty
end
end
end
-- Action time
-- Action time