Guest User

Untitled

a guest
Jun 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Tools by Andrew Dupont begins here.
  2.  
  3. Book 1 - Stuff
  4.  
  5. Chapter 1 - Generic Objects
  6.  
  7. Section 1 - Unscrewing
  8.  
  9. A thing can be unscrewable. A thing is usually not unscrewable.
  10. A thing can be screw-removing. A thing is usually not screw-removing.
  11.  
  12. Unscrewing is an action applying to one visible thing and one thing.
  13.  
  14. Understand "unscrew [thing] with [thing]" as unscrewing.
  15. Understand "use [screw-removing thing] on/with [thing]" as unscrewing (with nouns reversed).
  16.  
  17.  
  18. [UNSCREWING rules]
  19. Unscrewing rules are an object-based rulebook.
  20.  
  21. An unscrewing rule for something (called candidate) (this is the can unscrew rule):
  22. if the candidate is screw-removing:
  23. rule succeeds;
  24. otherwise:
  25. rule fails.
  26.  
  27. [CAN-BE-UNSCREWED rules]
  28. Can-be-unscrewed rules are an object-based rulebook.
  29.  
  30. A can-be-unscrewed rule for something (called candidate) (this is the can be unscrewed rule):
  31. if the candidate is not unscrewable:
  32. say "I don't think that's possible.";
  33. rule fails;
  34. if the candidate is not fixed in place:
  35. say "It's already unscrewed.";
  36. rule fails;
  37. otherwise:
  38. rule succeeds.
  39.  
  40.  
  41. [CHECK/CARRY OUT rules]
  42. Check unscrewing:
  43. follow the unscrewing rules for the second noun;
  44. if the rule failed:
  45. rule fails;
  46. follow the can-be-unscrewed rules for the noun;
  47. if the rule failed:
  48. rule fails;
  49. otherwise:
  50. continue the action.
  51.  
  52. Carry out unscrewing:
  53. now the noun is not fixed in place.
  54.  
  55. Tools ends here.
Add Comment
Please, Sign In to add comment