42 lines
1.8 KiB
Markdown
42 lines
1.8 KiB
Markdown
# Room 27: Forest Path
|
|
|
|
This is a transitional forest area connecting multiple locations in the game world. The room features thick woods with trees and birds (when certain conditions are met). It's a simple passage room with no NPCs or interactive objects - players simply pass through heading to adjacent rooms.
|
|
|
|
## Look Description
|
|
|
|
"You are wandering through a thick wood. You hear birds chirping from the many trees."
|
|
|
|
## Interactions
|
|
|
|
| Status | Behavior Type | Command | Response |
|
|
|--------|--------------|---------|----------|
|
|
| TODO | Look | `look around` / `look room` / `look[<around][/!*]` | "You are wandering through a thick wood. You hear birds chirping from the many trees." (Print 27 0) |
|
|
|
|
## Scripts
|
|
|
|
No scripts defined in this room. Interactions are handled by regions 507 (Woods) and 518 (Unicorn Meadow).
|
|
|
|
## Technical Notes
|
|
|
|
- **Room Number**: 27
|
|
- **Picture**: 27
|
|
- **Region**: 507 (Woods), 518 (Unicorn Meadow)
|
|
- **Exits**: North→21, South→3, East→28, West→26
|
|
- **Music**: Not specified
|
|
|
|
### State Variables
|
|
|
|
| Variable | Values | Description |
|
|
|----------|--------|-------------|
|
|
| `global101` | `0` | Local room state flag (initialized to 0) |
|
|
| `global100` | `0`/`1` | Controls whether overlay 127 is displayed (event state) |
|
|
|
|
### Additional Technical Details
|
|
|
|
- Room uses Region 507 for woods-related interactions (rocks, grass, bushes, trees, birds, flowers)
|
|
- Room uses Region 518 for unicorn meadow interactions (unicorn, bridle)
|
|
- When `global100` is set (non-zero), the overlay picture 127 is displayed over the base room
|
|
- The look description dynamically changes based on `global100` - birds are mentioned only when `global100` is false (0)
|
|
- Player enters in normal view (view: 2) with standard walking parameters (xStep: 3, yStep: 2)
|
|
- Horizon is set at y-coordinate 75
|