Magic >Spells (Paizo) >M >

Mage’s Magnificent Mansion

School conjuration (creation); Level sorcerer/wizard 7

CASTING

Casting Time 1 standard action
Components V, S, F (a miniature ivory door, a piece of polished marble, and a silver spoon, each worth 5 gp)

EFFECT

Range close (25 ft. + 5 ft./2 levels)
Effect extra-dimensional mansion, up to three 10-ft. cubes/level (S)
Duration 2 hours/level (D)
Saving Throw none; Spell Resistance no

By the way…
The entrance to the extradimensional space created by this spell does not move with a ship.

Source Skull & Shackles Player’s Guide

DESCRIPTION

You conjure up an extra-dimensional dwelling that has a single entrance on the plane from which the spell was cast. The entry point looks like a faint shimmering in the air that is 4 feet wide and 8 feet high. Only those you designate may enter the mansion, and the portal is shut and made invisible behind you when you enter. You may open it again from your own side at will. Once observers have passed beyond the entrance, they are in a magnificent foyer with numerous chambers beyond. The atmosphere is clean, fresh, and warm.

You can create any floor plan you desire to the limit of the spell’s effect. The place is furnished and contains sufficient foodstuffs to serve a nine-course banquet to a dozen people per caster level. A staff of near-transparent servants (as many as two per caster level), liveried and obedient, wait upon all who enter. The servants function as unseen servant spells except that they are visible and can go anywhere in the mansion.

Since the place can be entered only through its special portal, outside conditions do not affect the mansion, nor do conditions inside it pass to the plane beyond.