I'm going to poison your rum, Pirate--Do you have a better idea on what to do with her, Swan?
The hat can work merely as a portal, or a world of doors. It won't open the world of doors or let me inside. For now, it will open a portal to the location I'd like it to. The hat becomes a portal, and we jump inside. It's relatively simple.