17,101
edits
(Fix monster name logic) |
(Fix monster lookup) |
||
Line 770: | Line 770: | ||
end | end | ||
for _, monster in ipairs(task.goals.monsters) do | for _, monster in ipairs(task.goals.monsters) do | ||
local monstername = Monsters.getMonsterName(Monsters. | local monstername = Monsters.getMonsterName(Monsters.getMonsterByID(monster.id)) | ||
table.insert(requirements, Shared.formatnum(monster.quantity)..' '..Icons.Icon({monstername, type='monster'})) | table.insert(requirements, Shared.formatnum(monster.quantity)..' '..Icons.Icon({monstername, type='monster'})) | ||
end | end |