Files
kq4-decompile/rooms/kq4-020-meadow/kq4-020-meadow.md
2026-02-20 14:00:40 -08:00

43 lines
1.6 KiB
Markdown

# Room 20: Meadow
This is a green meadowland transitional area filled with beautiful wildflowers. The room serves as a connector between the coastal cliffs to the west and other areas to the north, south, and east. It is a simple passage room with no interactive objects, NPCs, or special scripts - players simply pass through while traveling between locations.
## Look Description
"A green meadowland, filled with beautiful wildflowers, surrounds you."
## Interactions
| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Look | `look/room` / `look[<around>]` / `look` | "A green meadowland, filled with beautiful wildflowers, surrounds you." |
## Scripts
| Status | Behavior Type | Name | Trigger | Behavior |
|--------|--------------|------|---------|----------|
| TODO | Background | Overlay | Init when `global100` is set | Displays overlay picture 120 over the base room |
## Technical Notes
- **Room Number**: 20
- **Picture**: 20
- **Regions**: 506, 518
- **Exits**: North→14, South→26, East→21, West→19
- **Horizon**: 68
### State Variables
| Variable | Values | Description |
|----------|--------|-------------|
| `global101` | 0 | Reset to 0 on room entry |
| `global100` | boolean | Overlay flag - if set, overlay 120 is displayed |
### Additional Technical Details
- Room uses setRegions: 506 518 (region scripts applied)
- Player enters in normal form (view 2)
- When global100 is set, overlay 120 is displayed on top of the base picture
- This is a simple transitional room with no interactive elements
- Horizon is set at y=68, defining the upper walkable boundary