Anonymous

Module:Pets: Difference between revisions

From Melvor Idle
Added link to boss pets from dungeon pet text
(Tweaked formatting on dungeon pet text)
(Added link to boss pets from dungeon pet text)
Line 183: Line 183:
   local pet = p.getPetByID(dung.petID)
   local pet = p.getPetByID(dung.petID)
   if pet ~= nil then
   if pet ~= nil then
     result = "\r\n|-\r\n|'''Pet:'''<br/>"
     result = "\r\n|-\r\n|'''[[Pets#Boss Pets|Pet]]:'''<br/>"
     result = result..Icons.Icon({pet.name, type='pet'})
     result = result..Icons.Icon({pet.name, type='pet'})