# Room 14: Green Meadow

Room 14 is a beautiful green meadow connecting multiple areas of the game world. The room features a prominent tree stump in the center and connects to the beach area to the west, the forest to the east, and other meadow areas to the north and south. The meadow contains wildflowers and scattered rocks typical of the meadow region. Most notably, a wandering minstrel may appear in this location when certain conditions are met (when global118 = 2), offering opportunities for interaction and trading items.

## Look Description

"The scent of wildflowers fills the air in the lovely green meadow."

## Interactions

| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Look | `look` / `look around` / `look room` | "The scent of wildflowers fills the air in the lovely green meadow." (Print 14 0) |
| TODO | Look | `look/stump` | "Yes, there's a tree stump in the middle of the meadow." (Print 14 1) |
| TODO | Look | `smell/blossom` | "The scent of wildflowers fills the air in the lovely green meadow." (Print 14 0) |

### Region Interactions (MeadReg - Script 506)

| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Look | `look/bush` | "Small, low bushes dot the pretty meadow. Wildflowers grow among them." (Print 506 0) |
| TODO | Look | `look/boulder` / `look/rock` | "Scattered rocks lie among the wildflowers of the meadow." (Print 506 1) |
| TODO | Look | `look/down` / `look/dirt,down` | "You look at the ground and see nothing but green grass and wildflowers." (Print 506 2) |
| TODO | Look | `look/grass` | "Green grass carpets this lovely meadowland." (Print 506 3) |
| TODO | Look | `look/flora` / `look/flower` / `look/blossom` | "Colorful wildflowers grow among the small rocks and bushes of the meadowland." (Print 506 4) |
| TODO | Look | `look/forest` | "You see very few trees." (Print 506 5) |
| TODO | Action | `climb/forest` / `climb/tree` | "It is difficult to climb trees while wearing that dress!" (Print 506 6) |
| TODO | Action | `climb/boulder` / `climb/rock` | "You don't like to climb rocks." (Print 506 7) |
| TODO | Get | `get/flora` / `get/flower` / `get/blossom` | "It would waste your precious time to stop and pick flowers." (Print 506 8) |

### Region Interactions (Notes - Script 516)

These interactions apply when the minstrel (gNewAct_2) is present in the room (when global118 = 2).

| Status | Behavior Type | Command | Response |
|--------|--------------|---------|----------|
| TODO | Get | `get/man` | "You couldn't get the minstrel." (Print 516 0) |
| TODO | Action | `kiss` | "That could get you in more trouble than it's worth!" (Print 516 1) |
| TODO | Inventory | `deliver/book` / `give/book` (when not close enough) | "You're not close enough." (Print 516 2) |
| TODO | Inventory | `deliver/book` (with Shakespeare book in inventory, close enough) | "You hand the Shakespeare book to the minstrel. Curiously, he opens it and begins to read aloud; first hesitantly, then with increased forcefulness as he begins to get into it." (Print 516 3) |
| TODO | Inventory | `deliver/[other item]` | "The minstrel looks at your offering with mild interest, but politely declines." (Print 516 5) |
| TODO | Action | `rob/lute` / `steal/lute` | "You are not a thief, Rosella!" (Print 516 6) |
| TODO | Look | `look/man` (when player has lute) | "Well, it looks like our minstrel has turned into a Thespian. He seems much happier now." (Print 516 7) |
| TODO | Look | `look/man` (when minstrel present) | "You see a rather jaunty-looking fellow who appears to be a wandering minstrel. He seems to be a lute player." (Print 516 5) |
| TODO | Look | `look/man` (when minstrel not present) | "Well, it looks like our minstrel has turned into a Thespian. He seems much happier now." (Print 516 7) |
| TODO | Look | `look/man` (when player doesn't have lute) | "You see a rather jaunty-looking fellow who appears to be a wandering minstrel. He seems to be a lute player." (Print 516 5) |
| TODO | Talk | `converse/man` / `talk/man` (when player has lute) | Triggers minstrel dialogue sequence, plays random song (Print 516 8-12) |
| TODO | Talk | `converse/man` / `talk/man` (when minstrel present but no lute) | "The minstrel seems quite pleased that you appreciate his music so much. He obviously loves the attention as he goes into an out-of-tune version of 'Greensleeves.'" (Print 516 13) |
| TODO | Get | `get/lute` (when player has lute) | "You already have it." (Print 516 17) |
| TODO | Get | `get/lute` (when player doesn't have lute) | "The minstrel is not going to give you his sole means of livelihood!" (Print 516 16) |
| TODO | Action | `hum` | "Your lilting voice contrasts terribly with the bad lute playing of the minstrel." (Print 516 18) |

## Scripts

| Status | Behavior Type | Name | Trigger | Behavior |
|--------|--------------|------|---------|----------|
| TODO | Background | minstrelActions | Continuous when minstrel (gNewAct_2) is present | Script controls minstrel's animation cycles and behavior; shows notes bubble, handles minstrel leaving after receiving book |
| TODO | Interaction | Minstrel trade | Player gives Shakespeare book to minstrel (state 10) | Minstrel reads book, transforms into actor (view 173), gives lute to player, leaves room (state 11), awards 3 score points |

## Technical Notes

- **Room Number**: 14
- **Picture**: 14 (overlay 114 if `global100` is set)
- **Region**: Meadow (via MeadReg 506), Minstrel encounters (via Notes 516)
- **Regions Applied**: 506 (MeadReg), 516 (Notes)
- **Exits**: North→8, South→20, East→15, West→13
- **Horizon**: 68

### State Variables

| Variable | Values | Description |
|----------|--------|-------------|
| `global100` | `0`, `non-zero` | If set, overlays picture 114 (alternate view) |
| `global101` | `0` | Room visited flag (initialized to 0) |
| `global118` | `0`, `1`, `2`, `3` | Minstrel spawn state: 2 = appears in room 14 |
| `global160`, `global159` | Coordinates | Current position of minstrel (saved when leaving room) |
| `global213`, `global214` | Coordinates | Previous position of minstrel (restored when re-entering) |
| `global118` | `-1` | Set after minstrel receives book and leaves |
| `global182` | `0`, `1` | Set to 1 after minstrel trade completed ( lute received flag) |
| `global184` | Number | Counter for minstrel conversation次数 |
| `local0` | Number | Computed time value for minstrel spawn condition |

### Additional Technical Details

- Room uses Region 506 (MeadReg) for meadow interactions
- Room uses Region 516 (Notes) for minstrel encounters
- Synonyms defined in MeadReg: `flora` = `flora` = `blossom`
- Synonyms defined in Notes: `man` = `man` = `boy` = `person` = `bard`, `kiss` = `kiss` = `embrace`
- Minstrel appears in room 14 when global118 = 2
- Minstrel is created as gNewAct_2 with view 174, loop 2 (lute-playing animation)
- Minstrel spawns with 1% chance per game minute when player has item 9 (lute), after at least 3 minutes have passed
- When player gives Shakespeare book (item 18) to minstrel, minstrel transforms into actor (view 173) and gives lute (item 9) to player
- Minstrel trade awards 3 score points
- Minstrel plays various songs (sounds 15-19) during conversation
- Notes bubble (view 888) appears above minstrel during interactions
