Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
More consistent quantity
(more typo fixes. really wish i could test this in the console but it's borked right now)
(More consistent quantity)
Line 603: Line 603:
         local name = lastMonster.name
         local name = lastMonster.name
         if lastMonster.id == 51 then name = 'Spider2' end
         if lastMonster.id == 51 then name = 'Spider2' end
         table.insert(monsterList, Icons.Icon({name, type='monster'})..' x'..count)
         table.insert(monsterList, Icons.Icon({name, type='monster', qty=count}))
       end
       end
       lastMonster = monster
       lastMonster = monster
Line 612: Line 612:
         local name = lastMonster.name
         local name = lastMonster.name
         if lastMonster.id == 51 then name = 'Spider2' end
         if lastMonster.id == 51 then name = 'Spider2' end
         table.insert(monsterList, Icons.Icon({lastMonster.name, type='monster'})..' x'..count)
         table.insert(monsterList, Icons.Icon({lastMonster.name, type='monster', qty=count}))
       end
       end
     else
     else