function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local destinations = {
{teleportPos = Position(32692, 31501, 11),
railCheck = Tile(Position(32688, 31469, 13)):getItemById(7124) and Tile(Position(32690, 31465, 13)):getItemById(7122)}, --Coal Room
{teleportPos...