-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtutorial-1.tw
More file actions
39 lines (33 loc) · 785 Bytes
/
Copy pathtutorial-1.tw
File metadata and controls
39 lines (33 loc) · 785 Bytes
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
::StoryTitle
Localvore: TinyQBN Tutorial 1
:: StoryData
{
"ifid": "145F3C37-A08E-4BAF-967A-60759074DB43",
"start": "Home"
}
::Home
!Home
/*QBN
sticky-card req: _driving
req: $location neq QBN.current
*/\
<<set $location to passage()>>\
[[Drive->Car]]
::Fairweather Farm
!Fairweather Farm
/*QBN sticky-card req-driving req-location-ne-fairweather */\
<<set $location to "fairweather">>\
[[Drive->Car]]
::Anderson Farm [sticky-card req-driving req-location-ne-anderson]
!Anderson Farm
<<set $location to "anderson">>\
[[Drive->Car]]
::Docks [sticky-card req-driving req-location-ne-docks]
!Docks
<<set $location to "docks">>\
[[Drive->Car]]
::Car
<<set _driving to true>>\
<<cardrow `QBN.cards().sort(QBN.alphabetically)` "linkbox">>\
<<unset _driving>>
<<return "Exit Car">>