4.7 KiB
4.7 KiB
Room 84: Cottage Front
High-Level Summary
Room 84 is the exterior front area of the witch's cottage. The player enters this area from the cottage interior (room 87). The scene features two small trees/bushes in the foreground, and when visited during daytime (global100), four birds fly in the sky with animated clouds. If Pandora's Box (item 4) or the chicken (item 33) have been left in this area, they appear as pickupable items. The chicken has an ambient pacing script and plays music. The room has a single exit back into the cottage to the east.
Look Description
"The small yard in front of the cottage is covered with tall grass. There are two small trees here. A window looks out on the yard."
(Appended based on inventory state: box and chicken present / chicken only / box only / neither)
Interactions
| Status | Behavior Type | Command | Response |
|---|---|---|---|
| TODO | Look | look / look around / look room |
Look description with conditional text based on items present |
| TODO | Look | look/box |
"A Pandora's box. It has a strange aura about it." |
| TODO | Look | look/barrel |
"It's just an empty barrel." |
| TODO | Look | look/chest |
"A treasure chest, but it's empty." |
| TODO | Look | look/shelf |
"A small shelf, but there's nothing on it." |
| TODO | Look | look/bone |
"A bone. Looks like someone's dinner." |
| TODO | Look | look/window |
"A window looking out on the yard." |
| TODO | Look | look/wall |
"The cottage walls." |
| TODO | Look | look/dirt / look<down |
"The ground is covered with tall grass." |
| TODO | Look | look/chicken |
"A chicken. It looks like it might lay an egg soon." (if chicken in room) / "That's odd. I don't see a chicken here." (if chicken not in room) |
| TODO | Get | get/box<pandora |
Picks up Pandora's Box if player is near and doesn't already have it |
| TODO | Get | get/chicken |
Picks up chicken if player is near and doesn't already have it |
| TODO | Get | get/box |
"A Pandora's box. It has a strange aura about it." |
| TODO | Get | get/chest |
"A treasure chest, but it's empty." |
| TODO | Get | get/bone |
"A bone. Looks like someone's dinner." |
| TODO | Action | open/window |
"The window won't open." |
| TODO | Action | break/window |
"That would be a waste of time." |
| TODO | Action | open/box |
Handled by get command |
| TODO | Action | open/barrel |
"It's just an empty barrel." |
| TODO | Action | open/chest |
"A treasure chest, but it's empty." |
Scripts
| Status | Behavior Type | Name | Trigger | Behavior |
|---|---|---|---|---|
| TODO | Background | henPacing |
Always when chicken (item 33) is in room | Chicken paces back and forth near position 80,133, playing ambient music (sound 79) |
| TODO | Interaction | egoPickUp |
When player picks up Pandora's Box or chicken | Plays pickup animation, awards 2 score points, prevents re-pickup |
Technical Notes
- Room Number: 84
- Picture: 84
- Region: 604 (Edgar's castle region - shared with cottage interior)
- Exits: East→87 (into cottage interior)
- Music: Sound 79 (chicken music - plays when chicken is present)
State Variables
| Variable | Values | Description |
|---|---|---|
global100 |
0/1 | Daytime flag - when true, shows birds (view 649) and animated clouds (view 512) |
global175 |
0/1 | Reset to 0 when entering from room 87 or 0 |
global182 |
0/1 | Set to 1 during item pickup animation |
newView |
View object | Pandora's Box view (519) when present in room |
newAct |
Actor object | Chicken actor (view 360) with henPacing script when present in room |
Inventory Items
| Item Number | Name |
|---|---|
| 4 | Pandora's Box |
| 33 | Chicken |
Special Behaviors
- Pandora's Box (item 4) appears at position 200,135 when owned by room 84
- Chicken (item 33) appears as an Actor at position 80,133 when owned by room 84
- Chicken has henPacing script that makes it walk between random x positions (67-85 or 90-120) at y=134
- Chicken music (sound 79) loops while chicken is in room
- Birds (view 649, 4 instances) and clouds (view 512, 2 animated props) only appear during daytime (global100 = true)
- Entry from room 87 or 0 positions player at 157,162 facing east
- Exit to room 87 triggered when player touches control area $0040 (right edge)
- Pickup of box or chicken awards 2 score points each
View References
| View Number | Description |
|---|---|
| 360 | Chicken actor |
| 519 | Pandora's Box |
| 634 | Trees/bushes (loop 1) |
| 649 | Birds (shown when global100 is true) |
| 512 | Animated clouds (shown when global100 is true) |
| 40 | Ego pickup animation |