Anonymous

Module:Items/SourceTables/Sandbox: Difference between revisions

From Melvor Idle
m
no edit summary
(Add Harvesting item chance data; Change common FM products' input to 'Any Melvor Logs' instead of '1 Normal Logs'; Cleanup some stuff)
mNo edit summary
Line 180: Line 180:


if Shared.contains({ 'melvorD:Generous_Fire_Spirit', 'melvorD:Coal_Ore', 'melvorTotH:Charcoal' }, itemID) then
if Shared.contains({ 'melvorD:Generous_Fire_Spirit', 'melvorD:Coal_Ore', 'melvorTotH:Charcoal' }, itemID) then
costs = 'Any {{Icon|Woodcutting|Melvor Logs|img=Melvor Realm|ext=svg|section=Logs}}'
costs = 'Any ' .. Icons.Icon({ 'Woodcutting', 'Melvor Logs', img='Melvor Logo', section='Logs' })
else
else
local costItem = Items.getItemByID(recipe.logID)
local costItem = Items.getItemByID(recipe.logID)