Progress on documentation
This commit is contained in:
42
rooms/kq4-020-meadow/kq4-020-meadow.md
Normal file
42
rooms/kq4-020-meadow/kq4-020-meadow.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user