Advertisement
logicmoo

'...verbose...'('cabinate is closed from seeing In')

Nov 24th, 2018
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 52.52 KB | None | 0 0
  1. % GOALS ARE: [goal(goto_dir_step_1,kitchen\=player~1)]
  2.  
  3. %  BINDING ADDED: kitchen\=player~1
  4.  
  5. % planner:'FOUND SOLUTION?~n'.
  6.  
  7. % planner:' BINDINGS are SAFE~n'.
  8.  
  9. % planner:'FULL PLAN is:~n'.
  10.  
  11. plan([ step(start,
  12.             oper('player~1',
  13.                  true,
  14.                  [],
  15.                  [ h(exit(north),garden,kitchen),
  16.                    h(in,brklamp,garden),
  17.                    h(in,screendoor,garden),
  18.                    h(in,'rock~1',garden),
  19.                    h(in,'fountain~1',garden),
  20.                    h(in,'mushroom~1',garden),
  21.                    h(in,'player~1',garden),
  22.                    props(garden,
  23.                          [ volume_capacity = 10000,
  24.                            default_rel = in,
  25.                            nouns([here,garden]),
  26.                            adjs([locally]),
  27.                            can_be(take,f),
  28.                            cant_go($ agent,
  29.                                    up,
  30.                                    'You lack the ability to fly.')
  31.                          ]),
  32.                    h(exit(south),kitchen,garden),
  33.                    h(in,'plate~1','sink~1'),
  34.                    h(on,'lamp~1','table~1'),
  35.                    h(on,'box~1','table~1'),
  36.                    h(exit(west),
  37.                      kitchen,
  38.                      '<unknown>'(exit,exit(west),kitchen)),
  39.                    h(exit(east),
  40.                      kitchen,
  41.                      '<unknown>'(exit,exit(east),kitchen)),
  42.                    h(exit(north),
  43.                      kitchen,
  44.                      '<unknown>'(exit,exit(north),kitchen)),
  45.                    h(in,'cabinate~1',kitchen),
  46.                    h(in,'sink~1',kitchen),
  47.                    h(in,'table~1',kitchen),
  48.                    h(in,'crate~1',kitchen),
  49.                    props(kitchen,
  50.                          [ volume_capacity = 10000,
  51.                            default_rel = in,
  52.                            nouns([here,kitchen]),
  53.                            adjs([locally]),
  54.                            can_be(take,f),
  55.                            desc = 'cooking happens here'
  56.                          ]),
  57.                    h(in,'<unknown>'(closed,in,'box~1'),'box~1'),
  58.                    h(in,'<unknown>'(closed,in,'cabinate~1'),'cabinate~1'),
  59.                    h(in,'<unknown>'(closed,in,'crate~1'),'crate~1')
  60.                  ])),
  61.        step(finish,oper('player~1',true,[h(in,'player~1',kitchen)],[])),
  62.        step(goto_dir_step_1,
  63.             oper('player~1',
  64.                  goto_dir('player~1',walk,north),
  65.                  [ h(in,'player~1',garden),
  66.                    h(exit(north),garden,kitchen),
  67.                    garden \= 'player~1',
  68.                    kitchen \= 'player~1'
  69.                  ],
  70.                  [h(in,'player~1',kitchen),~(h(in,'player~1',garden))]))
  71.      ],
  72.      [ before(goto_dir_step_1,finish),
  73.        before(start,goto_dir_step_1),
  74.        before(start,finish)
  75.      ],
  76.      [kitchen\='player~1',garden\='player~1'],
  77.      [ causes(start,h(exit(north),garden,kitchen),goto_dir_step_1),
  78.        causes(start,h(in,'player~1',garden),goto_dir_step_1),
  79.        causes(goto_dir_step_1,h(in,'player~1',kitchen),finish)
  80.      ])
  81.  
  82. % aXiom(doing,goto_dir('player~1',walk,north)).
  83.  
  84. % aXiom(doing,status_msg(vBegin,goto_dir('player~1',walk,north))).
  85.  
  86. % aXiom(doing,leaving('player~1',garden,walk,north)).
  87.  
  88. % aXiom(doing,terminates(h(_60870,'player~1',garden))).
  89.  
  90. % aXiom(doing,arriving('player~1',kitchen,walk,south)).
  91.  
  92. % aXiom(doing,initiates(h(in,'player~1',kitchen))).
  93.  
  94. % aXiom(doing,status_msg(vDone,goto_dir('player~1',walk,north))).
  95.  
  96. player~1 left walk gardening north
  97.  {{ arriving(kitchen,walk,south) }}
  98.  
  99. % player~1 Goals some Satisfied: [h(in,'player~1',kitchen)].  Unsatisfied: [].
  100.  
  101. % player~1 @ kitchen: already about todo: goto_dir(player~1,walk,west)
  102.  
  103. % aXiom(doing,goto_dir('player~1',walk,west)).
  104.  
  105. % aXiom(doing,status_msg(vBegin,goto_dir('player~1',walk,west))).
  106.  
  107. % aXiom(doing,leaving('player~1',kitchen,walk,west)).
  108.  
  109. % aXiom(doing,terminates(h(_53886,'player~1',kitchen))).
  110.  
  111. % aXiom(doing,arriving('player~1',living_room,walk,east)).
  112.  
  113. % aXiom(doing,initiates(h(in,'player~1',living_room))).
  114.  
  115. % aXiom(doing,status_msg(vDone,goto_dir('player~1',walk,west))).
  116.  
  117. player~1 left walk kitchening west
  118.  {{ arriving(living_room,walk,east) }}
  119.  
  120. % player~1 @ living_room: already about todo: look(player~1)
  121.  
  122. % aXiom(doing,look('player~1')).
  123.  
  124. Player~1 notices the living_room: ( volume_capacity is 10000, default_rel is in, ( Nouns: [ here, living_room ] ), ( Adjs: [ locally ] ) and cannot be taken! )
  125. Player~1 is in living_room and sees: fireplace and videocamera.
  126. Exits in living_room are: east and south.
  127.  
  128.  
  129. % player~1 @ living_room: already about todo: look(player~1)
  130.  
  131. % aXiom(doing,look('player~1')).
  132.  
  133. Player~1 notices the living_room: ( volume_capacity is 10000, default_rel is in, ( Nouns: [ here, living_room ] ), ( Adjs: [ locally ] ) and cannot be taken! )
  134. Player~1 is in living_room and sees: fireplace and videocamera.
  135. Exits in living_room are: east and south.
  136.  
  137. '...verbose...'('nothing over fireplace')
  138. '...verbose...'('nothing in fireplace')
  139. '...verbose...'('nothing over fireplace')
  140. '...verbose...'('nothing in fireplace')
  141. player~1@spatial> a
  142. a
  143.  
  144. % aXiom(doing,goto_dir('player~1',walk,south)).
  145.  
  146. % aXiom(doing,status_msg(vBegin,goto_dir('player~1',walk,south))).
  147.  
  148. % aXiom(doing,leaving('player~1',living_room,walk,south)).
  149.  
  150. % aXiom(doing,terminates(h(_28658,'player~1',living_room))).
  151.  
  152. % aXiom(doing,arriving('player~1',kitchen,walk,north)).
  153.  
  154. % aXiom(doing,initiates(h(in,'player~1',kitchen))).
  155.  
  156. % aXiom(doing,status_msg(vDone,goto_dir('player~1',walk,south))).
  157.  
  158. player~1 left walk living_rooming south
  159.  {{ arriving(kitchen,walk,north) }}
  160.  
  161. % player~1 @ kitchen: already about todo: look(player~1)
  162.  
  163. % aXiom(doing,look('player~1')).
  164.  
  165. Player~1 notices the kitchen: ( volume_capacity is 10000, default_rel is in, ( Nouns: [ here, kitchen ] ), ( Adjs: [ locally ] ), cannot be taken! and desc is cooking happens here )
  166. Player~1 is in kitchen and sees: crate, table, sink, cabinate and screendoor.
  167. Exits in kitchen are: north, south, east and west.
  168.  
  169. '...verbose...'('crate is closed from seeing In')
  170. Player~1 see on table: box and lamp.
  171. Player~1 see in sink: plate.
  172. '...verbose...'('nothing on sink')
  173. '...verbose...'('cabinate is closed from seeing In')
  174. '...verbose...'('nothing on cabinate')
  175. '...verbose...'('box is closed from seeing In')
  176. '...verbose...'('nothing on plate')
  177. player~1@spatial> s
  178. s
  179.  
  180. % aXiom(doing,goto_dir('player~1',walk,south)).
  181.  
  182. % aXiom(doing,status_msg(vBegin,goto_dir('player~1',walk,south))).
  183.  
  184. % aXiom(doing,leaving('player~1',kitchen,walk,south)).
  185.  
  186. % aXiom(doing,terminates(h(_43492,'player~1',kitchen))).
  187.  
  188. % aXiom(doing,arriving('player~1',garden,walk,north)).
  189.  
  190. % aXiom(doing,initiates(h(in,'player~1',garden))).
  191.  
  192. % aXiom(doing,status_msg(vDone,goto_dir('player~1',walk,south))).
  193.  
  194. player~1 left walk kitchening south
  195.  {{ arriving(garden,walk,north) }}
  196.  
  197. % player~1 @ garden: already about todo: look(player~1)
  198.  
  199. % aXiom(doing,look('player~1')).
  200.  
  201. Player~1 notices the garden: ( volume_capacity is 10000, default_rel is in, ( Nouns: [ here, garden ] ), ( Adjs: [ locally ] ), cannot be taken! and {{ cant_go($agent,up,'You lack the ability to fly.') }} )
  202. Player~1 is in garden and sees: mushroom, fountain, rock, screendoor and brklamp.
  203. Exits in garden are: north.
  204.  
  205. '...verbose...'('nothing in fountain')
  206. '...verbose...'('nothing on fountain')
  207. player~1@spatial> n
  208. n
  209.  
  210. % aXiom(doing,goto_dir('player~1',walk,north)).
  211.  
  212. % aXiom(doing,status_msg(vBegin,goto_dir('player~1',walk,north))).
  213.  
  214. % aXiom(doing,leaving('player~1',garden,walk,north)).
  215.  
  216. % aXiom(doing,terminates(h(_44380,'player~1',garden))).
  217.  
  218. % aXiom(doing,arriving('player~1',kitchen,walk,south)).
  219.  
  220. % aXiom(doing,initiates(h(in,'player~1',kitchen))).
  221.  
  222. % aXiom(doing,status_msg(vDone,goto_dir('player~1',walk,north))).
  223.  
  224. player~1 left walk gardening north
  225.  {{ arriving(kitchen,walk,south) }}
  226.  
  227. % player~1 @ kitchen: already about todo: look(player~1)
  228.  
  229. % aXiom(doing,look('player~1')).
  230.  
  231. Player~1 notices the kitchen: ( volume_capacity is 10000, default_rel is in, ( Nouns: [ here, kitchen ] ), ( Adjs: [ locally ] ), cannot be taken! and desc is cooking happens here )
  232. Player~1 is in kitchen and sees: crate, table, sink, cabinate and screendoor.
  233. Exits in kitchen are: north, south, east and west.
  234.  
  235. '...verbose...'('crate is closed from seeing In')
  236. Player~1 see on table: box and lamp.
  237. Player~1 see in sink: plate.
  238. '...verbose...'('nothing on sink')
  239. '...verbose...'('cabinate is closed from seeing In')
  240. '...verbose...'('nothing on cabinate')
  241. '...verbose...'('box is closed from seeing In')
  242. '...verbose...'('nothing on plate')
  243. player~1@spatial> mem
  244. mem
  245. [ todo([]),
  246.   model([ holds_at(h(in,'plate~1','sink~1'),43),
  247.           holds_at(h(on,'lamp~1','table~1'),42),
  248.           holds_at(h(on,'box~1','table~1'),42),
  249.           holds_at(h(exit(west),kitchen,living_room),40),
  250.           holds_at(h(exit(east),
  251.                      kitchen,
  252.                      '<unknown>'(exit,exit(east),kitchen)),
  253.                    40),
  254.           holds_at(h(exit(south),kitchen,garden),40),
  255.           holds_at(h(exit(north),
  256.                      kitchen,
  257.                      '<unknown>'(exit,exit(north),kitchen)),
  258.                    40),
  259.           holds_at(h(in,screendoor,kitchen),40),
  260.           holds_at(h(in,'cabinate~1',kitchen),40),
  261.           holds_at(h(in,'sink~1',kitchen),40),
  262.           holds_at(h(in,'table~1',kitchen),40),
  263.           holds_at(h(in,'crate~1',kitchen),40),
  264.           holds_at(h(in,'player~1',kitchen),40),
  265.           holds_at(props(kitchen,
  266.                          [ volume_capacity = 10000,
  267.                            default_rel = in,
  268.                            nouns([here,kitchen]),
  269.                            adjs([locally]),
  270.                            can_be(take,f),
  271.                            desc = 'cooking happens here'
  272.                          ]),
  273.                    40),
  274.           holds_at(h(exit(north),garden,kitchen),39),
  275.           holds_at(h(in,brklamp,garden),37),
  276.           holds_at(h(in,'rock~1',garden),37),
  277.           holds_at(h(in,'fountain~1',garden),37),
  278.           holds_at(h(in,'mushroom~1',garden),37),
  279.           holds_at(props(garden,
  280.                          [ volume_capacity = 10000,
  281.                            default_rel = in,
  282.                            nouns([here,garden]),
  283.                            adjs([locally]),
  284.                            can_be(take,f),
  285.                            cant_go($ agent,
  286.                                    up,
  287.                                    'You lack the ability to fly.')
  288.                          ]),
  289.                    37),
  290.           holds_at(h(exit(south),living_room,kitchen),28),
  291.           holds_at(h(exit(east),
  292.                      living_room,
  293.                      '<unknown>'(exit,exit(east),living_room)),
  294.                    25),
  295.           holds_at(h(in,'videocamera~1',living_room),25),
  296.           holds_at(h(in,'fireplace~1',living_room),25),
  297.           holds_at(props(living_room,
  298.                          [ volume_capacity = 10000,
  299.                            default_rel = in,
  300.                            nouns([here,living_room]),
  301.                            adjs([locally]),
  302.                            can_be(take,f)
  303.                          ]),
  304.                    25),
  305.           holds_at(h(in,'<unknown>'(closed,in,'box~1'),'box~1'),6),
  306.           holds_at(h(in,'<unknown>'(closed,in,'cabinate~1'),'cabinate~1'),5),
  307.           holds_at(h(in,'<unknown>'(closed,in,'crate~1'),'crate~1'),2)
  308.         ]),
  309.   notice_children('player~1',see,'plate~1',on,depth(1),[]),
  310.   timestamp(46,25),
  311.   notice_children('player~1',
  312.                   see,
  313.                   'box~1',
  314.                   in,
  315.                   depth(1),
  316.                   '<unknown>'(closed,in,'box~1')),
  317.   timestamp(45,25),
  318.   notice_children('player~1',see,'cabinate~1',on,depth(2),[]),
  319.   notice_children('player~1',
  320.                   see,
  321.                   'cabinate~1',
  322.                   in,
  323.                   depth(2),
  324.                   '<unknown>'(closed,in,'cabinate~1')),
  325.   timestamp(44,25),
  326.   notice_children('player~1',see,'sink~1',on,depth(2),[]),
  327.   notice_children('player~1',see,'sink~1',in,depth(2),['plate~1']),
  328.   timestamp(43,25),
  329.   notice_children('player~1',see,'table~1',on,depth(2),['box~1','lamp~1']),
  330.   timestamp(42,25),
  331.   notice_children('player~1',
  332.                   see,
  333.                   'crate~1',
  334.                   in,
  335.                   depth(2),
  336.                   '<unknown>'(closed,in,'crate~1')),
  337.   timestamp(41,25),
  338.   exits_are('player~1',in,kitchen,[north,south,east,west]),
  339.   notice_children('player~1',
  340.                   see,
  341.                   kitchen,
  342.                   in,
  343.                   depth(3),
  344.                   [ 'player~1',
  345.                     'crate~1',
  346.                     'table~1',
  347.                     'sink~1',
  348.                     'cabinate~1',
  349.                     screendoor
  350.                   ]),
  351.   timestamp(40,25),
  352.   did(look('player~1')),
  353.   arriving('player~1',kitchen,walk,south),
  354.   leaving('player~1',garden,walk,north),
  355.   timestamp(39,25),
  356.   did(goto_dir('player~1',walk,north)),
  357.   notice_children('player~1',see,'fountain~1',on,depth(2),[]),
  358.   notice_children('player~1',see,'fountain~1',in,depth(2),[]),
  359.   timestamp(38,23.1),
  360.   exits_are('player~1',in,garden,[north]),
  361.   notice_children('player~1',
  362.                   see,
  363.                   garden,
  364.                   in,
  365.                   depth(3),
  366.                   [ 'player~1',
  367.                     'mushroom~1',
  368.                     'fountain~1',
  369.                     'rock~1',
  370.                     screendoor,
  371.                     brklamp
  372.                   ]),
  373.   timestamp(37,23),
  374.   did(look('player~1')),
  375.   arriving('player~1',garden,walk,north),
  376.   leaving('player~1',kitchen,walk,south),
  377.   timestamp(36,23),
  378.   did(goto_dir('player~1',walk,south)),
  379.   notice_children('player~1',see,'plate~1',on,depth(1),[]),
  380.   timestamp(35,18.5),
  381.   notice_children('player~1',
  382.                   see,
  383.                   'box~1',
  384.                   in,
  385.                   depth(1),
  386.                   '<unknown>'(closed,in,'box~1')),
  387.   timestamp(34,18.5),
  388.   notice_children('player~1',see,'cabinate~1',on,depth(2),[]),
  389.   notice_children('player~1',
  390.                   see,
  391.                   'cabinate~1',
  392.                   in,
  393.                   depth(2),
  394.                   '<unknown>'(closed,in,'cabinate~1')),
  395.   timestamp(33,18.5),
  396.   notice_children('player~1',see,'sink~1',on,depth(2),[]),
  397.   notice_children('player~1',see,'sink~1',in,depth(2),['plate~1']),
  398.   timestamp(32,18.5),
  399.   notice_children('player~1',see,'table~1',on,depth(2),['box~1','lamp~1']),
  400.   timestamp(31,18.4),
  401.   notice_children('player~1',
  402.                   see,
  403.                   'crate~1',
  404.                   in,
  405.                   depth(2),
  406.                   '<unknown>'(closed,in,'crate~1')),
  407.   timestamp(30,18.4),
  408.   exits_are('player~1',in,kitchen,[north,south,east,west]),
  409.   notice_children('player~1',
  410.                   see,
  411.                   kitchen,
  412.                   in,
  413.                   depth(3),
  414.                   [ 'player~1',
  415.                     'crate~1',
  416.                     'table~1',
  417.                     'sink~1',
  418.                     'cabinate~1',
  419.                     screendoor
  420.                   ]),
  421.   timestamp(29,18.4),
  422.   did(look('player~1')),
  423.   arriving('player~1',kitchen,walk,north),
  424.   leaving('player~1',living_room,walk,south),
  425.   timestamp(28,18.4),
  426.   did(goto_dir('player~1',walk,south)),
  427.   notice_children('player~1',see,'fireplace~1',in,depth(2),[]),
  428.   notice_children('player~1',see,'fireplace~1',over,depth(2),[]),
  429.   timestamp(27,16.4),
  430.   notice_children('player~1',see,'fireplace~1',in,depth(2),[]),
  431.   notice_children('player~1',see,'fireplace~1',over,depth(2),[]),
  432.   timestamp(26,16.4),
  433.   exits_are('player~1',in,living_room,[east,south]),
  434.   notice_children('player~1',
  435.                   see,
  436.                   living_room,
  437.                   in,
  438.                   depth(3),
  439.                   ['player~1','fireplace~1','videocamera~1']),
  440.   timestamp(25,16.4),
  441.   did(look('player~1')),
  442.   exits_are('player~1',in,living_room,[east,south]),
  443.   notice_children('player~1',
  444.                   see,
  445.                   living_room,
  446.                   in,
  447.                   depth(3),
  448.                   ['player~1','fireplace~1','videocamera~1']),
  449.   timestamp(24,16.4),
  450.   did(look('player~1')),
  451.   arriving('player~1',living_room,walk,east),
  452.   leaving('player~1',kitchen,walk,west),
  453.   timestamp(23,16.4),
  454.   did(goto_dir('player~1',walk,west)),
  455.   goals_satisfied([h(in,'player~1',kitchen)]),
  456.   goals([]),
  457.   arriving('player~1',kitchen,walk,south),
  458.   leaving('player~1',garden,walk,north),
  459.   timestamp(22,16.4),
  460.   did(goto_dir('player~1',walk,north)),
  461.   did(goto_loc('player~1',walk,kitchen)),
  462.   notice_children('player~1',see,'fountain~1',on,depth(2),[]),
  463.   notice_children('player~1',see,'fountain~1',in,depth(2),[]),
  464.   timestamp(21,11.6),
  465.   exits_are('player~1',in,garden,[north]),
  466.   notice_children('player~1',
  467.                   see,
  468.                   garden,
  469.                   in,
  470.                   depth(3),
  471.                   [ 'player~1',
  472.                     'mushroom~1',
  473.                     'fountain~1',
  474.                     'rock~1',
  475.                     screendoor,
  476.                     brklamp
  477.                   ]),
  478.   timestamp(20,11.6),
  479.   did(look('player~1')),
  480.   arriving('player~1',garden,walk,north),
  481.   leaving('player~1',kitchen,walk,south),
  482.   timestamp(19,11.6),
  483.   did(goto_dir('player~1',walk,south)),
  484.   notice_children('player~1',see,'plate~1',on,depth(1),[]),
  485.   timestamp(18,10.9),
  486.   notice_children('player~1',
  487.                   see,
  488.                   'box~1',
  489.                   in,
  490.                   depth(1),
  491.                   '<unknown>'(closed,in,'box~1')),
  492.   timestamp(17,10.9),
  493.   notice_children('player~1',see,'cabinate~1',on,depth(2),[]),
  494.   notice_children('player~1',
  495.                   see,
  496.                   'cabinate~1',
  497.                   in,
  498.                   depth(2),
  499.                   '<unknown>'(closed,in,'cabinate~1')),
  500.   timestamp(16,10.8),
  501.   notice_children('player~1',see,'sink~1',on,depth(2),[]),
  502.   notice_children('player~1',see,'sink~1',in,depth(2),['plate~1']),
  503.   timestamp(15,10.8),
  504.   notice_children('player~1',see,'table~1',on,depth(2),['box~1','lamp~1']),
  505.   timestamp(14,10.8),
  506.   notice_children('player~1',
  507.                   see,
  508.                   'crate~1',
  509.                   in,
  510.                   depth(2),
  511.                   '<unknown>'(closed,in,'crate~1')),
  512.   timestamp(13,10.8),
  513.   exits_are('player~1',in,kitchen,[north,south,east,west]),
  514.   notice_children('player~1',
  515.                   see,
  516.                   kitchen,
  517.                   in,
  518.                   depth(3),
  519.                   [ 'player~1',
  520.                     'crate~1',
  521.                     'table~1',
  522.                     'sink~1',
  523.                     'cabinate~1',
  524.                     screendoor
  525.                   ]),
  526.   timestamp(12,10.8),
  527.   did(look('player~1')),
  528.   arriving('player~1',kitchen,walk,south),
  529.   leaving('player~1',garden,walk,north),
  530.   timestamp(11,10.8),
  531.   did(goto_dir('player~1',walk,north)),
  532.   notice_children('player~1',see,'fountain~1',on,depth(2),[]),
  533.   notice_children('player~1',see,'fountain~1',in,depth(2),[]),
  534.   timestamp(10,8.9),
  535.   exits_are('player~1',in,garden,[north]),
  536.   notice_children('player~1',
  537.                   see,
  538.                   garden,
  539.                   in,
  540.                   depth(3),
  541.                   [ 'player~1',
  542.                     'mushroom~1',
  543.                     'fountain~1',
  544.                     'rock~1',
  545.                     screendoor,
  546.                     brklamp
  547.                   ]),
  548.   timestamp(9,8.9),
  549.   did(look('player~1')),
  550.   arriving('player~1',garden,walk,north),
  551.   leaving('player~1',kitchen,walk,south),
  552.   timestamp(8,8.9),
  553.   did(goto_dir('player~1',walk,south)),
  554.   notice_children('player~1',see,'plate~1',on,depth(1),[]),
  555.   timestamp(7,7),
  556.   notice_children('player~1',
  557.                   see,
  558.                   'box~1',
  559.                   in,
  560.                   depth(1),
  561.                   '<unknown>'(closed,in,'box~1')),
  562.   timestamp(6,7),
  563.   notice_children('player~1',see,'cabinate~1',on,depth(2),[]),
  564.   notice_children('player~1',
  565.                   see,
  566.                   'cabinate~1',
  567.                   in,
  568.                   depth(2),
  569.                   '<unknown>'(closed,in,'cabinate~1')),
  570.   timestamp(5,7),
  571.   notice_children('player~1',see,'sink~1',on,depth(2),[]),
  572.   notice_children('player~1',see,'sink~1',in,depth(2),['plate~1']),
  573.   timestamp(4,7),
  574.   notice_children('player~1',see,'table~1',on,depth(2),['box~1','lamp~1']),
  575.   timestamp(3,6.9),
  576.   notice_children('player~1',
  577.                   see,
  578.                   'crate~1',
  579.                   in,
  580.                   depth(2),
  581.                   '<unknown>'(closed,in,'crate~1')),
  582.   timestamp(2,6.9),
  583.   exits_are('player~1',in,kitchen,[north,south,east,west]),
  584.   notice_children('player~1',
  585.                   see,
  586.                   kitchen,
  587.                   in,
  588.                   depth(3),
  589.                   [ 'crate~1',
  590.                     'table~1',
  591.                     'sink~1',
  592.                     'cabinate~1',
  593.                     'player~1',
  594.                     screendoor
  595.                   ]),
  596.   timestamp(1,6.9),
  597.   did(look('player~1')),
  598.   structure_label(mem('player~1')),
  599.   timestamp(0,6.8),
  600.   goals_skipped([]),
  601.   inst('player~1')
  602. ]
  603. player~1@spatial>
  604.  
  605.  
  606.  
  607.  
  608.  
  609. Loading tt0_00022_cycl.qlf  ...
  610. % 612 inferences, 0.227 CPU in 0.227 seconds (100% CPU, 2691 Lips)
  611. Loading ac_xnl_7166.qlf (this may take 60-120 seconds the very first time) ...
  612. % 696 inferences, 1.779 CPU in 1.780 seconds (100% CPU, 391 Lips)
  613. Loading clex_nldata.qlf ...
  614. % 391,020 inferences, 0.330 CPU in 0.330 seconds (100% CPU, 1183597 Lips)
  615. %         lists:(append/3): Not tracing
  616. %         lists:(list_to_set/2): Not tracing
  617. %         lists:(member_/3): Not tracing
  618.  
  619. % ensure_loaded(adv_agents).
  620.  
  621. % ensure_loaded(adv_robot_floyd).
  622.  
  623.  
  624. You may start the server with:
  625.  
  626.  ?- srv_mu.
  627.  
  628. % /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/nldata/clex_lexicon_user1.nldata:97543
  629. % init_why(program).
  630.  
  631. % adv_server(2666).
  632.  
  633. Server is starting on port 2666
  634. %  Thread Status       Time    Stack use    allocated
  635. % ---------------------------------------------------
  636. %    main running     7.134       21,312      776,168
  637. %      gc running     0.002          744      120,808
  638. % mu_2666 running     0.000          904      120,808
  639.  
  640. % planner:'ORDERING TEST:~n'.
  641.  
  642. %  unordered was {6,[before(start,finish),before(start,x),before(start,y),before(y,finish),before(x,z)],...(_5782)}
  643.  
  644. %  ordering is {8,[before(z,finish),before(x,finish),before(x,z),before(start,z),before(y,finish)],...(_6284)}
  645.  
  646. %  picked [start,x,y,z,finish]
  647.  
  648. %  picked [start,x,z,y,finish]
  649.  
  650. %  picked [start,y,x,z,finish]
  651.  
  652. % planner:' END ORDERING TEST~n'.
  653.  
  654. % iObjectList=['crate~1','apple~1','fireplace~1','videocamera~1','shovel~1','mushroom~1','fountain~1','rock~1','locker~1','shelf~1','table_leg~1','table~1','box~1','bowl~1','flour~1','lamp~1','sink~1','plate~1','cabinate~1','cup~1',screendoor,brklamp,'bag~1',pantry,living_room,kitchen,garden,dining_room,basement,'player~1','floyd~1','coins~1'].
  655.  
  656. % create_object('crate~1',[inherit(crate,t),nouns([crate])]).
  657.  
  658. % create_object('apple~1',[inherit(apple,t),nouns([apple])]).
  659.  
  660. % create_object('fireplace~1',[inherit(fireplace,t),nouns([fireplace])]).
  661.  
  662. % create_object('videocamera~1',[inherit(videocamera,t),nouns([videocamera])]).
  663.  
  664. % create_object('shovel~1',[inherit(shovel,t),nouns([shovel])]).
  665.  
  666. % create_object('mushroom~1',[inherit(mushroom,t),nouns([mushroom])]).
  667.  
  668. % create_object('fountain~1',[inherit(fountain,t),nouns([fountain])]).
  669.  
  670. % create_object('rock~1',[inherit(rock,t),nouns([rock])]).
  671.  
  672. % create_object('locker~1',[inherit(locker,t),nouns([locker])]).
  673.  
  674. % create_object('shelf~1',[inherit(shelf,t),nouns([shelf])]).
  675.  
  676. % create_object('table_leg~1',[inherit(table_leg,t),nouns([table_leg])]).
  677.  
  678. % create_object('table~1',[inherit(table,t),nouns([table])]).
  679.  
  680. % create_object('box~1',[inherit(box,t),nouns([box])]).
  681.  
  682. % create_object('bowl~1',[inherit(bowl,t),nouns([bowl])]).
  683.  
  684. % create_object('flour~1',[inherit(flour,t),nouns([flour])]).
  685.  
  686. % create_object('lamp~1',[inherit(lamp,t),nouns([lamp])]).
  687.  
  688. % create_object('sink~1',[inherit(sink,t),nouns([sink])]).
  689.  
  690. % create_object('plate~1',[inherit(plate,t),nouns([plate])]).
  691.  
  692. % create_object('cabinate~1',[inherit(cabinate,t),nouns([cabinate])]).
  693.  
  694. % create_object('cup~1',[inherit(cup,t),nouns([cup])]).
  695.  
  696. % create_object(screendoor,[door_to(kitchen),door_to(garden),opened=f,inherit(door,t)]).
  697.  
  698. % create_object(brklamp,[inherit(broken,t),name='possibly broken lamp',effect(switch(on),print_(_386,"Switch is flipped")),effect(hit,[print_("Hit brklamp"),setprop($self,inherit(broken,t))]),inherit(lamp,t)]).
  699.  
  700. % create_object('bag~1',[inherit(bag,t)]).
  701.  
  702. % create_object(pantry,[inherit(place,t),nouns(closet),nominals(kitchen),desc='You\'re in a dark pantry.',dark=t]).
  703.  
  704. % create_object(living_room,[inherit(place,t)]).
  705.  
  706. % create_object(kitchen,[inherit(place,t),desc='cooking happens here']).
  707.  
  708. % create_object(garden,[inherit(place,t),cant_go($agent,up,'You lack the ability to fly.'),cant_go($agent,_880,'The fence surrounding the garden is too tall and solid to pass.')]).
  709.  
  710. % create_object(dining_room,[inherit(place,t)]).
  711.  
  712. % create_object(basement,[inherit(place,t),desc='This is a very dark basement.',dark=t]).
  713.  
  714. % create_object('player~1',[name= $self,inherit(console,t),inherit(humanoid,t)]).
  715.  
  716. % create_object('floyd~1',[name='Floyd the robot',powered=f,inherit(autonomous,t),inherit(robot,t)]).
  717.  
  718. % create_object('coins~1',[inherit(coins,t)]).
  719. =============================================
  720. INIT STATE
  721. =============================================
  722. [ props('coins~1',
  723.         [ nouns([coins,'coins~1']),
  724.           adjs([shiny,physical,thinkable,fully_corporial,measurable]),
  725.           can_be(move,t),
  726.           class_desc([ 'kind is an Movable Object',
  727.                        'kind is normally thinkable',
  728.                        'kind is corporial'
  729.                      ]),
  730.           inherited(object),
  731.           can_be(touch,t),
  732.           can_be(examine,t),
  733.           inherited(thinkable),
  734.           cleanliness = clean,
  735.           inherited(fully_corporial),
  736.           inherited(shiny),
  737.           ammount = some,
  738.           inherited(measurable),
  739.           inherited(coins),
  740.           co([inherit(coins,t)])
  741.         ]),
  742.   props('floyd~1',
  743.         [ name = 'Floyd the robot',
  744.           powered = f,
  745.           knows_verbs(eat,f),
  746.           nouns([autonomous,robot,character,autoscan,'floyd~1']),
  747.           inherited(autonomous),
  748.           emitting(see,light),
  749.           mass = 200,
  750.           adjs([ metallic,
  751.                  shiny,
  752.                  physical,
  753.                  partly_noncorporial,
  754.                  thinkable,
  755.                  noncorporial
  756.                ]),
  757.           desc = 'Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.',
  758.           can_be(switch,t),
  759.           can_be(examine,t),
  760.           can_be(move,t),
  761.           class_desc([ 'kind is an Movable Object',
  762.                        'kind is normally thinkable',
  763.                        'direct inheriters are completely noncorporial',
  764.                        'kind is both partly corporial and non-corporial'
  765.                      ]),
  766.           inherited(object),
  767.           inherited(shiny),
  768.           has_rel(worn_by,t),
  769.           has_rel(held_by,t),
  770.           volume = 50,
  771.           knows_verbs(examine,t),
  772.           knows_verbs(touch,t),
  773.           has_sense(see),
  774.           inherited(autoscan),
  775.           inherit(fully_corporial,t),
  776.           can_be(touch,f),
  777.           inherited(thinkable),
  778.           isnt(fully_corporial),
  779.           inherited(noncorporial),
  780.           inherited(partly_noncorporial),
  781.           inherited(character),
  782.           effect(switch(on),setprop('floyd~1',powered=t)),
  783.           effect(switch(off),setprop('floyd~1',powered=f)),
  784.           inherited(robot),
  785.           co([ name = 'Floyd the robot',
  786.                powered = f,
  787.                inherit(autonomous,t),
  788.                inherit(robot,t)
  789.              ])
  790.         ]),
  791.   perceptq('floyd~1',[]),
  792.   memories('floyd~1',
  793.            [ structure_label(mem('floyd~1')),
  794.              timestamp(0,7.2),
  795.              goals([]),
  796.              goals_skipped([]),
  797.              goals_satisfied([]),
  798.              model([]),
  799.              todo([look('floyd~1')]),
  800.              inst('floyd~1')
  801.            ]),
  802.   props('player~1',
  803.         [ name = 'player~1',
  804.           adjs([physical,partly_noncorporial,thinkable,noncorporial]),
  805.           nominals([console]),
  806.           nouns([player,humanoid,character,autoscan,'player~1']),
  807.           inherited(console),
  808.           has_rel(worn_by,t),
  809.           has_rel(held_by,t),
  810.           mass = 50,
  811.           volume = 50,
  812.           knows_verbs(eat,t),
  813.           knows_verbs(examine,t),
  814.           knows_verbs(touch,t),
  815.           has_sense(see),
  816.           inherited(autoscan),
  817.           inherit(fully_corporial,t),
  818.           can_be(examine,f),
  819.           can_be(touch,f),
  820.           class_desc([ 'kind is normally thinkable',
  821.                        'direct inheriters are completely noncorporial',
  822.                        'kind is both partly corporial and non-corporial'
  823.                      ]),
  824.           inherited(thinkable),
  825.           isnt(fully_corporial),
  826.           inherited(noncorporial),
  827.           inherited(partly_noncorporial),
  828.           inherited(character),
  829.           inherited(player),
  830.           can_be(switch(off),f),
  831.           powered = t,
  832.           inherited(humanoid),
  833.           co([name= $self,inherit(console,t),inherit(humanoid,t)])
  834.         ]),
  835.   perceptq('player~1',[]),
  836.   memories('player~1',
  837.            [ structure_label(mem('player~1')),
  838.              timestamp(0,7.2),
  839.              goals([]),
  840.              goals_skipped([]),
  841.              goals_satisfied([]),
  842.              model([]),
  843.              todo([look('player~1')]),
  844.              inst('player~1')
  845.            ]),
  846.   props(basement,
  847.         [ volume_capacity = 10000,
  848.           default_rel = in,
  849.           has_rel(in,t),
  850.           nouns([here,basement]),
  851.           adjs([locally]),
  852.           can_be(move,f),
  853.           can_be(take,f),
  854.           has_rel(exit(_),t),
  855.           inherited(place),
  856.           desc = 'This is a very dark basement.',
  857.           dark = t,
  858.           co([ inherit(place,t),
  859.                desc = 'This is a very dark basement.',
  860.                dark = t
  861.              ])
  862.         ]),
  863.   props(dining_room,
  864.         [ volume_capacity = 10000,
  865.           default_rel = in,
  866.           has_rel(in,t),
  867.           nouns([here,dining_room]),
  868.           adjs([locally]),
  869.           can_be(move,f),
  870.           can_be(take,f),
  871.           has_rel(exit(_),t),
  872.           inherited(place),
  873.           co([inherit(place,t)])
  874.         ]),
  875.   props(garden,
  876.         [ volume_capacity = 10000,
  877.           default_rel = in,
  878.           has_rel(in,t),
  879.           nouns([here,garden]),
  880.           adjs([locally]),
  881.           can_be(move,f),
  882.           can_be(take,f),
  883.           has_rel(exit(_),t),
  884.           inherited(place),
  885.           cant_go($agent,up,'You lack the ability to fly.'),
  886.           co([ inherit(place,t),
  887.                cant_go($agent,up,'You lack the ability to fly.'),
  888.                cant_go($ agent,
  889.                        up,
  890.                        'The fence surrounding the garden is too tall and solid to pass.')
  891.              ])
  892.         ]),
  893.   props(kitchen,
  894.         [ volume_capacity = 10000,
  895.           default_rel = in,
  896.           has_rel(in,t),
  897.           nouns([here,kitchen]),
  898.           adjs([locally]),
  899.           can_be(move,f),
  900.           can_be(take,f),
  901.           has_rel(exit(_),t),
  902.           inherited(place),
  903.           desc = 'cooking happens here',
  904.           co([inherit(place,t),desc='cooking happens here'])
  905.         ]),
  906.   props(living_room,
  907.         [ volume_capacity = 10000,
  908.           default_rel = in,
  909.           has_rel(in,t),
  910.           nouns([here,living_room]),
  911.           adjs([locally]),
  912.           can_be(move,f),
  913.           can_be(take,f),
  914.           has_rel(exit(_),t),
  915.           inherited(place),
  916.           co([inherit(place,t)])
  917.         ]),
  918.   props(pantry,
  919.         [ volume_capacity = 10000,
  920.           default_rel = in,
  921.           has_rel(in,t),
  922.           nouns([here,pantry,closet]),
  923.           adjs([locally]),
  924.           can_be(move,f),
  925.           can_be(take,f),
  926.           has_rel(exit(_),t),
  927.           inherited(place),
  928.           nominals(kitchen),
  929.           desc = 'You\'re in a dark pantry.',
  930.          dark = t,
  931.          co([ inherit(place,t),
  932.               nouns(closet),
  933.               nominals(kitchen),
  934.               desc = 'You\'re in a dark pantry.',
  935.                dark = t
  936.              ])
  937.         ]),
  938.   props('bag~1',
  939.         [ nouns([bag,container,'bag~1']),
  940.           default_rel = in,
  941.           has_rel(in,t),
  942.           opened = f,
  943.           inherited(container),
  944.           adjs([physical,fully_corporial,thinkable]),
  945.           can_be(move,t),
  946.           can_be(touch,t),
  947.           cleanliness = clean,
  948.           class_desc([ 'kind is corporial',
  949.                        'kind is normally thinkable',
  950.                        'kind is an Movable Object'
  951.                      ]),
  952.           inherited(fully_corporial),
  953.           can_be(examine,t),
  954.           inherited(thinkable),
  955.           inherited(object),
  956.           volume_capacity = 10,
  957.           inherited(bag),
  958.           co([inherit(bag,t)])
  959.         ]),
  960.   props(brklamp,
  961.         [ name = 'definately broken',
  962.           effect(switch(on),true),
  963.           effect(switch(off),true),
  964.           adjs([dented,broken,shiny,physical,fully_corporial,thinkable]),
  965.           inherited(broken),
  966.           effect(hit,
  967.                  [ print_("Hit brklamp"),
  968.                    setprop(brklamp,inherit(broken,t))
  969.                  ]),
  970.           nouns([lamp,light,brklamp]),
  971.           nominals(brass),
  972.           inherited(shiny),
  973.           can_be(switch,t),
  974.           powered = t,
  975.           can_be(move,t),
  976.           can_be(touch,t),
  977.           cleanliness = clean,
  978.           class_desc([ 'kind is corporial',
  979.                        'kind is normally thinkable',
  980.                        'kind is an Movable Object'
  981.                      ]),
  982.           inherited(fully_corporial),
  983.           can_be(examine,t),
  984.           inherited(thinkable),
  985.           inherited(object),
  986.           emitting(see,light),
  987.           breaks_into = inherit(broken_lamp,t),
  988.           inherited(lamp),
  989.           co([ inherit(broken,t),
  990.                name = 'possibly broken lamp',
  991.                effect(switch(on),print_(_,"Switch is flipped")),
  992.                effect(hit,
  993.                       [ print_("Hit brklamp"),
  994.                         setprop($self,inherit(broken,t))
  995.                       ]),
  996.                inherit(lamp,t)
  997.              ])
  998.         ]),
  999.   props(screendoor,
  1000.         [ door_to(kitchen),
  1001.           door_to(garden),
  1002.           opened = f,
  1003.           nouns([door,screendoor]),
  1004.           can_be(take,f),
  1005.           can_be(open,t),
  1006.           can_be(close,t),
  1007.           can_be(touch,t),
  1008.           can_be(examine,t),
  1009.           adjs([thinkable,fully_corporial]),
  1010.           class_desc(['kind is normally thinkable','kind is corporial']),
  1011.           inherited(thinkable),
  1012.           cleanliness = clean,
  1013.           inherited(fully_corporial),
  1014.           inherited(door),
  1015.           co([ door_to(kitchen),
  1016.                door_to(garden),
  1017.                opened = f,
  1018.                inherit(door,t)
  1019.              ])
  1020.         ]),
  1021.   props('cup~1',
  1022.         [ nouns([cup,container,'cup~1']),
  1023.           adjs([physical,fully_corporial,thinkable]),
  1024.           default_rel = in,
  1025.           has_rel(in,t),
  1026.           opened = f,
  1027.           inherited(container),
  1028.           can_be(move,t),
  1029.           can_be(touch,t),
  1030.           cleanliness = clean,
  1031.           class_desc([ 'kind is corporial',
  1032.                        'kind is normally thinkable',
  1033.                        'kind is an Movable Object'
  1034.                      ]),
  1035.           inherited(fully_corporial),
  1036.           can_be(examine,t),
  1037.           inherited(thinkable),
  1038.           inherited(object),
  1039.           inherited(flask),
  1040.           inherited(cup),
  1041.           co([inherit(cup,t),nouns([cup])])
  1042.         ]),
  1043.   props('cabinate~1',
  1044.         [ nouns([cabinate,container,'cabinate~1']),
  1045.           default_rel = in,
  1046.           has_rel(in,t),
  1047.           opened = f,
  1048.           inherited(container),
  1049.           adjs([untakeable,fully_corporial,physical,thinkable]),
  1050.           can_be(take,f),
  1051.           class_desc([ 'kind is an Immobile Object',
  1052.                        'kind is corporial',
  1053.                        'kind is normally thinkable',
  1054.                        'kind is furnature'
  1055.                      ]),
  1056.           inherited(untakeable),
  1057.           can_be(touch,t),
  1058.           inherited(fully_corporial),
  1059.           has_rel(on,t),
  1060.           cleanliness = clean,
  1061.           inherited(surface),
  1062.           can_be(examine,t),
  1063.           inherited(thinkable),
  1064.           inherited(furnature),
  1065.           volume_capacity = 10,
  1066.           inherited(cabinate),
  1067.           co([inherit(cabinate,t),nouns([cabinate])])
  1068.         ]),
  1069.   props('plate~1',
  1070.         [ nouns([plate,'plate~1']),
  1071.           has_rel(on,t),
  1072.           default_rel = on,
  1073.           adjs([physical,fully_corporial,thinkable]),
  1074.           inherited(surface),
  1075.           can_be(move,t),
  1076.           can_be(touch,t),
  1077.           cleanliness = clean,
  1078.           class_desc([ 'kind is corporial',
  1079.                        'kind is normally thinkable',
  1080.                        'kind is an Movable Object'
  1081.                      ]),
  1082.           inherited(fully_corporial),
  1083.           can_be(examine,t),
  1084.           inherited(thinkable),
  1085.           inherited(object),
  1086.           volume_capacity = 2,
  1087.           breaks_into = shards,
  1088.           name = plate,
  1089.           inherited(plate),
  1090.           co([inherit(plate,t),nouns([plate])])
  1091.         ]),
  1092.   props('sink~1',
  1093.         [ nouns([sink,uncloseable,container,'sink~1']),
  1094.           cleanliness = dirty,
  1095.           can_be(close,f),
  1096.           can_be(open,f),
  1097.           opened = t,
  1098.           inherited(uncloseable),
  1099.           adjs([physical,untakeable,fully_corporial,thinkable]),
  1100.           default_rel = in,
  1101.           has_rel(in,t),
  1102.           inherited(container),
  1103.           can_be(move,t),
  1104.           class_desc([ 'kind is an Movable Object',
  1105.                        'kind is an Immobile Object',
  1106.                        'kind is corporial',
  1107.                        'kind is normally thinkable',
  1108.                        'kind is furnature'
  1109.                      ]),
  1110.           inherited(object),
  1111.           inherited(flask),
  1112.           can_be(take,f),
  1113.           inherited(untakeable),
  1114.           can_be(touch,t),
  1115.           inherited(fully_corporial),
  1116.           has_rel(on,t),
  1117.           inherited(surface),
  1118.           can_be(examine,t),
  1119.           inherited(thinkable),
  1120.           inherited(furnature),
  1121.           volume_capacity = 5,
  1122.           inherited(sink),
  1123.           co([inherit(sink,t),nouns([sink])])
  1124.         ]),
  1125.   props('lamp~1',
  1126.         [ nouns([lamp,light,'lamp~1']),
  1127.           name = 'shiny brass lamp',
  1128.           nominals(brass),
  1129.           adjs([shiny,physical,fully_corporial,thinkable]),
  1130.           inherited(shiny),
  1131.           can_be(switch,t),
  1132.           powered = t,
  1133.           can_be(move,t),
  1134.           can_be(touch,t),
  1135.           cleanliness = clean,
  1136.           class_desc([ 'kind is corporial',
  1137.                        'kind is normally thinkable',
  1138.                        'kind is an Movable Object'
  1139.                      ]),
  1140.           inherited(fully_corporial),
  1141.           can_be(examine,t),
  1142.           inherited(thinkable),
  1143.           inherited(object),
  1144.           emitting(see,light),
  1145.           effect(switch(on),setprop('lamp~1',emitting(see,light))),
  1146.           effect(switch(off),delprop('lamp~1',emitting(see,light))),
  1147.           breaks_into = inherit(broken_lamp,t),
  1148.           inherited(lamp),
  1149.           co([inherit(lamp,t),nouns([lamp])])
  1150.         ]),
  1151.   props('flour~1',
  1152.         [ nouns([flour,food,'flour~1']),
  1153.           can_be(eat,t),
  1154.           adjs([physical,fully_corporial,thinkable,measurable]),
  1155.           can_be(move,t),
  1156.           can_be(touch,t),
  1157.           cleanliness = clean,
  1158.           class_desc([ 'kind is corporial',
  1159.                        'kind is normally thinkable',
  1160.                        'kind is an Movable Object'
  1161.                      ]),
  1162.           inherited(fully_corporial),
  1163.           can_be(examine,t),
  1164.           inherited(thinkable),
  1165.           inherited(object),
  1166.           inherited(food),
  1167.           ammount = some,
  1168.           inherited(measurable),
  1169.           inherited(flour),
  1170.           co([inherit(flour,t),nouns([flour])])
  1171.         ]),
  1172.   props('bowl~1',
  1173.         [ nouns([bowl,uncloseable,container,'bowl~1']),
  1174.           can_be(close,f),
  1175.           can_be(open,f),
  1176.           opened = t,
  1177.           inherited(uncloseable),
  1178.           adjs([physical,fully_corporial,thinkable]),
  1179.           default_rel = in,
  1180.           has_rel(in,t),
  1181.           inherited(container),
  1182.           can_be(move,t),
  1183.           can_be(touch,t),
  1184.           cleanliness = clean,
  1185.           class_desc([ 'kind is corporial',
  1186.                        'kind is normally thinkable',
  1187.                        'kind is an Movable Object'
  1188.                      ]),
  1189.           inherited(fully_corporial),
  1190.           can_be(examine,t),
  1191.           inherited(thinkable),
  1192.           inherited(object),
  1193.           inherited(flask),
  1194.           volume_capacity = 2,
  1195.           breaks_into = shards,
  1196.           name = 'porcelain bowl',
  1197.           desc = 'This is a modest glass cooking bowl with a yellow flower motif glazed into the outside surface.',
  1198.           inherited(bowl),
  1199.           co([inherit(bowl,t),nouns([bowl])])
  1200.         ]),
  1201.   props('box~1',
  1202.         [ nouns([box,container,'box~1',cardboard,paper]),
  1203.           default_rel = in,
  1204.           has_rel(in,t),
  1205.           inherited(container),
  1206.           adjs([physical,fully_corporial,thinkable]),
  1207.           can_be(move,t),
  1208.           can_be(touch,t),
  1209.           cleanliness = clean,
  1210.           class_desc([ 'kind is corporial',
  1211.                        'kind is normally thinkable',
  1212.                        'kind is an Movable Object'
  1213.                      ]),
  1214.           inherited(fully_corporial),
  1215.           can_be(examine,t),
  1216.           inherited(thinkable),
  1217.           inherited(object),
  1218.           volume_capacity = 11,
  1219.           can_be(burn,t),
  1220.           inherited(paper),
  1221.           inherited(cardboard),
  1222.           opened = f,
  1223.           inherited(box),
  1224.           co([inherit(box,t),nouns([box])])
  1225.         ]),
  1226.   props('table~1',
  1227.         [ has_rel(on,t),
  1228.           cleanliness = clean,
  1229.           inherited(surface),
  1230.           adjs(physical),
  1231.           default_rel = on,
  1232.           inherited(table),
  1233.           nouns([table]),
  1234.           co([inherit(table,t),nouns([table])])
  1235.         ]),
  1236.   props('table_leg~1',
  1237.         [ inherited(table_leg),
  1238.           nouns([table_leg]),
  1239.           co([inherit(table_leg,t),nouns([table_leg])])
  1240.         ]),
  1241.   props('shelf~1',
  1242.         [ adjs([physical,untakeable,fully_corporial,thinkable]),
  1243.           can_be(take,f),
  1244.           class_desc([ 'kind is an Immobile Object',
  1245.                        'kind is corporial',
  1246.                        'kind is normally thinkable',
  1247.                        'kind is furnature'
  1248.                      ]),
  1249.           inherited(untakeable),
  1250.           can_be(touch,t),
  1251.           inherited(fully_corporial),
  1252.           has_rel(on,t),
  1253.           default_rel = on,
  1254.           cleanliness = clean,
  1255.           inherited(surface),
  1256.           can_be(examine,t),
  1257.           nouns(['shelf~1',shelf]),
  1258.           inherited(thinkable),
  1259.           inherited(furnature),
  1260.           inherited(shelf),
  1261.           co([inherit(shelf,t),nouns([shelf])])
  1262.         ]),
  1263.   props('locker~1',
  1264.         [ nouns([locker,container,'locker~1',metal]),
  1265.           default_rel = in,
  1266.           has_rel(in,t),
  1267.           inherited(container),
  1268.           adjs([physical,fully_corporial,thinkable]),
  1269.           can_be(move,t),
  1270.           can_be(touch,t),
  1271.           cleanliness = clean,
  1272.           class_desc([ 'kind is corporial',
  1273.                        'kind is normally thinkable',
  1274.                        'kind is an Movable Object'
  1275.                      ]),
  1276.           inherited(fully_corporial),
  1277.           can_be(examine,t),
  1278.           inherited(thinkable),
  1279.           inherited(object),
  1280.           volume_capacity = 13,
  1281.           can_be(burn,f),
  1282.           inherited(metal),
  1283.           opened = f,
  1284.           inherited(locker),
  1285.           co([inherit(locker,t),nouns([locker])])
  1286.         ]),
  1287.   props('rock~1',
  1288.         [ inherited(rock),
  1289.           nouns([rock]),
  1290.           co([inherit(rock,t),nouns([rock])])
  1291.         ]),
  1292.   props('fountain~1',
  1293.         [ nouns([fountain,here,'fountain~1',sink,uncloseable,container]),
  1294.           volume_capacity = 150,
  1295.           adjs([locally,physical,untakeable,fully_corporial,thinkable]),
  1296.           can_be(move,f),
  1297.           has_rel(exit(_),t),
  1298.           inherited(place),
  1299.           cleanliness = dirty,
  1300.           can_be(close,f),
  1301.           can_be(open,f),
  1302.           opened = t,
  1303.           inherited(uncloseable),
  1304.           default_rel = in,
  1305.           has_rel(in,t),
  1306.           inherited(container),
  1307.           class_desc([ 'kind is an Movable Object',
  1308.                        'kind is an Immobile Object',
  1309.                        'kind is corporial',
  1310.                        'kind is normally thinkable',
  1311.                        'kind is furnature'
  1312.                      ]),
  1313.           inherited(object),
  1314.           inherited(flask),
  1315.           can_be(take,f),
  1316.           inherited(untakeable),
  1317.           can_be(touch,t),
  1318.           inherited(fully_corporial),
  1319.           has_rel(on,t),
  1320.           inherited(surface),
  1321.           can_be(examine,t),
  1322.           inherited(thinkable),
  1323.           inherited(furnature),
  1324.           inherited(sink),
  1325.           inherited(fountain),
  1326.           co([inherit(fountain,t),nouns([fountain])])
  1327.         ]),
  1328.   props('mushroom~1',
  1329.         [ name = 'speckled mushroom',
  1330.           nouns([food,'mushroom~1',mushroom,fungus,toadstool]),
  1331.           adjs([physical,fully_corporial,thinkable,measurable,speckled]),
  1332.           can_be(move,t),
  1333.           can_be(touch,t),
  1334.           cleanliness = clean,
  1335.           class_desc([ 'kind is corporial',
  1336.                        'kind is normally thinkable',
  1337.                        'kind is an Movable Object'
  1338.                      ]),
  1339.           inherited(fully_corporial),
  1340.           can_be(examine,t),
  1341.           inherited(thinkable),
  1342.           inherited(object),
  1343.           ammount = some,
  1344.           inherited(measurable),
  1345.           inherited(food),
  1346.           initial('A speckled mushroom grows out of the sodden earth, on a long stalk.'),
  1347.           desc = 'The mushroom is capped with blotches, and you aren\'t at all sure it\'s not a toadstool.',
  1348.           can_be(eat,t),
  1349.           before(eat,(random(100)=<30,die('It was poisoned!');'yuck!')),
  1350.           after(take,
  1351.                 initial ',' 'You pick the mushroom, neatly cleaving its thin stalk.'),
  1352.           inherited(mushroom),
  1353.           co([inherit(mushroom,t),nouns([mushroom])])
  1354.         ]),
  1355.   props('shovel~1',
  1356.         [ inherited(shovel),
  1357.           nouns([shovel]),
  1358.           co([inherit(shovel,t),nouns([shovel])])
  1359.         ]),
  1360.   memories('videocamera~1',
  1361.            [ structure_label(mem('videocamera~1')),
  1362.              timestamp(0,7.1),
  1363.              goals([]),
  1364.              goals_skipped([]),
  1365.              goals_satisfied([]),
  1366.              model([]),
  1367.              todo([look('videocamera~1')]),
  1368.              inst('videocamera~1')
  1369.            ]),
  1370.   perceptq('videocamera~1',[]),
  1371.   props('videocamera~1',
  1372.         [ can_be(switch,t),
  1373.           effect(switch(on),setprop('videocamera~1',powered=t)),
  1374.           effect(switch(off),setprop('videocamera~1',powered=f)),
  1375.           powered = t,
  1376.           has_sense(see),
  1377.           breaks_into = broken_videocam,
  1378.           inherited(videocamera),
  1379.           nouns([videocamera]),
  1380.           co([inherit(videocamera,t),nouns([videocamera])])
  1381.         ]),
  1382.   props('fireplace~1',
  1383.         [ nouns([fireplace,uncloseable,container,'fireplace~1']),
  1384.           has_rel(on,f),
  1385.           has_rel(over,t),
  1386.           can_be(close,f),
  1387.           can_be(open,f),
  1388.           opened = t,
  1389.           default_rel = in,
  1390.           has_rel(in,t),
  1391.           inherited(container),
  1392.           inherited(uncloseable),
  1393.           volume_capacity = 20,
  1394.           adjs([untakeable,fully_corporial,physical,thinkable]),
  1395.           can_be(take,f),
  1396.           class_desc([ 'kind is an Immobile Object',
  1397.                        'kind is corporial',
  1398.                        'kind is normally thinkable',
  1399.                        'kind is furnature'
  1400.                      ]),
  1401.           inherited(untakeable),
  1402.           can_be(touch,t),
  1403.           inherited(fully_corporial),
  1404.           cleanliness = clean,
  1405.           inherited(surface),
  1406.           can_be(examine,t),
  1407.           inherited(thinkable),
  1408.           inherited(furnature),
  1409.           inherited(fireplace),
  1410.           co([inherit(fireplace,t),nouns([fireplace])])
  1411.         ]),
  1412.   props('apple~1',
  1413.         [ inherited(apple),
  1414.           nouns([apple]),
  1415.           co([inherit(apple,t),nouns([apple])])
  1416.         ]),
  1417.   props('crate~1',
  1418.         [ nouns([crate,container,'crate~1',wooden]),
  1419.           default_rel = in,
  1420.           has_rel(in,t),
  1421.           opened = f,
  1422.           inherited(container),
  1423.           adjs([physical,fully_corporial,thinkable]),
  1424.           can_be(move,t),
  1425.           can_be(touch,t),
  1426.           cleanliness = clean,
  1427.           class_desc([ 'kind is corporial',
  1428.                        'kind is normally thinkable',
  1429.                        'kind is an Movable Object'
  1430.                      ]),
  1431.           inherited(fully_corporial),
  1432.           can_be(examine,t),
  1433.           inherited(thinkable),
  1434.           inherited(object),
  1435.           volume_capacity = 13,
  1436.           breaks_into = splinters,
  1437.           can_be(burn,t),
  1438.           inherited(wooden),
  1439.           inherited(crate),
  1440.           co([inherit(crate,t),nouns([crate])])
  1441.         ]),
  1442.   h(in,'apple~1','crate~1'),
  1443.   h(in,'crate~1',kitchen),
  1444.   h(in,'fireplace~1',living_room),
  1445.   h(in,'videocamera~1',living_room),
  1446.   h(in,'shovel~1',basement),
  1447.   h(in,'mushroom~1',garden),
  1448.   h(in,'fountain~1',garden),
  1449.   h(in,'rock~1',garden),
  1450.   h(in,'locker~1',pantry),
  1451.   h(in,'shelf~1',pantry),
  1452.   h(reverse(on),'table~1','table_leg~1'),
  1453.   h(on,'box~1','table~1'),
  1454.   h(in,'bowl~1','box~1'),
  1455.   h(in,'flour~1','bowl~1'),
  1456.   h(in,'table~1',kitchen),
  1457.   h(on,'lamp~1','table~1'),
  1458.   h(in,'sink~1',kitchen),
  1459.   h(in,'plate~1','sink~1'),
  1460.   h(in,'cabinate~1',kitchen),
  1461.   h(in,'cup~1','cabinate~1'),
  1462.   type_props(food,
  1463.              [can_be(eat,t),inherit(object,t),inherit(measurable,t)]),
  1464.   type_props(door,
  1465.              [ can_be(take,f),
  1466.                can_be(open,t),
  1467.                can_be(close,t),
  1468.                opened = t,
  1469.                nouns(door),
  1470.                inherit(fully_corporial,t)
  1471.              ]),
  1472.   structure_label(istate),
  1473.   h(in,'floyd~1',pantry),
  1474.   h(in,'player~1',kitchen),
  1475.   h(worn_by,'watch~1','player~1'),
  1476.   h(held_by,'bag~1','player~1'),
  1477.   h(in,'coins~1','bag~1'),
  1478.   h(held_by,'wrench~1','floyd~1'),
  1479.   h(exit(south),pantry,kitchen),
  1480.   h(exit(north),kitchen,pantry),
  1481.   h(exit(down),pantry,basement),
  1482.   h(exit(up),basement,pantry),
  1483.   h(exit(south),kitchen,garden),
  1484.   h(exit(north),garden,kitchen),
  1485.   h(exit(east),kitchen,dining_room),
  1486.   h(exit(west),dining_room,kitchen),
  1487.   h(exit(north),dining_room,living_room),
  1488.   h(exit(east),living_room,dining_room),
  1489.   h(exit(south),living_room,kitchen),
  1490.   h(exit(west),kitchen,living_room),
  1491.   h(in,screendoor,kitchen),
  1492.   h(in,screendoor,garden),
  1493.   h(in,brklamp,garden)
  1494. ]
  1495. =============================================
  1496. Welcome to Marty's Prolog Adventure Prototype
  1497. =============================================
  1498.  
  1499. % player~1 @ kitchen: already about todo: look(player~1)
  1500.  
  1501. % aXiom(doing,look('player~1')).
  1502.  
  1503. Player~1 notices the kitchen: ( volume_capacity is 10000, default_rel is in, ( Nouns: [ here, kitchen ] ), ( Adjs: [ locally ] ), cannot be taken! and desc is cooking happens here )
  1504. Player~1 is in kitchen and sees: crate, table, sink, cabinate and screendoor.
  1505. Exits in kitchen are: north, south, east and west.
  1506.  
  1507. '...verbose...'('crate is closed from seeing In')
  1508. Player~1 see on table: box and lamp.
  1509. Player~1 see in sink: plate.
  1510. '...verbose...'('nothing on sink')
  1511. '...verbose...'('cabinate is closed from seeing In')
  1512. '...verbose...'('nothing on cabinate')
  1513. '...verbose...'('box is closed from seeing In')
  1514. '...verbose...'('nothing on plate')
  1515. player~1@spatial>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement