Advertisement
logicmoo

Gleaned TheSims acts

Feb 16th, 2020
1,339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 12.22 KB | None | 0 0
  1. verb_desc(actOperate, tShower, "wash self with X").
  2. verb_desc(actOperate, tShower, "take a shower").
  3. verb_desc(actOperate, tBathTub, "wash self with X").
  4. verb_desc(actOperate, tBathTub, "Take a Bath").
  5. verb_desc(actOperate, tSink, "Wash Hands").
  6. verb_desc(actDance, tDanceBall, "Dance! Dance!").
  7. verb_desc("actOperate", tWashingMachine, "Wash The Clothes").
  8. verb_desc("actOperate", tClothesDryer, "Dry The Clothes").
  9. verb_desc(actSleep, tBed, "Sleep a few").
  10. verb_desc(actSleep, tMattress, "Sleep a few").
  11. verb_desc(actSit, tChair, "Sit down").
  12. verb_desc(actSit, tCouch, "Sit down").
  13. verb_desc(actObserve, tRadio, "Listen to Radio").
  14. verb_desc(actObserve, tMirror, "Pop your zits").
  15. verb_desc(actPotty, tToilet, "Go potty").
  16. verb_desc(actClean, tToilet, "Flush it").
  17. verb_desc(actSearch, tFridge, "Raid the fridge").
  18. verb_desc("actOperate", tMicrowave, "see what was forgotten in the microwave").
  19. verb_desc(actOperate, tTreadmill, "Excersize with X").
  20. verb_desc(actOperate, tTreadmill, "Tread the mill").
  21. verb_desc(actOperate, tFixedLamp, "flip the switch").
  22. verb_desc(actOperate, tPooltable, "Play pool").
  23. verb_desc(actPutXOn, tBookcase, "Organize books").
  24. verb_desc(actObserve, tReadAble, "Read book").
  25. verb_desc(actTake, tReadAble, "Take the materials").
  26. verb_desc(actEat, tEatAble, "Eat the food").
  27. verb_desc(actTake, tEatAble, "Take the food").
  28. verb_desc(actObserve, tArt, "Apreciate the Art").
  29. verb_desc(actOperate, tDanceFloor, "Dance! Dance!").
  30. verb_desc(actOperate, tComputer, "Look busy doing something!").
  31. verb_desc(actTouch, tTouchAble, "Touch").
  32. verb_desc(actSit, tSitAble, "Sit on").
  33. verb_desc(actPutXOn, tHasSurface, "This is a Put_X_On placeholder").
  34. verb_desc(actEat, tEatAble, "Eat it").
  35. verb_desc(actTake, tCarryAble, "Take it").
  36. verb_desc(actSleep, tLayAble, "Lay on").
  37. verb_desc(actClean, tLookAble, "Clean").
  38. verb_desc(actObserve, tLookAble, "Observe").
  39. verb_desc(actExcersize, tSitAble, "Excersize").
  40. verb_desc(actTickle, tAgent, "Play with").
  41. verb_desc(actSearch, tContainer, "Eat from").
  42. verb_desc(actArgue, tAgent, "Argue").
  43. verb_desc(actTalk, tAgent, "Talk to").
  44. verb_desc(actAttack, tAgent, "Beat up").
  45. verb_desc(actKiss, tAgent, "Kiss").
  46. verb_desc(actThinkAbout, tLookAble, "Think about").
  47.  
  48. :- dynamic verb_for_type/2.
  49. :- multifile verb_for_type/2.
  50. :- public verb_for_type/2.
  51. :- module_transparent verb_for_type/2.
  52.  
  53. verb_for_type(actTravelThru, tPassable).
  54. verb_for_type(actObserve, tTelevision).
  55. verb_for_type(actBumpIntoBarrier, tFurniture).
  56. verb_for_type(actLiveAtLeastAMinute, tAgent).
  57. verb_for_type(actOperate, tShower).
  58. verb_for_type(actClean, tShower).
  59. verb_for_type(actOperate, tBathTub).
  60. verb_for_type(actClean, tBathTub).
  61. verb_for_type(actOperate, tSink).
  62. verb_for_type(actClean, tSink).
  63. verb_for_type(actDance, tDanceBall).
  64. verb_for_type("actOperate", tWashingMachine).
  65. verb_for_type(actClean, tWashingMachine).
  66. verb_for_type("actOperate", tClothesDryer).
  67. verb_for_type(actClean, tClothesDryer).
  68. verb_for_type(actSleep, tBed).
  69. verb_for_type(actSleep, tMattress).
  70. verb_for_type(actSit, tChair).
  71. verb_for_type(actSit, tCouch).
  72. verb_for_type(actObserve, tRadio).
  73. verb_for_type(actObserve, tMirror).
  74. verb_for_type(actPotty, tToilet).
  75. verb_for_type(actClean, tToilet).
  76. verb_for_type(actSearch, tFridge).
  77. verb_for_type("actOperate", tStove).
  78. verb_for_type("actOperate", tMicrowave).
  79. verb_for_type(actOperate, tTreadmill).
  80. verb_for_type(actOperate, tFixedLamp).
  81. verb_for_type(actOperate, tPooltable).
  82. verb_for_type(actObserve, tReadAble).
  83. verb_for_type(actTake, tReadAble).
  84. verb_for_type(actEat, tEatAble).
  85. verb_for_type(actTake, tEatAble).
  86. verb_for_type(actObserve, tArt).
  87. verb_for_type(actOperate, tDanceFloor).
  88. verb_for_type(actOperate, tComputer).
  89. verb_for_type(actTalk, tAgent).
  90. verb_for_type(actArgue, tAgent).
  91. verb_for_type(actAttack, tAgent).
  92. verb_for_type(actKiss, tAgent).
  93. verb_for_type(actTouch, tTouchAble).
  94. verb_for_type(actSit, tSitAble).
  95. verb_for_type(actTake, tCarryAble).
  96. verb_for_type(actSleep, tLayAble).
  97. verb_for_type(actClean, tLookAble).
  98. verb_for_type(actObserve, tLookAble).
  99. verb_for_type(actExcersize, tSitAble).
  100. verb_for_type(actTickle, tAgent).
  101. verb_for_type(actSearch, tContainer).
  102. verb_for_type(actThinkAbout, tLookAble).
  103.  
  104. :- dynamic verb_affordance_2/2.
  105.  
  106.  
  107. :- dynamic can_hold_type/2.
  108.  
  109. can_hold_type(tTable, tReadAble).
  110. can_hold_type(tTable, tEatAble).
  111. can_hold_type(tTrashContainer, tTake).
  112. can_hold_type(tTrashContainer, tTakeAble).
  113. can_hold_type(tBookcase, tReadAble).
  114.  
  115. :- dynamic verb_affordance/5.
  116.  
  117. verb_affordance(actObserve, tTelevision, mudNonLonelinessSocial, + 3, - 2).
  118. verb_affordance(actObserve, tTelevision, mudNonHunger, + 1, - 1).
  119. verb_affordance(actObserve, tTelevision, mudBladderEmpty, + 0, + 0).
  120. verb_affordance(actObserve, tTelevision, mudHygiene, + 0, + 0).
  121. verb_affordance(actObserve, tTelevision, mudSecureRoom, + 1, + 0).
  122. verb_affordance(actObserve, tTelevision, mudFun, + 2, + 1).
  123. verb_affordance(actObserve, tTelevision, mudSadToHappy, + 2, + 1).
  124. verb_affordance(actObserve, tTelevision, mudEnergy, + 1, - 1).
  125. verb_affordance(actBumpIntoBarrier, tFurniture, mudNonLonelinessSocial, - 300, + 0).
  126. verb_affordance(actBumpIntoBarrier, tFurniture, mudHygiene, - 300, + 0).
  127. verb_affordance(actBumpIntoBarrier, tFurniture, mudComfort, - 300, + 0).
  128. verb_affordance(actBumpIntoBarrier, tFurniture, mudEnergy, - 300, + 0).
  129. verb_affordance(actBumpIntoBarrier, tFurniture, mudFun, - 300, + 0).
  130. verb_affordance(actLiveAtLeastAMinute, tAgent, mudEnergy, + 0, - 2).
  131. verb_affordance(actLiveAtLeastAMinute, tAgent, mudNonHunger, + 0, - 2).
  132. verb_affordance(actLiveAtLeastAMinute, tAgent, mudBladderEmpty, + 0, - 2).
  133. verb_affordance(actLiveAtLeastAMinute, tAgent, mudHygiene, + 0, - 2).
  134. verb_affordance(actLiveAtLeastAMinute, tAgent, mudSecureRoom, + 0, - 2).
  135. verb_affordance(actLiveAtLeastAMinute, tAgent, mudNonLonelinessSocial, + 0, - 2).
  136. verb_affordance(actLiveAtLeastAMinute, tAgent, mudFun, + 0, - 2).
  137. verb_affordance(actLiveAtLeastAMinute, tAgent, mudSadToHappy, + 0, - 2).
  138. verb_affordance(actLiveAtLeastAMinute, tAgent, mudComfort, + 0, - 2).
  139. verb_affordance(actOperate, tShower, mudComfort, + 10, + 10).
  140. verb_affordance(actOperate, tShower, mudHygiene, + 30, + 30).
  141. verb_affordance(actOperate, tBathTub, mudComfort, + 20, + 20).
  142. verb_affordance(actOperate, tBathTub, mudEnergy, - 20, - 20).
  143. verb_affordance(actOperate, tBathTub, mudHygiene, + 100, + 100).
  144. verb_affordance(actOperate, tSink, mudComfort, + 0, + 0).
  145. verb_affordance(actOperate, tSink, mudHygiene, + 10, + 10).
  146. verb_affordance(actDance, tDanceBall, mudNonLonelinessSocial, + 10, + 10).
  147. verb_affordance(actDance, tDanceBall, mudEnergy, - 10, - 20).
  148. verb_affordance(actDance, tDanceBall, mudFun, + 10, + 10).
  149. verb_affordance(actDance, tDanceBall, mudHygiene, - 10, - 10).
  150. verb_affordance("actOperate", tWashingMachine, mudComfort, + 0, + 0).
  151. verb_affordance("actOperate", tWashingMachine, mudHygiene, + 10, + 10).
  152. verb_affordance("actOperate", tClothesDryer, mudComfort, + 0, + 0).
  153. verb_affordance("actOperate", tClothesDryer, mudHygiene, + 10, + 10).
  154. verb_affordance(actSleep, tBed, mudComfort, + 10, + 30).
  155. verb_affordance(actSleep, tBed, mudEnergy, + 100, + 80).
  156. verb_affordance(actSleep, tMattress, mudComfort, + 10, + 30).
  157. verb_affordance(actSleep, tMattress, mudEnergy, + 100, + 80).
  158. verb_affordance(actSit, tChair, mudComfort, + 15, + 10).
  159. verb_affordance(actSit, tChair, mudEnergy, + 10, + 20).
  160. verb_affordance(actSit, tCouch, mudComfort, + 20, + 20).
  161. verb_affordance(actSit, tCouch, mudEnergy, + 10, + 20).
  162. verb_affordance(actObserve, tRadio, mudSecureRoom, + 1, + 0).
  163. verb_affordance(actObserve, tRadio, mudFun, + 10, + 10).
  164. verb_affordance(actObserve, tRadio, mudSadToHappy, + 10, + 10).
  165. verb_affordance(actObserve, tRadio, mudEnergy, + 1, - 1).
  166. verb_affordance(actObserve, tMirror, mudSecureRoom, + 1, + 0).
  167. verb_affordance(actObserve, tMirror, mudFun, + 10, + 10).
  168. verb_affordance(actObserve, tMirror, mudSadToHappy, + 10, - 1).
  169. verb_affordance(actObserve, tMirror, mudEnergy, + 1, - 1).
  170. verb_affordance(actPotty, tToilet, mudBladderEmpty, + 100, + 100).
  171. verb_affordance(actPotty, tToilet, mudHygiene, + 0, - 10).
  172. verb_affordance(actClean, tToilet, mudHygiene, + 1, + 4).
  173. verb_affordance(actClean, tToilet, mudFun, + 5, + 4).
  174. verb_affordance(actPutXOn, tBookcase, mudFun, + 10, + 10).
  175. verb_affordance(actPutXOn, tBookcase, mudSecureRoom, + 20, + 20).
  176. verb_affordance(actObserve, tReadAble, mudFun, + 10, + 10).
  177. verb_affordance(actObserve, tReadAble, mudSecureRoom, + 20, + 20).
  178. verb_affordance(actObserve, tArt, mudFun, + 10, + 10).
  179. verb_affordance(actObserve, tArt, mudSecureRoom, + 20, + 20).
  180. verb_affordance(actTalk, tAgent, mudNonLonelinessSocial, + 10, + 15).
  181. verb_affordance(actTalk, tAgent, mudFun, + 1, + 1).
  182. verb_affordance(actArgue, tAgent, mudNonLonelinessSocial, + 10, + 15).
  183. verb_affordance(actArgue, tAgent, mudEnergy, + 0, - 10).
  184. verb_affordance(actArgue, tAgent, mudSadToHappy, - 10, - 10).
  185. verb_affordance(actArgue, tAgent, mudFun, + 20, + 10).
  186. verb_affordance(actAttack, tAgent, mudNonLonelinessSocial, + 10, + 15).
  187. verb_affordance(actAttack, tAgent, mudEnergy, + 0, - 10).
  188. verb_affordance(actAttack, tAgent, mudSadToHappy, + 0, - 10).
  189. verb_affordance(actAttack, tAgent, mudFun, + 20, + 10).
  190. verb_affordance(actKiss, tAgent, mudNonLonelinessSocial, + 10, + 15).
  191. verb_affordance(actKiss, tAgent, mudSadToHappy, + 10, + 10).
  192. verb_affordance(actKiss, tAgent, mudFun, + 10, + 10).
  193. verb_affordance(actTouch, tTouchAble, mudFun, + 1, + 1).
  194. verb_affordance(actTouch, tTouchAble, mudSecureRoom, + 1, + 1).
  195. verb_affordance(actSit, tSitAble, mudComfort, + 1, + 0).
  196. verb_affordance(actSit, tSitAble, mudFun, + 1, + 1).
  197. verb_affordance(actSit, tSitAble, mudSecureRoom, + 1, + 1).
  198. verb_affordance(actPutXOn, tHasSurface, mudFun, - 2, + 2).
  199. verb_affordance(actPutXOn, tHasSurface, mudEnergy, + 0, - 1).
  200. verb_affordance(actEat, tEatAble, mudNonHunger, + 100, + 100).
  201. verb_affordance(actEat, tEatAble, mudHygiene, + 0, - 10).
  202. verb_affordance(actSleep, tLayAble, mudComfort, + 5, + 5).
  203. verb_affordance(actSleep, tLayAble, mudEnergy, + 20, + 20).
  204. verb_affordance(actClean, tLookAble, mudFun, - 2, + 2).
  205. verb_affordance(actClean, tLookAble, mudEnergy, + 0, - 1).
  206. verb_affordance(actObserve, tLookAble, mudFun, + 2, + 1).
  207. verb_affordance(actObserve, tLookAble, mudEnergy, + 0, - 1).
  208. verb_affordance(actExcersize, tSitAble, mudFun, + 10, + 10).
  209. verb_affordance(actExcersize, tSitAble, mudHygiene, - 10, - 10).
  210. verb_affordance(actTickle, tAgent, mudEnergy, - 10, - 10).
  211. verb_affordance(actTickle, tAgent, mudFun, + 20, + 10).
  212. verb_affordance(actSearch, tContainer, mudHygiene, + 0, - 5).
  213. verb_affordance(actSearch, tContainer, mudNonHunger, + 40, + 20).
  214. verb_affordance(actArgue, tAgent, mudEnergy, - 11, - 20).
  215. verb_affordance(actTalk, tAgent, mudNonLonelinessSocial, + 11, + 20).
  216. verb_affordance(actAttack, tAgent, mudEnergy, - 11, - 20).
  217. verb_affordance(actKiss, tAgent, mudNonLonelinessSocial, + 11, + 20).
  218. verb_affordance(actKiss, tAgent, mudFun, + 21, + 20).
  219. verb_affordance(actThinkAbout, tLookAble, mudFun, + 1, + 2).
  220.  
  221. :- dynamic vtActionTemplate/1.
  222. :- multifile vtActionTemplate/1.
  223. :- public vtActionTemplate/1.
  224. :- module_transparent vtActionTemplate/1.
  225.  
  226. vtActionTemplate(actImprove(rtStatPred)).
  227. vtActionTemplate(actNpcTimer(ftInt)).
  228. vtActionTemplate(actTock).
  229. vtActionTemplate(actTick).
  230. vtActionTemplate(actTick(tAgent)).
  231. vtActionTemplate(actIdea(isOptional(tAgent, isSelfAgent))).
  232. vtActionTemplate(actProlog(ftCallable)).
  233. vtActionTemplate(actTests).
  234. vtActionTemplate(actTest(ftTerm)).
  235. vtActionTemplate(actDo(vtVerb, ftListFn(ftTerm))).
  236. vtActionTemplate(actTextcmd(ftString)).
  237.  
  238. %   affordance/simbots.pfc compiled into baseKB 1.30 sec, 4 clauses
  239. %  /mnt/sde1/packs_sys/prologmud/prolog/prologmud/mobs/mobs_conf.pfc.pl compiled into baseKB 1.30 sec, 3 clauses
  240. %  /mnt/sde1/packs_sys/prologmud/prolog/prologmud/mobs/monster.pfc.pl compiled into baseKB 0.07 sec, 4 clauses
  241. %  /mnt/sde1/packs_sys/prologmud/prolog/prologmud/mobs/pddl_agent.pfc.pl compiled into baseKB 0.17 sec, 4 clauses
  242. %  /mnt/sde1/packs_sys/prologmud/prolog/prologmud/mobs/predator.pfc.pl compiled into baseKB 0.11 sec, 4 clauses
  243. %  /mnt/sde1/packs_sys/prologmud/prolog/prologmud/mobs/prey.pfc.pl compiled into baseKB 0.31 sec, 5 clauses
  244. %  /mnt/sde1/packs_sys/prologmud/prolog/prologmud/mobs/vacuum.pfc.pl compiled into baseKB 0.11 sec, 4 clauses
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement