delete the single codes in:
if item:getDescription() == 'mounts.name' then
it should look like:
local mounts {
[1] = {name = 'test1', id = 1},
[2] = {name = 'test2', id = 3},
[3] = {name = 'test3', id = 3}
}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
for i = 1...