require "balloon" objects={ list={}, collect=function(obj) table.insert(objects.list, obj) balloon.narrator(object[obj]) end, leave=function(name) for i,obj in ipairs(objects.list) do if obj==name then table.remove(objects.list,i) return end end end, search=function(name) for i,obj in ipairs(objects.list) do if object[obj].name and object[obj].name==name then return object[obj] end end end, collected=function(obj) for i,o in ipairs(objects.list) do if o==obj then return true end end return false end, } object={ diskito_knunk={name="DISQUITO DE KNUNK",x=0,y=0}, diskito_usufondo={name="DISQUITO DE USUFONDO",x=16,y=0}, moneda={name="MONEDA",x=32,y=0}, moneda2={name="ALTRA MONEDA",x=32,y=0}, apuntes={name="APUNTES",x=48,y=0}, rosquilletes={name="ROSQUILLETES",x=64,y=0}, }