You're at home.
<<if $events.length > 0>>\
<<link "Explore">><<set $exploretarget to $events.pluck()>><<goto $exploretarget>><</link>>\
<</if>>\
<<for _i to 0; _i lt $locations.length; _i++>>\
<<capture _i>>\
<<link "Visit $locations[_i]" $locations[_i]>><</link>>
<</capture>>\
<</for>>\
<<if hasVisited("Lake") && hasVisited("Forest") && hasVisited("Mountain")>>\
[[Take a nap|Win]]
<</if>><<set $events to ["Discover Forest", "Discover Lake", "Discover Mountain"]>>
<<set $locations to []>><<run $locations.push("Forest")>>\
You meet someone who tells you how to get to the forest.
[[Back|Home]]<<run $locations.push("Lake")>>\
You meet someone who tells you how to get to the lake.
[[Back|Home]]<<run $locations.push("Mountain")>>\
You meet someone who tells you how to get to the mountain.
[[Back|Home]]You're at the Lake.
[[Back|Home]]You're at the Mountain.
[[Back|Home]]You're at the Forest.
[[Back|Home]]Having visited all three places, you take a well-deserved nap.
Congratulations, you win!