local positions = { Position(33862, 30999, 8), Position(33782, 31127, 8) } function onThink(interval, lastExecution) local item for i = 1, #positions do item = Tile(positions[i]):getThing(1) if item and isInArray({1945, 1946}, item.itemid) then item:transform(item.itemid == 1945 and 1946 or 1945) if item.itemid == 1946 then Game.loadMap('data/world/inundate/inundate.otbm') else Game.loadMap('data/world/inundate2/inundate.otbm') end end end return true end