local position = Position(32103, 32194, 7)
local tile = Tile(position) -- or Tile(x, y, z)
if tile then
local case = tile:getItemById(books[1].bookCaseId)
if case then
book = case:addItem(1950, 1)
book:setAttribute(ITEM_ATTRIBUTE_TEXT, books[1].texto)
end
end