Chapter of Changing Everything Properly
To set (x - a thing), to real or to other:
if to real:
now x is real;
now the description of x is the real description of x;
now the printed name of x is the real printed name of x;
if to other:
now x is other;
if the other description of x is not "", now the description of x is the other description of x;
if the other printed name of x is not "", now the printed name of x is the other printed name of x.
To set (x - a room), to real or to other:
if to real:
now x is real;
now the description of x is the real description of x;
now the printed name of x is the real printed name of x;
if to other:
now x is other;
if the other description of x is not "", now the description of x is the other description of x;
if the other printed name of x is not "", now the printed name of x is the other printed name of x.
To set world, to real or to other:
if to real:
change map, to real;
repeat with x running through all things:
if x is not enclosed by the player:
set x, to real;
if x is the snow globe:
set x, to real; [snow globe changes to real even when carried]
repeat with x running through all rooms:
set x, to real;
if to other:
change map, to other;
repeat with x running through all things:
if x is not enclosed by the player:
set x, to other;
if x is the talisman:
set x, to other; [talisman changes to other even when carried]
repeat with x running through all rooms:
set x, to other.
To change map, to real or to other:
if to real:
change the south exit of the garden to the Old Tennis Court;
change the east exit of the garden to Outside the House;
change the west exit of the garden to nothing;
change the north exit of the garden to nothing;
if to other:
change the south exit of the garden to the Mist;
change the west exit of the garden to the Mist;
change the north exit of the garden to the Mist.
To change worlds:
if real world is true:
set world, to other;
now real world is false;
otherwise:
set world, to real;
now real world is true.