Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. area="menu";
  2. while(true){
  3. if(area=="menu"){
  4. a=choose("Welcome to: A Quirky Adventure","Start","Quit");
  5. if(a==1){area="home";}
  6. else if(a==2){break;}
  7. }
  8. else if(area=="home"){show("You're sitting at home one day.");
  9. a=choose("You decide to...","Go outside!","Sit inside.");
  10. if(a==1){area="streetsigns";}
  11. else if(a==2){area="bored";}
  12. }
  13. else if(area=="bored"){show("You sit around for an hour.");
  14. a=choose("You're Bored..","Go outside!","Sit inside.");
  15. if(a==1){area="streetsigns";}
  16. else if(a==2){area="bored";}
  17. }
  18. else if(area=="streetsigns"){show("Outside, there's strange arrows on the street!");
  19. a=choose("You decide to...","Follow them!","Go in the opposite direction!","Go back inside.");
  20. if(a==1){area="northsoutharrows";}
  21. else if(a==2){area="deadend";}
  22. else if(a==3){area="home";}
  23. }
  24. else if(area=="deadend"){show("The street has been torn up for construction, and now drops off like a cliff!");
  25. a=choose("You decide to...","Turn Back","Jump Off!");
  26. if(a==1){area="streetsigns";}
  27. else if(a==2){area="death";}
  28. }
  29. else if(area=="death"){
  30. a=choose("That was a 40 foot drop! You died, good job genius!","Restart","Quit");
  31. if(a==1){area="menu";}
  32. else if(a==2){break;}
  33. }
  34. else if(area=="northsoutharrows"){show("The arrows end, pointing to one double arrow, that points perpendicular to the ones you've seen so far.");
  35. a=choose("You go...","Up!","Down!","Back from where you came.);
  36. if(a==1){area="staircase";}
  37. else if(a==2){area="tunnel";}
  38. else if(a==3){area="streetsigns";}
  39. }
  40. //goes up path
  41. else if(area=="staircase"){show("You come across a staircase leading down into the ground.");
  42. a=choose("You...","Up!","Down!","Back from where you came.);
  43. if(a==1){area="staircase";}
  44. else if(a==2){area="tunnel";}
  45. else if(a==3){area="streetsigns";}
  46. }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement