Easy Doors allows you to make the door part of another object or inside something or on top of something, or portable if you want to carry around a magic portal. You can also change where the door leads using rules. You could totally make your mirror part of a closet door and then disallow entry based on the game state:
In this version, I just block a player trying to enter the mirror when the closet is open and described as partially obstructed by the desk.
[rant][code]“Magic Door”
Include Easy Doors by Hanon Ondricek.
Your Bedroom is a room. “Your room is a bit cluttered as usual.”
Narnia is a room. “Whoa, what a magical place.”
your closet is an enterable, openable container in your bedroom. It is lit. “[if the player is in your closet]It’s kind of cramped inside the closet.[otherwise]There is a sliding, mirrored closet door on one wall.[end if]”. The description is “[if your closet is open]The closet is currently open, both moving sections rolled aside partially behind your desk.[otherwise]The closet door is closed.[end if]”. Understand “door” and “sliding door” and “closet door” and “sliding closet door” as your closet.
Your desk is a supporter. It is in your bedroom. “Your desk sits partially in front of the closet.”. The description is “There’s not a lot of room, so the desk has to sit partially in front of the closet. Luckily you only really need the accessible half.”
A mirror is an easydoor. It is unopenable and open. It is part of closet. It leads to Narnia. The description is “Your reflection stares back. It seems to know a secret.”. Understand “full length” and “full-length” as mirror.
Before doing anything to mirror when the player is in closet:
say “The mirror is on the outside of the closet door, so you can’t see it at the moment.” instead.
Check entering mirror:
if your closet is open:
say “The mirror on the closet door is rolled aside behind your desk, and you don’t really feel like climbing over your workspace.” instead.
After opening closet:
say “You roll the door to the side[if the player is not in your closet] behind your desk[end if].”
After closing closet:
say “You carefully roll the closet door closed along its track[if the player is in your closet]. Now it is kind of dark.[otherwise], revealing the entire surface of the mirror. It almost appears that the carpet runs straight through like a portal to a backwards version of the room.[end if]”
Instead of entering your closet when your closet is closed:
try entering mirror instead.
The dooraction of mirror is “Curiouser and curiouser. You place your palm against the glass intending to wipe a smudge, and to your surprise, it goes right through! Since you weren’t expecting this, the lack of resistance and your lack of balance causes your entire body to fall through…”[/code][/rant]
If you did specifically want to change where an easydoor leads during play, you can do that also:
After examining the magic amulet:
now mirror leads to Disneyland.
Or…
After entering mirror:
if the player carries Mickey Mouse watch:
now the player is in Disneyland;
otherwise:
now the player is in Universal Studios.
Or…
[code]Carry out closing your closet:
now mirror leads to New Jersey.
Carry out opening your closet:
now mirror leads to Cleveland.[/code]