Skip to content

Instantly share code, notes, and snippets.

@ladyisak
Created June 11, 2016 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ladyisak/4165001829c5c2fcd651bc7d6bf8589f to your computer and use it in GitHub Desktop.
Save ladyisak/4165001829c5c2fcd651bc7d6bf8589f to your computer and use it in GitHub Desktop.
CONST LIVINGROOM = 11
VAR lev_location = 11
VAR anzu_location = 11
-> livingroom
// ROOM 1: LIVINGROOM
=== livingroom ===
= afternoon
- ~ lev_location = 11
- (desc) Livingroom description. {anzu_location == 11:Anzu is in the livingroom.}
- (choices)
+ [Talk to someone.]
- - (talk)
<- characters_present
+ + [Move on.]
-> desc
// CONVERSATIONS
=== anzu_conversation ===
= choose
+ (chose_anzu) [Talk to Anzu.]
<- generic
{
- anzu_location == 11:
<- not_date
}
+ + [Move on.]
-> conversation_loop
= generic
* [Talk.]
Lev talks to Anzu.
- -> chose_anzu
= not_date
* [Talk.]
Lev talks to Anzu.
- -> chose_anzu
// MECHANICS
=== characters_present ===
{
- lev_location == anzu_location:
<- anzu_conversation.choose
}
=== conversation_loop ===
{
- lev_location == 11 && anzu_location == 11:
-> livingroom.afternoon.talk
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment