# Room 65: Old Kitchen

This is the interior of the old kitchen in the haunted house. The room is dusty and bare, featuring a cold fireplace, empty pantry, caldron, butterchurn, barrel, shelves, chandelier, ladder, and a window looking out to the cemetery. The room has a haunted house ghost wandering script associated with it.

## Look Description

"The old kitchen is quite bare. The fireplace has been cold for years, and the dusty pantry is empty but for old crumbs."

## Interactions

| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Look | `look` / `look around` / `look room` / `look kitchen` | "The old kitchen is quite bare. The fireplace has been cold for years, and the dusty pantry is empty but for old crumbs." |
| TODO | Look | `look pantry` | "The pantry is bare." |
| TODO | Look | `look fireplace` | "The fireplace is stone cold. An empty cooking pot sits in it." |
| TODO | Look | `look caldron` / `look pot` | "The cooking pot is empty and useless." |
| TODO | Look | `look butterchurn` | "The old butterchurn is empty and useless." |
| TODO | Look | `look window` (when near window at 229-277, 124-146) | "You see the cemetery out the window." |
| TODO | Look | `look window` (when not near window) | "You're not near the window." |
| TODO | Look | `look barrel` | "The barrel is empty. You can't use it." |
| TODO | Look | `look shelf` / `look cabinet` | "There is nothing that interests you on the kitchen shelves." |
| TODO | Look | `look chandelier` / `look lamp` | "The lamp is old and dusty." |
| TODO | Look | `look wall` | "There is nothing of importance on the walls." |
| TODO | Look | `look dirt` / `look down` / `look floor` | "There is nothing of interest on the floor." |
| TODO | Look | `look ladder` | "An old ladder sits in the middle of the floor." |
| TODO | Look | `look crumbs` | "You see crumbs here." |
| TODO | Look | `look bottle` (if player has bottle in inventory) | "[No message - unclaimed]" |
| TODO | Look | `look bottle` (if player does NOT have bottle) | "You don't have it." |
| TODO | Get | `get caldron` / `get pot` | "The cooking pot is empty and useless. You don't need it." |
| TODO | Get | `get butterchurn` | "The old butterchurn is empty and useless." |
| TODO | Get | `get barrel` | "The barrel is empty. You can't use it." |
| TODO | Get | `get crumbs` | "You have no use for crumbs." |

## Scripts

| Status | Behavior Type | Name | Trigger | Behavior |
|--------|--------------|------|---------|----------|
| TODO | Background | boyGhost | Continuous when `ghost_state` = `BOY_GHOST` (state 5) and `gCurRoomNum = 65` | Boy ghost (Edgar) appears and walks to coordinates (240, 190), then transitions to room 64 |

## Technical Notes

- **Room Number**: 65
- **Picture**: 65
- **Region**: 603 (Haunted House)
- **Exits**: West→64 (via edge control area $0040)
- **Synonyms**: `caldron` = `caldron`, `shelf` = `cabinet`

### State Variables

| Variable | Values | Description |
|----------|--------|-------------|
| `global100` | `0`, `non-zero` | Whether the haunted house prologue event has occurred (daytime vs nighttime state) |
| `global133` | `gCurRoomNum` | Current room number (used by ghost AI) |
| `global134` | `0-255` | Ghost state in haunted house region: 1=baby, 2=miser, 3=lady, 4=lord, 5=boy, 255=completed |

### Additional Technical Details

- Room uses Region 603 for shared haunted house logic and ghost interactions
- If entering from Room 64 or as new game (Room 0), player starts at position (245, 162) with view 4
- Walking off the west edge (control area $0040) transports player to Room 64
- The caldron view is only visible when `global100` is set (haunted house activated)
- When `global100` is set, a fireplace flame animation plays (Prop with loop 1, Fwd cycle)
- The boy's ghost (Edgar) uses position (255, 148) when appearing in this room
