Skip to content

Instantly share code, notes, and snippets.

@ladyisak
Created June 11, 2016 17:22
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/51d96c95849a6e78c81721742c57215c to your computer and use it in GitHub Desktop.
Save ladyisak/51d96c95849a6e78c81721742c57215c to your computer and use it in GitHub Desktop.
{"inkVersion":11,"root":[[{"->":"livingroom"},null],"done",{"livingroom":[{"->":".^.afternoon"},{"afternoon":[[[[["ev",11,"/ev",null],{"temp=":"lev_location","re":true},null],["^Livingroom description. ",["G>",[["ev",{"VAR?":"anzu_location"},11,"==","/ev",null],["du",{"t?":{"->":"livingroom.afternoon.0.g-0.desc.1.1.1.b"}},{"b":["pop","^Anzu is in the livingroom.",{"->":".^.^.^.3"},null]}],"pop","nop",null],"G<",null],"\n",[["ev","str","^Talk to Anzu.","/str","/ev",{"*":".^.c","flg":4},{"c":[[[["thread",{"->":"characters_present"},null],["ev","str","^Move on.","/str","/ev",{"*":".^.c","flg":4},{"c":[{"->":"move_on"},null]}],{"#n":"talk"}],null],null]}],["ev","str","^Explore.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev explores the room.","\n",[[["ev","str","^Examine the table.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev examines the table.","\n",{"->":".^.^.^"},{"#f":5}]}],["ev","str","^Examine the tea set.","/str",{"CNT?":".^.^.0.c"},"/ev",{"*":".^.c","flg":5},{"c":["^Lev examines the tea set. There's a pair of sugar tongs lying on a plate next to the sugar bowl.","\n",{"->":".^.^.^"},null]}],["ev","str","^Examine Anzu.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev examines Anzu.","\n",{"->":".^.^.^"},null]}],["ev","str","^Move on.","/str","/ev",{"*":".^.c","flg":4},{"c":[{"->":"move_on"},null]}],{"#n":"explore"}],null],null]}],{"#n":"choices"}],{"#n":"desc"}],{"#n":"g-0"}],null],null],"night":[[[[["ev",11,"/ev",null],{"temp=":"lev_location","re":true},null],[["ev",11,"/ev",null],{"temp=":"JW_location","re":true},null],[["ev",16,"/ev",null],{"temp=":"anzu_location","re":true},null],["^Livingroom at night description. ",["G>",[["ev",{"CNT?":"common_green.0.g-0.desc.choices.0.c.2.explore.2.c"},"/ev",null],["du",{"t?":{"->":"livingroom.night.0.g-0.desc.1.1.1.b"}},{"b":["pop","^There's a scratching noise coming from the direction of the ceiling.",{"->":".^.^.^.3"},null]}],"pop","nop",null],"G<",null],"\n",[["ev","str","^Talk to J.W.","/str","/ev",{"*":".^.c","flg":4},{"c":[[[["thread",{"->":"characters_present"},null],["ev","str","^Move on.","/str","/ev",{"*":".^.c","flg":4},{"c":[{"->":"move_on"},null]}],{"#n":"talk"}],null],null]}],["ev","str","^Explore.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev explores the room.","\n",[[["ev","str","^Examine the table.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev examines the table.","\n",{"->":".^.^.^"},{"#f":5}]}],["ev","str","^Examine the tea set.","/str",{"CNT?":".^.^.0.c"},"/ev",{"*":".^.c","flg":5},{"c":["^Lev examines the tea set.",["G>",[["ev",{"CNT?":"common_green.0.g-0.desc.choices.0.c.2.explore.2.c"},"/ev",null],["du",{"t?":{"->":"livingroom.night.0.g-0.desc.choices.1.c.2.explore.1.c.1.1.1.b"}},{"b":["pop","^The sugar tongs are gone! ",{"->":".^.^.^.4"},null]}],["du",{"f?":{"->":"livingroom.night.0.g-0.desc.choices.1.c.2.explore.1.c.1.1.2.b"}},{"b":["pop","^ There's a pair of sugar tongs lying on a plate next to the sugar bowl.",{"->":".^.^.^.4"},null]}],"pop","nop",null],"G<",null],"\n",{"->":".^.^.^"},null]}],["ev","str","^Move on.","/str","/ev",{"*":".^.c","flg":4},{"c":[{"->":"move_on"},null]}],{"#n":"explore"}],null],null]}],["ev","str","^Go somewhere else.","/str","/ev",{"*":".^.c","flg":4},{"c":[[[["ev","str","^Common green.","/str","/ev",{"*":".^.c","flg":4},{"c":[{"->":"common_green"},null]}],{"#n":"leave"}],null],null]}],{"#n":"choices"}],{"#n":"desc"}],{"#n":"g-0"}],null],null]}],"common_green":[[[[["ev",12,"/ev",null],{"temp=":"lev_location","re":true},null],["^Common green description.","\n",[["ev","str","^Explore.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev explores the common green.","\n",[[["ev","str","^Examine the common green.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev examines the common green.","\n",null]}],["ev","str","^Examine the crater.","/str","/ev",{"*":".^.c","flg":4},{"c":["^Lev examines the crater.","\n",{"#f":5}]}],["ev","str","^Take the fallen star.","/str",{"CNT?":".^.^.1.c"},{"VAR?":"sugar_tongs"},0,"==","&&","/ev",{"*":".^.c","flg":5},{"c":["^It's too hot to pick up!","\n",{"#f":5}]}],["ev","str","^Take the fallen star.","/str",{"CNT?":".^.^.1.c"},{"VAR?":"sugar_tongs"},1,"==","&&","/ev",{"*":".^.c","flg":5},{"c":[[["ev",1,"/ev",null],{"temp=":"have_star","re":true},null],"^Lev picks up the fallen star with the sugar tongs.","\n",null]}],["ev","str","^Move on.","/str","/ev",{"*":".^.c","flg":4},{"c":[{"->":"move_on"},null]}],{"#n":"explore"}],null],null]}],["ev","str","^Go somewhere else.","/str","/ev",{"*":".^.c","flg":4},{"c":[[[["ev","str","^Inside.","/str","/ev",{"*":".^.c","flg":4},{"c":[{"->":"livingroom.night"},null]}],{"#n":"leave"}],null],null]}],{"#n":"choices"}],{"#n":"desc"}],{"#n":"g-0"}],null],null],"anzu_conversation":[{"->":".^.generic"},{"generic":[[["ev","str","^Talk.","/str","/ev",{"*":".^.c","flg":20},{"c":["^Lev talks to Anzu.","\n",{"->":".^.^.^.g-0"},{"#f":5}]}],{"g-0":[{"->":"conversation_loop"},null]}],null],"not_date":[[["ev","str","^Talk.","/str",{"VAR?":"anzu_location"},11,"==","/ev",{"*":".^.c","flg":21},{"c":["^Lev talks to Anzu.","\n",{"->":".^.^.^.g-0"},{"#f":5}]}],{"g-0":[{"->":"conversation_loop"},null]}],null],"golden_key":[[["ev","str","^Talk.","/str",{"VAR?":"anzu_location"},15,"==","/ev",{"*":".^.c","flg":21},{"c":["^Lev talks to Anzu.","\n",{"->":".^.^.^.g-0"},{"#f":5}]}],{"g-0":[{"->":"conversation_loop"},null]}],null]}],"characters_present":[[["G>",[["ev",{"VAR?":"lev_location"},{"VAR?":"anzu_location"},"==","/ev",{"t?":{"->":"characters_present.0.0.1.0.b"}},{"b":[["thread",{"->":"anzu_conversation.generic"},null],["thread",{"->":"anzu_conversation.not_date"},null],["thread",{"->":"anzu_conversation.golden_key"},null],{"->":".^.^.^.1"},null]}],"nop",null],"G<",null],"\n",null],null],"conversation_loop":[[["G>",[["ev",{"VAR?":"lev_location"},11,"==",{"VAR?":"anzu_location"},11,"==","&&","/ev",{"t?":{"->":"conversation_loop.0.0.1.0.b"}},{"b":[{"->":"livingroom.afternoon.0.g-0.desc.choices.0.c.0.talk"},{"->":".^.^.^.1"},null]}],"nop",null],"G<",null],"\n",null],null],"move_on":[[["G>",[["ev",{"VAR?":"lev_location"},11,"==",{"VAR?":"anzu_location"},11,"==","&&","/ev",{"t?":{"->":"move_on.0.0.1.0.b"}},{"b":[{"->":"livingroom.afternoon.0.g-0.desc.choices"},{"->":".^.^.^.2"},null]}],["ev",{"VAR?":"lev_location"},12,"==","/ev",{"t?":{"->":"move_on.0.0.1.1.b"}},{"b":[{"->":"common_green.0.g-0.desc.choices"},{"->":".^.^.^.2"},null]}],"nop",null],"G<",null],"\n",null],null],"global decl":["ev",0,{"VAR=":"sugar_tongs"},0,{"VAR=":"have_star"},0,{"VAR=":"seen_eater"},11,{"VAR=":"lev_location"},11,{"VAR=":"anzu_location"},13,{"VAR=":"JW_location"},"/ev","end",null]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment