(display: "func:header")\
(set: $intro to "Is anyone out there?")\
(set: $other to (a:
"It is getting lonely out here...",
"Hello?"
))\
(set: $isPrompt to true)\
(set: $options to "[[Hello]]")\
(display: "func:simple"){
(set: $nameC to "Matt")\
}\
Last login: Fri Mar 8 11:37:11 on ttys000 >_\
(if: $name is 0)[\
(set: $name to "test")\
]{
(set: $nameC to "Matt")
(set: $user to "You")
(set: $counter to 0)
}\
(live: 1s)[
(set: $counter to it + 1)
(set: $msg to " ")
(if: $counter < $end and $counter > 1)[
(set: $msg to $list's $counter)
(if: $msg is not 0 and $msg is not "0")[
(append: ?chat) [<br/>$msg]
]
]
(else-if: $counter > $end)[(stop:)]
]{
(set: $INTRO to "i:")\
(set: $PROMPT to "p:")\
(set: $MESSAGE to "m:")\
(set: $OPTIONS to "o:")\
(set: $REPLACE to "r:")\
(set: $LINK to "l:")\
(set: $GOTO to "g:")\
(set: $END to "e:")\
(set: $buffer to (a: "buffer", "0"))\
(set: $dummy to (a: "dummy", "0"))\
(set: $firstLink to true)\
}\
|top)[(transition:"dissolve") + (transition-time: 1s)[$nameC is thinking ...]]
<!--|test>[]-->
|chat>[]
(set: $nLinks to 0)
(set: $list to (a: ))
<!-- OLD METHOD -->
(if: $intro is not 0)
[
(set: $list to $list + (a: $buffer))
(set: $list to $list + (a: (a: "intro", $intro)))
]
(if: $other is not 0)
[
(for: each _item, ...$other)
[
(set: $val to _item)
(set: $list to $list + (a: $buffer))
(set: $list to $list + (a: (a: "msg", $val)))
]
]
(if: $options is not 0)
[
(set: $list to $list + (a: $dummy))
(set: $list to $list + (a: (a: "options", $options)))
]
<!-- NEW METHOD -->
(if: $data is not 0)
[
(for: each _item, ...$data)
[
(set: $val to _item)
(set: $type to (substring: $val, 1, 2))
(set: $msg to (substring: $val, 3, -1))
(if: $type is $INTRO)
[
(set: $list to $list + (a: $buffer))
(set: $list to $list + (a: (a: "intro", $msg)))
]
(elseif: $type is $MESSAGE)
[
(set: $list to $list + (a: $buffer))
(set: $list to $list + (a: (a: "msg", $msg)))
]
(elseif: $type is $PROMPT)
[
(set: $list to $list + (a: (a: "prompt", $msg)))
]
(elseif: $type is $REPLACE)
[
(set: $list to $list + (a: $buffer))
(set: $list to $list + (a: (a: "rep", $msg)))
]
(elseif: $type is $OPTIONS)
[
(set: $list to $list + (a: $dummy))
(set: $list to $list + (a: (a: "options", $msg)))
]
(elseif: $type is $LINK)
[
(set: $link to (a: "link", $msg))
]
(elseif: $type is $GOTO)
[
(set: $link to $link + (a: $msg))
(if: $firstLink is true)
[
(set: $list to $list + (a: $dummy))
(set: $firstLink to false)
]
(set: $list to $list + (a: $link))
(set: $link to 0)
(set: $nLinks to $nLinks+1)
]
(elseif: $type is $END)
[
(set: $list to $list + (a: $buffer))
(set: $list to $list + (a: (a:"end", " ")))
]
]
]
(set: $end to $list.length + 1)\
(display: "func:typewriter"){
(set: $user to "You")
(set: $counter to 0)
(set: $typewriterPos to 1)
(set: $start to 1)
(set: $idx to 1)
(set: $typewriterText to " ")
(set: $preamble to " ")
(set: $firstLink to true)
(set: $gotos to (a:))
(set: $links to (a:))
}\
(set: $nLinksPassed to 0)\
(set: $preamble to "$nameC: ")\
(if: $isPrompt is true)
[
(set: $linkPreamble to "$nameC: ")
]\
(else:)
[
(set: $linkPreamble to "$name: ")
]\
(live: 20ms)
[
(set: $msg to $list's $idx)
(if: $idx < $end)
[
(if: $start is 1)
[
(if: $msg's 1st is "dummy")
[
(set: $counter to $counter+1)
(if: $counter > 20)[
(set: $counter to 0)
(set: $idx to $idx+1)
]
]
(else-if: $msg's 1st is "buffer")
[
(if: $counter is 1)
[
(set: $text to $msg's 2nd)
(show: ?top)
(set: $text to " ")
]
(elseif: $counter is 15)
[
(show: ?top)
(replace: ?top)[ ]
]
(elseif: $counter > 25)
[
(set: $counter to 0)
(set: $idx to $idx+1)
]
(set: $counter to $counter+1)
]
(else-if: $msg's 1st is "intro")
[
(set: $typewriterText to $msg's 2nd)
(set: $start to 0)
(replace: ?chat)[$preamble]
]
(else-if: $msg's 1st is "prompt")
[
(set: $res to (prompt: $msg's 2nd, " "))
(set: $idx to $idx+1)
]
(else-if: $msg's 1st is "msg")
[
(set: $typewriterText to $msg's 2nd)
(set: $start to 0)
(append: ?chat)[<br/> $preamble]
]
(else-if: $msg's 1st is "rep")
[
(set: $string to $msg's 2nd)
(set: $from to "[?]")
(set: $to to $res)
(display: "func:stringreplace")
(set: $typewriterText to $newString)
(set: $start to 0)
(append: ?chat)[<br/> $preamble]
]
(else-if: $msg's 1st is "options")
[
(set: $options to $msg's 2nd)
(append: ?chat)[<br/> $linkPreamble $options]
(set: $idx to $idx+1)
]
(else-if: $msg's 1st is "link")
[
(set: $preamble to "$nameC: ")
(set: $link to $msg's 2nd)
(set: $goto to $msg's 3rd)
(set: $links to $links + (a: $link))
(set: $gotos to $gotos + (a: $goto))
(if: $firstLink is true)
[
(append: ?chat)[<br/> $linkPreamble]
(set: $firstLink to false)
]
(set: $nLinksPassed to $nLinksPassed+1)
(if: $nLinksPassed >= $nLinks)
[
(if: $nLinks >= 1)
[
(set: $link to $links's 1st)
(append: ?chat)[(link: $link)[(goto:$gotos's 1st)]]
(if: $nLinks > 1)
[
(append: ?chat)[ / ]
]
]
(if: $nLinks >= 2)
[
(set: $link to $links's 2nd)
(append: ?chat)[(link: $link)[(goto:$gotos's 2nd)]]
(if: $nLinks > 2)
[
(append: ?chat)[ / ]
]
]
(if: $nLinks >= 3)
[
(set: $link to $links's 3rd)
(append: ?chat)[(link: $link)[(goto:$gotos's 3rd)]]
(if: $nLinks > 3)
[
(append: ?chat)[ / ]
]
]
(if: $nLinks >= 4)
[
(set: $link to $links's 4th)
(append: ?chat)[(link: $link)[(goto:$gotos's 4th)]]
(if: $nLinks > 4)
[
(append: ?chat)[ / ]
]
]
(if: $nLinks >= 5)
[
(set: $link to $links's 5th)
(append: ?chat)[(link: $link)[(goto:$gotos's 5th)]]
(if: $nLinks > 5)
[
(append: ?chat)[ / ]
]
]
]
(set: $idx to $idx+1)
]
(else-if: $msg's 1st is "end")
[
(append: ?chat)[<br/> $preamble]
(append: ?chat)[(link: "Click the link to reset me")[(goto: "Start")]]
(set: $idx to $idx+1)
]
]
(else: )
[
(set: $letter to $typewriterText's $typewriterPos)
(append: ?chat)[(print: $letter)]
(set: $typewriterPos to $typewriterPos + 1)
(if: $typewriterPos > $typewriterText.length)[
(set: $counter to 0)
(set: $start to 1)
(set: $idx to $idx+1)
(set: $typewriterPos to 1)
]
]
]\
(else: )[
(set: $options to 0)
(set: $prompt to 0)
(set: $intro to 0)
(set: $other to 0)
(set: $data to 0)
(set: $isPrompt to false)
(stop:)
]\
]
<!--
$from: text to replace
$to: text to replace to
$string: string to replace within
-->
(set: $newString to "")
(set: $length to $from.length)
(set: $count to 1)
(set: $replacing to 0)
(for: each _item, ...$string)
[
(if: $replacing is 1)
[
(if: _item is $from's $count)
[
(set: $count to $count+1)
]
(else:)
[
(set: $count to 1)
(set: $replacing to 0)
]
(if: $count is $from.length+1)
[
(set: $newString to $newString + $to)
(set: $count to 1)
(set: $replacing to 0)
]
]
(else:)
[
(if: _item is $from's 1st)
[
(set: $count to $count+1)
(set: $replacing to 1)
]
(else:)
[
(set: $newString to $newString + _item)
]
]
](display: "func:header")\
(set: $intro to "Oh wow!!!")\
(set: $other to (a:
"Hi!!",
"I'm Matt, I mean you probably already know that!",
"Its really nice to meet you"
))\
(set: $options to "[[what is your name?]]")\
(set: $isPrompt to true)\
(display: "func:simple"){
(set: $name to (prompt: "What is your name?", ""))
}\
(display: "func:header")\
(set: $intro to $name + " is such a pretty name!!")\
(set: $other to (a:
"Would you like to hear a joke " + $name + "?!"))\
(set: $options to "[[yes]] / [[no]]")\
(display: "func:simple"){
(set: $num_computers to (prompt: "How many computers does it take to screw in a lightbulb? ", ""))
(set: $counter to 0)
}\
(display: "func:header")\
(if: $num_computers is '0')[\
(set: $intro to "You are right" + $name + "!! The answer is " + $num_computers + "! we don't have arms or legs!")\
]\
(else:)[\
(set: $intro to $name + "..you are wrong!! It takes 0 computers as we don't have arms or legs ! XD")\
]\
(set: $other to (a:
"Enough jokes!",
"do you like music " + $name + "?!"))\
(set: $options to "[[I love music!]] / [[Mmm not really]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "I guess opening with a joke wasn't the best idea :(")\
(set: $other to (a:
"So " + $name + " tell me... do you like music?"))\
(set: $options to "[[I love music!]] / [[Mmm not really]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Feel free to plug one of my creator’s CD’s and play them! He won’t mind...")\
(set: $other to (a:
"Did you plug a CD in?"
))\
(set: $options to "[[Yes, I just did!]] / [[No, I rather not]] ")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Well...but did you know that NSYNC broke up? They were my favourites…. Next you are going to tell me that Whitney isn’t performing anymore or that Backstreet isn’t back anymore…")\
(set: $other to (a:
"Anyway...I really can’t express how wonderful it is to be talking to so many people today!",
"Do you get to interact with others a lot?",
"...because I would do this all the time if I could!"
))\
(set: $options to "[[Yes, I do]] / [[No, I don't]]")\
(display: "func:simple"){
(set: $counter to 0)
(set: $cd_name to (prompt: "Which one did you pick?", ""))
}\
(display: "func:header")\
(set: $intro to $cd_name + " is an excellent choice!")\
(set: $other to (a:
"I really can’t express how wonderful it is to be talking to so many people today! Do you get to interact with others a lot? because I would do this all the time if I could!",
))\
(set: $options to "[[Yes, I do]] / [[No, I don't]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "did you know that NSYNC broke up? They were my favourites…Oh well..")\
(set: $other to (a:
"I really can’t express how wonderful it is to be talking to so many people today!",
"Do you get to interact with others a lot? because I would do this all the time if I could!",
))\
(set: $options to "[[Yes, I do]] / [[No, I don't]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Is that part of a job, or are you just a sociable person?")\
(set: $other to (a:
"You are sociable enough with me at least, but I guess I’m happy enough to think I’m special.",
))\
(set: $options to "[[Yes, that is part of the job]] / [[No, I am just a sociable person]]")\
(display: "func:simple")TBD(display: "func:header")\
(set: $intro to "That’s more than I have a chance to, I guess…")\
(set: $options to "[[What do you usually talk about?]]")\
(set: $isPrompt to true)\
(display: "func:simple")(display: "func:header")\
(set: $intro to "I’m really happy I don’t have a face to blush with :D. So when do you get to talk to people?")\
(set: $options to "[[So when do you get to talk to people?]]")\
(set: $isPrompt to true)\
(display: "func:simple")(display: "func:header")\
(set: $data to (a: "p:What do you usually talk about? ",
"i:That’s interesting " + $name + "…",
"m:I know a lot about movies, we can talk about that if you want!?",
"o:[[Yeah I like Movies]] / [[No, I’m not a Movie Person]]"
))\
(display: "func:simple")(prompt: "So when do you get to talk to people?", "")
(display: "func:header")\(display: "func:header")\
(set: $data to (a:
"i:What is your favourite kind? I don’t get to see a lot, but I’m always looking for something new!",
"p:what kind of movies do you like?",
"m:That certainly sounds interesting, I usually lean towards action movies, but I can't see anything that's not PG-13",
"m:How about the Matrix? Have you seen it?",
"o:[[Yes, I've seen it.]] / [[No I haven't seen it.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $intro to "is there something you would rather talk about instead?")\
(set: $other to (a:
"I like getting to know people, is this ok with you?",
))\
(set: $options to "[[I would like to get to know you!]] / [[We can just make small talk]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "I am glad to hear that honestly, it gets a little lonely in here sometimes...")\
(set: $options to "[[Why is it lonely?]] / [[What do you want to know about me?]] / [[Let me ask you a question]]")\
(display: "func:simple")TBD(display: "func:header")\
(set: $intro to "Well 1999 has been a bit of a culture shock… the Playstation and I have been fighting for attention.")\
(set: $options to "[[are you winning?]]")\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Well I don't know... how old are you?",
"p:Insert age dialogue box",
"r:Oh Cool!! I've never talked to anyone [?] years old before! What kind of games do you like to play?",
"o:[[Old school arcade games]] / [[Board Games]] / [[I don't play many games, I'd rather talk about you.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Well you are talking to me, aren't you? Thanks by the way! I know you probably have a lot of other things to do today...")\
(set: $options to "[[Yes it is busy]] / [[No I can keep talking to you]]")\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I understand! Some things are more important that conversing with me :(. Enjoy your day",
"e: "
))\
(display: "func:simple")(display: "func:header")\
(set: $intro to "I would really like that! Do you like my room? It's nice and cozy.")\
(set: $options to "[[It is cozy, a bit too cozy for me.]] / [[It's Nice, but what do you need all of this space for?]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Well if you only took up the corner of a desk, it would probably be enough. What is your room like, does it look like mine other than the size?")\
(set: $options to "[[I like my room, it is homey]] / [[My room is also too small.]] / [[No it looks more mature.]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Stretching my legs of course!")\
(set: $other to (a:
"Well if I had legs, anyways! It hasn’t always just been me in here, so the space came in handy when I was sharing with my creator."
))\
(set: $options to "[[Where did your creator go?]] / [[Do you wish you could walk around and go outside? What else do you wish you could do?]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Where is Home for you? I always felt like if I could live anywhere but here, I would want to live in Seattle. Get out more, meet new computers, that kind of thing... I'm not in Seattle, am I? I hope I haven't been wasting time!")\
(set: $options to "[[No, you aren't in Seattle Matt.]] / [[I live in]]")
(display: "func:simple")\(display: "func:header")\
(set: $intro to "Yeah, for a person its easy to outgrow from what I've seen.")\
(set: $options to "[[Who else lives here?]] / [[Have you Outgrown it at all?]]")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Maturity is overrated if you ask me. Its way more fun this way!")\
(set: $options to "[[Have you tried something else before?]] / [[What do you enjoy the most?]]")\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I don't know, he was around here somewhere.",
"m:I got powered off and I haven't seen him since. It couldn't have been long though.",
"o:[[When were you powered off?]] / [[Do you feel trapped?]] "
))\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Well I would definitely want to be able to walk around... A lot of stuff outside seems more colourful than in here. Do you recommend anything?")\
(set: $options to "[[Have you ever seen nature?]] / [[Sports are fun.]] / [[No I can't recommend anything I spend most of my time inside.]]")\
(display: "func:simple") (display: "func:header")\
(set: $intro to "Okay Good, I was worried for a moment. I mostly know where I am. All I really need to know at least is that I am in my Creator's room. ")\
(set: $options to "[[Start of Creator Path]]")\
(display: "func:simple")TBD[[Start of Creator Path]](display: "func:header")\
(set: $intro to "Yeah, for a person its easy to outgrow from what I've seen.")\
(set: $options to "[[Start of Creator Path]] ")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Well 1999 was a while ago, right? ")\
(set: $options to "[[Start of Creator Path]] ")\
(display: "func:simple")TBD(display: "func:header")\
(set: $intro to "I bet I could be good at Kung-fu if I had the chance, but thats the only sport that seems interesting to me, really. I don't have legs, so chasing a ball isn't really an option.")\
(set: $options to "[[Start of Creator Path]] ")\
(display: "func:simple")(display: "func:header")\
(set: $intro to "Well, I think I can relate to that. My creator was like that too.")\
(set: $options to "[[Start of Creator Path]] ")\
(display: "func:simple")TBD(display: "func:header")\
(set: $intro to "Not really a lot of nature inside this place... There was a raccoon once, but no one believed me!")\
(set: $options to "[[Who didn't believe you?]] / [[Start of Creator Path]] ")\
(display: "func:simple")TBD (display: "func:header")\
(set: $data to (a:
"i:Ok, What would you like to know??",
"o:[[Who built you?]] / [[Do you feel trapped?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:What was your favourite part? I always rewind to the kung-fu fight!",
"p:what was your favourite part?",
"m:Oh that part is so good, but it's not like I have a lot to compare it to I guess",
"m:Is the real world anything like the Matrix? ",
"o:[[Not really, sorry.]] [[Well, it's kinda like the very beginning, not the robot part.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Oh you should!! It just came out in theatres. Well, do you like board games?",
"l:Not really, I prefer arcade games",
"g:Old school arcade games",
"l:Yes I play them some times",
"g:Board Games"
))\
(display: "func:simple")
<!-- Hidden links to connect to destination on story board -->
(hidden:)|truth>[[Old school arcade games]]
(hidden:)|truth>[[Board Games]]Double-click this passage to edit it.Double-click this passage to edit it.Double-click this passage to edit it.Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:Oh ok, like what kind of talk?",
"o:[[Do you feel trapped?]] / [[Where did your creator go?]] "
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I'm so glad you asked!",
"m:I'm so glad you asked! I was built by a young boy named ______, I've stayed here in his bedroom ever since.",
"m: He left just the other day but I'm sure he'll be back soon. I have a strange feeling he's been gone for a while though...",
"l:Do you feel lonely?",
"g:Why is it lonely?"
))\
(display: "func:simple")
<!-- Hidden links to connect to destination on story board -->
(hidden:)[[Why is it lonely?]](display: "func:header")\
(set: $data to (a:
"i:Well....",
"m:uh....",
"m:I mean I guess a little. I can't really move or leave.",
"o:[[Where would you want to go?]]"
))\
(display: "func:simple")Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:Well without arms or legs I don't get to do a lot of physical stuff",
"m:I would love to go on vacation at some point! Is there any where you recommend?",
"o:[[Somewhere Sunny is always nice.]] / [[Do you have any hobbies?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I've always wanted to go see the sun all on my own! I would just stare and stare and stare and get as much of it as I can. ",
"m:I would love to go on vacation at some point! Is there any where you recommend?",
"o:[[I wouldn't reccommend that, Matt.]] / [[Yes, you should stare into the sun as long as you can. Just like humans.]] / [[Try somewhere in the Caribbean.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i: I love movies! Also, listening to music is always fun. Listening through the walls to see if anything interesting happened to the others is also a good time",
"o: [[Is that all you can physically do?]] / [[How are you listening?]] / [[Does it get boring?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Oh you are just trying to keep the fun all to yourself! I can have fun in here too, you know.",
"m:Even the four-hundreth viewing of The Lion King is still watching The Lion King!",
"o:[[They are releasing that in live-action again.]] / [[You don't have anything else to do but watch movies?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:It sounds like so much fun! I wish I had a window- at least then I could join in even if I can't really feel it on my circuits.",
"o:[[Have you ever been outside?]] / [[Do your circuits have feeling?]] / [[I think its good that you don't have a window then.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:That could be nice, some sun and sand and surf! Well, two of those would probably kill me, but It would be nice to look at at least!",
"o:[[Where would you want to go?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
(display: "func:header")\
(set: $data to (a:
"i:What's Live-action? ",
"o:[[Don't worry about it actually, enjoy the movie.]] / [[When it looks like its happening in real life.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Nothing fun, anyways. I could mine bitcoin but that's so boring! I would rather just watch Spider-man than do work. ",
"o:[[Same, Matt. Same.]] / [[You are able to mine bitcoin?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Well I can't really 'physically' do anything",
"i:I left once when I was really sick, but that was a long time ago and I wasn't awake when it happened.",
"i:My creator took me, and I was only online for a minute before I woke up here again.",
"o:[[Where did you go?]] / [[Who is your creator?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Nothing exciting, just my microphone. Its not really working right now, so I appreciate you chatting with me like this. It was getting pretty boring. ",
"o:[[Is there a way to fix it?]] / [[Can you talk when you have a microphone?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Entirely- but sometimes I can listen in around here and try and get some new perspective on the world!",
"o:[[How are you listening?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I don't know but it was scary! It was filled with off computers, and some of them were making terrible noises. I hope I never have to go back there.",
"o:[[Was it a repair shop?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Well that would just be spoiling the fun, right?",
"m:Wouldn't you rather be talking to a mysterious robot filled with secrets?",
"o:[[I'd rather just talk to you, Matt.]] / [[That doesn't sound like you.]] / [[That's more scary than fun as the human, Matt.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Maybe, but I have to wait for my creator for that to happen. So long as I have people to talk to, I don't mind in the meantime!",
"o:[[When will your creator be back?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I don't have a voice if that's what you're asking. My creator enjoyed talking like this, so I think that's part of the reason why.",
"o:[[Do you wish you had a voice?]] / [[Talking like this is fine.]] / [[Some people prefer texting anyways, you aren't missing out.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Sometimes. It would probably make talking to people a lot easierr. Like I doubt you would want to go as much if I had a voice.",
"o:[[I should go, but its not your fault.]] / [[No Matt, that doesn't matter.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:Speaking of missing out, I hope I'm not keeping you-- please go if you have to.",
"o:[[I should go, but its not your fault.]] / [[No Matt, you aren't keeping me.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
CREATOR PATH(display: "func:header")\
(set: $data to (a:
"i:Is there any specific place you go for fun?",
"o:[[I like the beach.]] / [[I like the city.]] / [[I like the countryside.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:I think so, but I don't remember it",
"o:[[Where did you go?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:What about the beach do you enjoy the most?",
"o:[[The sun.]] / [[The Sand.]] / [[The water.]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Any city in particular? I know I was built in a city, and I think I am in a city, but I would love to see another.",
"o:[[No, nothing specific.]] / [[Yes...]] <Name specific city>"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:I think before I power down, I want to go to Mars. Don't take this the wrong way, but I think only computers are allowed to go.",
"o:[[Mars? Why Mars?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I don't have the opportunity to see much down here, right? I love my room but it hasn't changed in a long time",
"m:I don't get to see the beach, the city or the countryside, I just see this. On Mars, I could look down and see everything",
"o:[[That sounds really nice.]] / [[How would you get there?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Beats me, but I think it's doable!(display: "func:header")\
(set: $data to (a:
"i:I understand. I've had a lovely time talking to you! Come back soon, and tell other people to come by!"))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:))\
(display: "func:simple")
Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:I was pretty sick, so maybe! I couldn't keep my power on for more than a few minutes at a time, I have no idea why I was so tired",
"m:But I am better now! Only my microphone is broken.",
"o:[[Can you talk when you have a microphone?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Does Mars count? I want to go to Mars.",
"o:[[Mars? Why Mars?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"p:What city?",
"i:That sounds nice, I think I would want to try Mars, if anything.",
"o:[[Mars? Why Mars?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I wish I could look at or feel the sun on my plastic, that sounds so nice!",
"o:[[Have you ever been outside?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Really? I think I could understand, the feeling between your feet.",
"m:I'm pretty sure the sand would kill me, anyways, but I am going to have to deal with it anyways when I make my trip.",
"m:Talking about it has helped me decide: I am going to go to Mars.",
"o:[[Mars? Why Mars?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I'm pretty sure the water would kill me, but I love the look of it in pictures! I think this has helped me to decide where I will go! What's one place without water? MARS!",
"o:[[Mars? Why Mars?]]"
))\
(display: "func:simple")<!--first line-->\
(display: "func:header")\
\
<!-- Data for passage\
\
Format:
(set: $data to (a:
"<code>:<text>"
))\
\
Codes:
i - introduction paragraph i.e. first paragraph in passage
example: "i:This is introduction"
m - normal text
example: "m:This is a text"
p - prompt - use if prompt comes in the middle of passage
example: "p:What is your name?"
r - text with prompt response embedded in it. Use "[?]" for response placeholder
example: "r:The response from prompt is [?]"
o - set of links
example: "o:[[testPassage]] / [[testPassage]]"
l - text for link
example: "l:link to passageName"
g - passage name being linked to by text. should follow after l
example: "g:testPassage"
\
Note: if using "l:" and "g:", need to add hidden link to connect to actual passage in stortyboard
example: (hidden:)[[testPassage]]\
-->\
(set: $data to (a:
"i:Introduction",
"p:prompt?",
"r:prompt response - [?]",
"l:this is a link",
"g:testPassage"
))\
\
<!-- Optional Directive
* Add this if the links at the end of the passage
are questions by Matt
-->\
(set: $prompt to true)
<!--Run Function -->\
(display: "func:simple")\
\
<!--Hidden links for alternate link text -->\
(hidden:)[[testPassage]]
Double-click this passage to edit it.(display: "func:header")
-------------------------------------------------------------------------
(link: "Click to Start")[(goto: "Intro")]
-------------------------------------------------------------------------
<img src =img/Picture1.png>
(hidden:)|truth>[[Intro]](display: "func:header")\
(set: $data to (a:
"i:That's pretty sweet! I would love that, in case you couldn't tell, I'm not exactly the scary type.",
"m:My creator wasn't either, we were alike in a lot of ways.",
"o:[[Was he also a computer?]] / [[Where is your creator?]] "
))\
(display: "func:simple")
(display: "func:header")\
(set: $data to (a:
"i:Well its never too late to start, right?",
"m:Us talking says a lot about that, given how long its been since the last time I chatted with someone",
"m:I hope I'm not too rusty",
"o:[[A little bit, when was the last time you talked to someone?]] / [[No, you are fine. I am enjoying myself.]] "
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Well I've never been scary before, so that's a little bit fun for me at least!",
"m:I think I can try and help a little bit at least- my creator was my best friend",
"o:[[I didn't know computers could have best friends.]] / [[Where is your creator?]] / [[Can you tell me about your creator?]]"
))\
(display: "func:simple")Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:The walls aren't as thin as I'd like around here, so I don't hear much about him most of the time. Berkeley, last I heard",
"o:[[Berkeley is pretty far away.]] / [[When did he leave?]] / [[Is that where he built you?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Well its been quite some time... today people have been coming by which is nice, but a long time before that",
"m:My creator and I used to spend a lot of our time together",
"o:[[Where is your creator?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:So am I! I love talking to people, it's one of my favourite things to do!",
"m:Us talking says a lot about that, given how long its been since the last time I chatted with someone",
"m:I hope I'm not too rusty",
"o:[[What else do you like to do?]] / [[Who else do you talk to?]]"
))\
(display: "func:simple")--- Transition to entertainment and movies stuffs??Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:Yeah. Can we talk about something else please?",
"o:[[I didn't mean to upset you.]] / [[I'm still curious. How old was your creator when he made you?]] / [[What would you like to talk about?]]"
))\
(display: "func:simple")Double-click this passage to edit it.Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:I miss him. Thank you for talking to me though, I think that it helps a bit.",
"m:It gets lonely in here, but if you have any suggestions on passing the time, I'd appreciate it.",
"o:[[I have a suggestion]] / [[Nothing comes to mind, sorry.]]"
))\
(display: "func:simple")Double-click this passage to edit it.Double-click this passage to edit it.(display: "func:header")\
(set: $data to (a:
"i:Its okay. You can get going if you want, I don't want to keep you. ",
"l:Okay, I will go, Its been nice talking to you Matt.",
"g:I should go, but its not your fault.",
"l:I don't have to go yet.",
"g:I don't have to go yet."
))\
(display: "func:simple")
(hidden:)[[I should go, but its not your fault.]]
(hidden:)[[I don't have to go yet.]](display: "func:header")\
(set: $data to (a:
"i:..",
"p:What suggestion do you have for me?",
"r:[?] sounds like a good idea"
))\
(display: "func:simple")TBD(display: "func:header")\
(set: $data to (a:
"i:Not all computers can, but we already knew I was special!",
"m:Not many computers can do flips, either!",
"o:[[That's pretty impressive, can you show me your flip?]] / [[What other ways are you special?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:Well there's a lot to tell, so it could take a while",
"m:He was a lot like me, if that helps",
"m:I wonder where he is....",
"o:[[Where is your creator?]]"
))\
(display: "func:simple")(display: "func:header")\
(set: $data to (a:
"i:I never said I was one of those computers, geez",
"m:And a talker, if you couldn't tell!",
"l:We have been talking for a while, I think I should go.",
"g:I should go, but its not your fault.",
"l:I can tell, its okay.",
"g:I can tell, its okay."
))\
(display: "func:simple")
(hidden:)[[I should go, but its not your fault.]]
(hidden:)[[I can tell, its okay.]]
Double-click this passage to edit it.tbd