Advertisement
Guest User

Untitled

a guest
Jul 13th, 2016
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 KB | None | 0 0
  1. "Robo Town" by NN
  2.  
  3. Use American dialect and the serial comma.
  4.  
  5.  
  6. [* Reading taken from The Trouble with Printing]
  7.  
  8. A thing has some text called printing. The printing of a thing is usually "blank".
  9.  
  10. Understand the command "read" as something new. Understand "read [something]" as reading. Reading is an action applying to one thing, requiring light. Check reading: if the printing of the noun is "blank", say "Nothing is written on [the noun]." instead.
  11. Carry out reading:
  12. if the noun is not a chip:
  13. say "You read: [paragraph break][printing of the noun][line break]";
  14. otherwise:
  15. say "You read: [paragraph break][programming of the noun][line break]".
  16.  
  17. Report reading: do nothing.
  18.  
  19. Robotics Repair Manual is a thing carried by the player. The description of the Robotics Repair Manual is "The Robotics Repair Manual by Systologics. Covers the basics of using and repairing robots for field agents.". Understand "manual" as the Robotics Repair Manual. The printing of the Robotics Repair Manual is "'The field of robotics has been vastly simplified. All robots now function by loading data from a chip; this chip can be used to load programming and behavior upon the robot it is inserted in. Simply give a robot a chip (making sure to remove the previous chip first) and tell it to reboot itself, and then it will load the programming and the chip may be removed. This allows multiple robots to have the same programming loaded from a single chip. However, not each robot reacts the same to the same programming due to...' [line break] The rest goes on about more advanced subjects than your level of comprehension.".
  20.  
  21. Chapter 1 - Robotics
  22.  
  23. Section 1 - Robotic Specifications
  24.  
  25. A robot is kind of person. [* Debatable, but good enough of a definition for now] A robot has some text called the programming. A chip is a kind of thing. A chip has some text called the programming. The programming of a robot is usually "NULL". The programming of a chip is usually "NULL".
  26.  
  27. Definition: a robot is blank if its programming is "NULL".
  28. Definition: a chip is blank if its programming is "NULL".
  29.  
  30.  
  31. When play begins:
  32. repeat with R running through robots:
  33. if R is wearing a chip (called C):
  34. now the programming of R is the programming of C.
  35.  
  36. Resetting is an action applying to nothing. Understand "reset" as resetting. Understand "reboot" as resetting. Understand "reload" as resetting.
  37.  
  38. Check someone resetting (this is the only robots can reset rule):
  39. if the person asked is not a robot, stop the action.
  40.  
  41. Carry out someone (called R) resetting:
  42. if R wears a chip (called C):
  43. Now the programming of R is the programming of C;
  44. otherwise:
  45. Now the programming of R is "NULL";
  46. if R is visible:
  47. say "[R] reboots and loads their new programming.".
  48.  
  49. Check resetting: say "You're a human!" instead.
  50.  
  51. Persuasion rule for asking robots to try resetting: persuasion succeeds.
  52.  
  53. After asking robots to try resetting: try looking.
  54.  
  55. Section 2 - Robot Possessions
  56.  
  57. The new can't take people's possessions rule is listed instead of the can't take people's possessions rule in the check taking rulebook.
  58.  
  59. This is the new can't take people's possessions rule:
  60. if the noun is a chip and the holder of the noun is a robot:
  61. say "[The holder of the noun] opens up its chip tray. You take [the noun].";
  62. continue the action;
  63. else:
  64. abide by the can't take people's possessions rule.
  65.  
  66. Before giving a chip to a robot:
  67. if the holder of the noun wears a chip (called C):
  68. say "(first removing the old chip) ";
  69. try taking C.
  70.  
  71. The robot-compatible giving rule is listed instead of the block giving rule in the check giving it to rulebook.
  72.  
  73. This is the robot-compatible giving rule:
  74. if giving a chip to a robot:
  75. continue the action;
  76. otherwise:
  77. abide by the block giving rule.
  78.  
  79. Before giving a chip to a robot:
  80. if the second noun is wearing a chip, say "[The second noun] already has a programming chip." instead.
  81.  
  82. After giving a chip to a robot:
  83. say "[The second noun] is now ready to load [the noun]'s programming.";
  84. now the second noun wears the noun.
  85.  
  86. Section 3 - Chip Microcode
  87.  
  88. Table 1.1 - Robot Microcode
  89. Name Mayor Code Nacho Code Broken Code
  90. "PUP" "waving mayorally" "emitting nacho smells" "sparking"
  91. "CAT" "twitching its whiskers bossily" "meowing the word 'NACHO'" "sparking felinely"
  92. "RED" "experiencing an incompatibility issue" "experiencing an incompatibility issue" "functioning aggressively"
  93.  
  94. After looking:
  95. if the number of visible blank robots is greater than one:
  96. say "The following robots are idling: [list of visible blank robots].";
  97. otherwise if the number of visible blank robots is one:
  98. say "[List of visible blank robots] is idling.";
  99. repeat with robot running through visible robots:
  100. if the robot is not blank:
  101. say "[The robot] is [no line break]";
  102. choose row with a name of the printed name of Robot in the Table of Robot Microcode;
  103. if the programming of the robot matches the text "Mayor Code":
  104. say "[the mayor code entry][no line break]";
  105. if the programming of the robot matches the text "Nacho Code":
  106. say "[the nacho code entry][no line break]";
  107. if the programming of the robot matches the text "Broken Code":
  108. say "[the broken code entry][no line break]";
  109. say ".".
  110.  
  111. After PUP resetting:
  112. if the programming of PUP matches the text "Mayor Code":
  113. if the programming of CAT matches the text "Nacho Code":
  114. say "PUP yells 'Nachos are prohibited!'[line break]CAT is dragged away.";
  115. now CAT is off-stage.
  116.  
  117. Chapter 2 - The Town
  118.  
  119. The Town Center is a room.
  120.  
  121. PUP is a robot. PUP is in the town center. "A tiny four legged drone designated 'PUP' walks aimlessly in circles." A hat is a thing. PUP is wearing a hat. The mayor chip is a chip in the town center. "A golden chip glimmers expensively." The programming of the mayor chip is "Mayor Code". Understand "golden chip" as the Mayor chip.
  122.  
  123. CAT is a robot. CAT is in the town center. "A tiny four legged drone designated 'CAT' walks aimlessly in circles." RED is a robot. RED is in the town center. "A small, weird looking drone designated 'RED' spins."
  124.  
  125. The Broken Chip is a chip in the town center. "This broken chip is fried." The programming of the broken chip is "Nacho Code".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement