Anonymous

Module:Skills/Artisan: Difference between revisions

From Melvor Idle
Added override for specifically Bird Nest Potion to fix a typo in the code
(Created getHerblorePotionTable)
(Added override for specifically Bird Nest Potion to fix a typo in the code)
Line 64: Line 64:
     end
     end
     result = result..'\r\n|-'
     result = result..'\r\n|-'
     result = result..'\r\n|rowspan="4"|[['..potion.name..']]'
     if potion.name == 'Bird Nests Potion' then
      result = result..'\r\n|rowspan="4"|[[Bird Nest Potion]]'
    else
      result = result..'\r\n|rowspan="4"|[['..potion.name..']]'
    end
     result = result..'||rowspan="4" style="text-align:right"|'..potion.herbloreLevel
     result = result..'||rowspan="4" style="text-align:right"|'..potion.herbloreLevel
     result = result..'||rowspan="4" style="text-align:right"|'..potion.herbloreXP
     result = result..'||rowspan="4" style="text-align:right"|'..potion.herbloreXP