Cragne Manor room WOO1: The Churchyard (David Jose)

This file is part of the Cragne Manor source code collection. Posted with the author's permission. All rights reserved.


WOO1 is a room.
 
WOOdoor12 is a closed scenery door. WOOdoor12 is inside from WOO1 and outside from WOO2.
 
 
 
 
Part 1 - WOO1 Church Cemetery
 
 
Printed name of WOO1 is "The Churchyard (David Jose)".
 
 
Description of WOO1 is "A neglected and long forgotten cemetery stretches out below you, surrounded by a rusted wrought iron fence.  Lopsided gravemarkers, slowly succumbing to the elements, topple downhill like a congregation bent low in prayer.  At the very center of the graveyard, set into a low valley, a squat, stone mausoleum crouches menacingly.
[paragraph break]To the southwest a dilapidated, stave church rises up obscenely against the night sky.
[paragraph break]A dark pine forest crowds against the wrought iron fence to the northeast."
 
 
 
 
 
[ --- CEMETERY --- ]
    A WOO1 grave is scenery in WOO1.
    Understand "graves" and "grave marker" and "tombstone" and "marker" and "gravestone" as WOO1 grave while location is WOO1.
    The printed name of the WOO1 grave is "grave".
 
    The description of WOO1 grave is "Simple, rough hewn marble markers, overgrown with weeds and stained by untold generations of blackened moss.  The wind and weather have made sure that you can't make out any names or dates on any of these tombstones."
 
 
[ --- THE CHURCH --- ]
    A WOO1 church and a WOO1 bell tower are scenery in WOO1.
    Understand "church" as WOO1 church while location is WOO1.
    The printed name of the WOO1 church is "church".
 
    Understand "bell tower" and "bell" and "tower" and "shadows" as WOO1 bell tower while location is WOO1.
    The printed name of the WOO1 bell tower is "bell tower".
 
    The description of WOO1 church is "Stark and imposing, this church might have been a thing of beauty once upon a time.  Dark, nearly black timbers huddle together conspiratorially, hiding beneath ranks of rain-slick slate rooves.  Telltale signs of some long ago fire can be seen along the tops of several of the windows.
    [one of][paragraph break]High above, the light of a single candle burns in what you assume must be the bell tower.
    [or][paragraph break]You could have sworn that you saw a light up there before.
    [or]
    [or][paragraph break]Something moves in the shadows of the bell tower.
    [or][paragraph break]You watch for several moments, but see nothing out of the ordinary.  Your  imagination is getting the best of you.
    [or][stopping]"
 
    The description of WOO1 bell tower is "You don't see anything out of the ordinary."
 
[ --- THE MAUSOLEUM --- ]
    A WOO1 mausoleum is scenery in WOO1.
    Understand "mausoleum" and "maus" and "crypt" and "vault" as WOO1 mausoleum while location is WOO1.
    The printed name of the WOO1 mausoleum is "mausoleum".
 
    The description of the WOO1 mausoleum is "Covered in moss and half buried in a litter of dead leaves, the remaining letters above the door read 'VERL C'.
    [paragraph break]Large, rough cut stone bricks make up the walls of the crypt, and a series of steeply pitched slate rooves protect the mausoleum and its internees from the fierce New England winters.
    [paragraph break]A large oak door is set into wall beneath a peaked stone arch."
 
[ --- THE MAUSOLEUM DOOR --- ]
    WOOdoor12 is closed locked door in WOO1.
    Understand "door" and "oak door" and "mausoleum door" and "maus door" and "crypty door" as WOOdoor12.
    Rule for printing the name of WOOdoor12 while location is WOO1:
    say "mausoleum door".
 
    Instead of examining WOOdoor12 while location is WOO1:
    say "A heavy oak door, nearly four feet across, and wrapped with iron bands.  This thing looks like it would be more at home repelling an invasion in a medieval castle.  ";
    if WOOdoor12 is open:
        say "A series of deep wounds mar the edge of the door where you pried it open."
 
[ --- OPENING THE DOOR --- ]
Check opening WOOdoor12 when the location is WOO1:
    if WOOdoor12 is open:
        say "The mausoleum door is already standing open.  A series of deep wounds mar the edge of the door where you pried it open." instead;
    otherwise if WOOdoor12 is locked:
        say "[one of]You attempt to open the mausoleum door.  The heavy door shifts slightly, but does not open
        [or]You pull with all of your might, but the door barely budges
        [or]The door is stuck tight in its frame.  Between the swollen wood and the rusty, decades-old hinges you don't think you're going to be able to open this without help.  Maybe if you had a crowbar or something you could pry it open[stopping]." instead.
 
[!!! If people have added crowbars or other crowbar like items, feel free to let players use them to open the door as well.]
 
    Instead of unlocking WOOdoor12 with something:
    say "You don't see any kind of lock on the door.  ";
    If WOOdoor12 is closed:
        say "You could probably pry it open if you had something to use as a crowbar."
 
    WOO1 prying is an action applying to one thing.
 
    Understand "pry door with [something]" as WOO1 prying when room is WOO1.
 
    Carry out WOO1 prying:
    If WOOdoor12 is open, say "The door to the mausoleum is already open.";
    If the noun is not WOO1 cast iron spire, say "You don't see how you'd make that work.";
    if the noun is WOO1 cast iron spire and WOOdoor12 is closed:
        now WOOdoor12 is unlocked;
        now WOOdoor12 is open;
        say "You work the iron spire into the narrow gap between the door and the stone jamb and attempt to pry it open.  After several minutes of effort, you're able to slowly work the door open far enough for you to be able to squeeze through."
 
[ --- THE FENCE --- ]
    A  WOO1 wrought iron fence is a scenery in WOO1.
    A  WOO1 cast iron spire is part of a wrought iron fence.
    The printed name of the WOO1 wrought iron fence is "wrought iron fence".
    The printed name of the WOO1 cast iron spire is "cast iron spire".
        Understand "iron spire" and "iron spike" and "iron rod" and "cast iron spike" and "cast iron rod" and "iron bar" and "rod" as cast iron spire.
    Understand "iron fence" and "fence" as wrought iron fence.
 
 
The description of the WOO1 wrought iron fence is "A pitted wrought iron fence surrounds the graveyard.
[if cast iron spire is part of fence][paragraph break]The fence seems fairly sturdy, but one of the cast iron spires seems to have been knocked loose from the top rail and is leaning askew."
 
instead of taking or pulling a WOO1 cast iron spire when a WOO1 cast iron spire is part of a WOO1 wrought iron fence:
    say "You grab hold of the loose rod and wrench it free from the fence.";
    move a WOO1 cast iron spire to player.
 
instead of taking a WOO1 wrought iron fence when a WOO1 cast iron spire is part of a WOO1 wrought iron fence:
    say "You grab hold of the loose rod and wrench it free from the fence.";
    move a WOO1 cast iron spire to player.
 
The description of the WOO1 cast iron spire is "A four foot long piece of the wrought iron fence that surrounds the cemetery.  It's tipped with a wicked looking, spear-shaped finial."
 
[ --- NAOMI --- ]
    The description of the player is "Mud (and god only knows what else) spatter your legs and black leather riding boots.  [if aviator goggles are worn] You idily brush a bit of bone from your sleeve and adjust your aviator goggles."
 
[ --- RANDOM SCENERY --- ]
WOO1 aviator goggles are wearable. The WOO1 aviator goggles are worn by player.  The description of the WOO1 aviator goggles is "A pair of tinted, leather wrapped aviator goggles.  A thin scratch mars the left lens."  [These are meant to automatically appear on the character as soon as they wander into this room.  Not sure if that's considered unwanted behavior in the grand scheme of things.]
The printed name of the WOO1 aviator goggles is "aviator goggles".
 
WOO1 forest is scenery in WOO1.
Understand "dark pine forest" and "pine forest" and "pine trees" and "pine tree" and "trees" and "tree" and "pine" as WOO1 forest.
The printed name of the WOO1 forest is "forest".
The description of forest  is "Tall pines stand along the northeast edge of the cemetery, like too-eager mourners gathering before a funeral."
 
A Stelzer flashlight is in WOO1.
The printed name of the Stelzer flashlight is "waterproof flashlight".
Understand "flashlight" and "flash" and "torch" and "waterproof" and "water proof" and "light" as Stelzer flashlight.
 
The initial appearance of the Stelzer flashlight is "A discarded flashlight sits amidst the weeds behind an overturned gravestone."