Anonymous

Module:Skills/Gathering: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 706: Line 706:
local category = GameData.getEntityByName(SkillData.Farming.categories, categoryName)
local category = GameData.getEntityByName(SkillData.Farming.categories, categoryName)
if category == nil then
if category == nil then
return Shared.printError('Invalid farming category. Please choose Allotments, Herbs, or Trees')
return Shared.printError('Invalid farming category. Please choose Allotments, Herbs, Trees or Special')
end
end
local seedList = GameData.getEntities(SkillData.Farming.recipes,
local seedList = GameData.getEntities(SkillData.Farming.recipes,
Line 733: Line 733:
:tag('th'):wikitext('Healing')
:tag('th'):wikitext('Healing')
:tag('th'):wikitext('Produce<br>Value')
:tag('th'):wikitext('Produce<br>Value')
elseif category.id == 'melvorD:Herb' then
else
html:tag('th'):attr("colspan", 2):wikitext("Produce")
:tag('th'):wikitext('Produce<br>Value')
elseif category.id == 'melvorD:Tree' then
html:tag('th'):attr("colspan", 2):wikitext("Produce")
html:tag('th'):attr("colspan", 2):wikitext("Produce")
:tag('th'):wikitext('Produce<br>Value')
:tag('th'):wikitext('Produce<br>Value')
2,875

edits