can i use "baseObjet" to identify an object or an item?
example:
for var in party.map:entitiesAt(party.x, party.y) do
if string.match(var.baseObject, "decoration") then
this return nil, so it doesn't work. but maybe there is another way.