Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.50 KB | None | 0 0
  1. [Geist von Niko]
  2. Geist is a person in Draussen.
  3. Geist can be following.
  4. Every turn while player is in Draussen:
  5. if Geist is not following:
  6. say "Ein Geist ist dir auf dem Versen!";
  7. now Geist is following.
  8. Every turn while Geist is following:
  9. if Geist is not in the location:
  10. say "Der Geist ist im selben Raum wie du!";
  11. now Geist is in the location.
  12. Every turn while player is in Kaminzimmer:
  13. if Geist is following:
  14. say "Der Geist verschwindet durch den Kamin!";
  15. now Geist is not following;
  16. now Geist is in Draussen.
  17.  
  18. [Tisch by Danny]
  19. A Tisch is in Labor157.
  20. The Tisch is fixed in place.
  21.  
  22. [Custom Command]
  23. Understand "wackeln" or "wackel" or "anstupsen" as wackeln.
  24. Wackeln is an action applying to a thing.
  25.  
  26. [Helper]
  27. Helper is a number variable.
  28. Helper is 1.
  29.  
  30. Counter is a number variable.
  31. Counter is 0.
  32.  
  33. Random_Number is a number variable.
  34. Random_Number is 0.
  35.  
  36. [Gummiebärchen auf dem Tisch]
  37. Gummiebärchen_Rot is on the Tisch. [1]
  38. Gummiebärchen_Rot_Bool is a number variable. Gummiebärchen_Rot_Bool is 0.
  39. Gummiebärchen_Rot_Nummer is a number variable. Gummiebärchen_Rot_Nummer is 1.
  40. Gummiebärchen_Gelb is on the Tisch. [2]
  41. Gummiebärchen_Gelb_Bool is a number variable. Gummiebärchen_Gelb_Bool is 0.
  42. Gummiebärchen_Gelb_Nummer is a number variable. Gummiebärchen_Gelb_Nummer is 2.
  43. Gummiebärchen_Blau is on the Tisch. [3]
  44. Gummiebärchen_Blau_Bool is a number variable. Gummiebärchen_Blau_Bool is 0.
  45. Gummiebärchen_Blau_Nummer is a number variable. Gummiebärchen_Blau_Nummer is 3.
  46. Gummiebärchen_Grün is on the Tisch. [4]
  47. Gummiebärchen_Grün_Bool is a number variable. Gummiebärchen_Grün_Bool is 0.
  48. Gummiebärchen_Grün_Nummer is a number variable. Gummiebärchen_Grün_Nummer is 4.
  49. Gummiebärchen_Orange is on the Tisch. [5]
  50. Gummiebärchen_Orange_Bool is a number variable. Gummiebärchen_Orange_Bool is 0.
  51. Gummiebärchen_Orange_Nummer is a number variable. Gummiebärchen_Orange_Nummer is 5.
  52. Gummiebärchen_Pink is on the Tisch. [6]
  53. Gummiebärchen_Pink_Bool is a number variable. Gummiebärchen_Pink_Bool is 0.
  54. Gummiebärchen_Pink_Nummer is a number variable. Gummiebärchen_Pink_Nummer is 6.
  55.  
  56. [Statements]
  57. Instead of taking the TIsch:
  58. if helper is 0:
  59. Now helper is 1;
  60. while helper is 1:
  61. if Counter is 6:
  62. say "Es liegen keine Gummiebärchen mehr auf dem Tisch.";
  63. stop the action;
  64. otherwise:
  65. Now Random_Number is a random number from 1 to 6;
  66. if Random_Number is Gummiebärchen_Rot_Nummer:
  67. if Gummiebärchen_Rot_Bool is 0:
  68. say "Gummiebärchen_Rot liegt nun auf dem Boden.";
  69. Now Gummiebärchen_Rot_Bool is 1;
  70. Now helper is 0;
  71. Now counter is counter plus 1;
  72. otherwise if Random_Number is Gummiebärchen_Gelb_Nummer:
  73. if Gummiebärchen_Gelb_Bool is 0:
  74. say "Gummiebärchen_Gelb liegt nun auf dem Boden.";
  75. Now Gummiebärchen_Gelb_Bool is 1;
  76. Now helper is 0;
  77. Now counter is counter plus 1;
  78. otherwise if Random_Number is Gummiebärchen_Blau_Nummer:
  79. if Gummiebärchen_Blau_Bool is 0:
  80. say "Gummiebärchen_Blau liegt nun auf dem Boden.";
  81. Now Gummiebärchen_Blau_Bool is 1;
  82. Now helper is 0;
  83. Now counter is counter plus 1;
  84. otherwise if Random_Number is Gummiebärchen_Grün_Nummer:
  85. if Gummiebärchen_Grün_Bool is 0:
  86. say "Gummiebärchen_Grün liegt nun auf dem Boden.";
  87. Now Gummiebärchen_Grün_Bool is 1;
  88. Now helper is 0;
  89. Now counter is counter plus 1;
  90. otherwise if Random_Number is Gummiebärchen_Orange_Nummer:
  91. if Gummiebärchen_Orange_Bool is 0:
  92. say "Gummiebärchen_Orange liegt nun auf dem Boden.";
  93. Now Gummiebärchen_Orange_Bool is 1;
  94. Now helper is 0;
  95. Now counter is counter plus 1;
  96. otherwise if Random_Number is Gummiebärchen_Pink_Nummer:
  97. if Gummiebärchen_Pink_Bool is 0:
  98. say "Gummiebärchen_Pink liegt nun auf dem Boden.";
  99. Now Gummiebärchen_Pink_Bool is 1;
  100. Now helper is 0;
  101. Now counter is counter plus 1;
  102.  
  103.  
  104. Instead of taking the Gummiebärchen_Rot:
  105. if Gummiebärchen_Rot_Bool is 0:
  106. say "Solange dies auf dem Tisch liegt kann ich es nicht aufheben!";
  107. stop the action;
  108. otherwise if Gummiebärchen_Rot_Bool is 1:
  109. say "Aufgehoben!";
  110. continue the action;
  111.  
  112. Instead of taking the Gummiebärchen_Blau:
  113. if Gummiebärchen_Blau_Bool is 0:
  114. say "Solange dies auf dem Tisch liegt kann ich es nicht aufheben!";
  115. stop the action;
  116. otherwise if Gummiebärchen_Blau_Bool is 1:
  117. say "Aufgehoben!";
  118. continue the action;
  119.  
  120. Instead of taking the Gummiebärchen_Gelb:
  121. if Gummiebärchen_Gelb_Bool is 0:
  122. say "Solange dies auf dem Tisch liegt kann ich es nicht aufheben!";
  123. stop the action;
  124. otherwise if Gummiebärchen_Gelb_Bool is 1:
  125. say "Aufgehoben!";
  126. continue the action;
  127.  
  128. Instead of taking the Gummiebärchen_Grün:
  129. if Gummiebärchen_Grün_Bool is 0:
  130. say "Solange dies auf dem Tisch liegt kann ich es nicht aufheben!";
  131. stop the action;
  132. otherwise if Gummiebärchen_Grün_Bool is 1:
  133. say "Aufgehoben!";
  134. continue the action;
  135.  
  136. Instead of taking the Gummiebärchen_Orange:
  137. if Gummiebärchen_Orange_Bool is 0:
  138. say "Solange dies auf dem Tisch liegt kann ich es nicht aufheben!";
  139. stop the action;
  140. otherwise if Gummiebärchen_Orange_Bool is 1:
  141. say "Aufgehoben!";
  142. continue the action;
  143.  
  144. Instead of taking the Gummiebärchen_Pink:
  145. if Gummiebärchen_Pink_Bool is 0:
  146. say "Solange dies auf dem Tisch liegt kann ich es nicht aufheben!";
  147. stop the action;
  148. otherwise if Gummiebärchen_Pink_Bool is 1:
  149. say "Aufgehoben!";
  150. continue the action;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement