Ported TileWithInventory.