Module:Items/SourceTables: Difference between revisions

_getCreationTable: Amend to show XP harvested per quantity for Farming
(_getItemSources: Link specifically to Alt. Magic for general rares)
(_getCreationTable: Amend to show XP harvested per quantity for Farming)
Line 63: Line 63:
local category = GameData.getEntityByID(skillData.categories, recipe.categoryID)
local category = GameData.getEntityByID(skillData.categories, recipe.categoryID)
qty = 5 * category.harvestMultiplier
qty = 5 * category.harvestMultiplier
if category.scaleXPWithQuantity then
xp = xp * qty
end
end
end
-- Action time
-- Action time