-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstory.biff
More file actions
68 lines (50 loc) · 2.39 KB
/
story.biff
File metadata and controls
68 lines (50 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// title: The Enchanted Garden
// author: ChatGPT
// description: A more intricate branch through hidden rooms and forgotten lore
// STATES: met_gnome, has_water, has_seed
// FLAG-STATES: unlocked_gate, puzzle_solved
// LOCAL-STATES: talked_to_gnome
=== index ===
// scene: garden/entrance
- {unlocked_gate == false}
A wrought-iron gate stands closed before you, its bars twisted into leafy vines. To the left, a mossy path leads toward a marble fountain.
- {unlocked_gate == true}
The gate yawns open on rusty hinges. Beyond, the garden’s secrets lie bathed in dappled sunlight.
* {unlocked_gate == false && met_gnome == false} Venture to the fountain. -> fountain
* {unlocked_gate == false && puzzle_solved == true} Plead with the gnome to open the gate. ~ unlocked_gate = true -> index
* {unlocked_gate == true} Step through the gate. -> secret_garden
=== fountain ===
// scene: garden/fountain
- {talked_to_gnome == false}
Water trickles from the fountain’s lion-headed spout into a basin carved with runes.
- {talked_to_gnome == true}
The gnome you awakened watches you with a knowing smile as water ripples around him.
-
(There’s nothing else of note here.)
* {talked_to_gnome == false} Inspect the fountain. -> .gnome_intro
* {talked_to_gnome == true && has_water == false} Drink from the fountain. ~ has_water = true -> fountain
* Return to the gate. -> index
=== gnome_intro ===
// scene: garden/fountain
A gruff little gnome emerges from behind the fountain. He eyes you keenly.
- {talked_to_gnome == false}
He clears his throat. “Traveler, take this seed. Plant it by the oak, and truth shall bloom.”
* Talk to the gnome. ~ talked_to_gnome = true -> gnome_offer
=== gnome_offer ===
// scene: garden/fountain
- {talked_to_gnome == true}
The gnome produces a glimmering seed and tucks it into your palm.
* Accept the seed and thank him. ~ has_seed = true ~ puzzle_solved = true -> fountain
=== secret_garden ===
// scene: garden/secret
You enter a hidden grove where flowers glow softly in the shade.
- {has_water == true}
The water you drank earlier still tingles with magic, and the blossoms lean toward you.
-
The petals are still, waiting.
* Gather luminous petals. ~ puzzle_solved = true -> petal_gathered
* Return to the gate. -> index
=== petal_gathered ===
// scene: garden/secret
You cradle the petals—they pulse with life in your hand. You feel the garden’s heartbeat anew.
END