Advertisement
logicmoo

Quasiquotes I7

Oct 31st, 2018
3,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LLVM 77.55 KB | None | 0 0
  1. player~1@spatial> state
  2. state
  3. [ memories('player~1',
  4.            [ todo([]),
  5.              [ sense(see,
  6.                      [ you_are(in,kitchen),
  7.                        exits_are([north,south,east,west]),
  8.                        here_are([ 'cabinate~1',
  9.                                   'sink~1',
  10.                                   'table~1',
  11.                                   'player~1',
  12.                                   screendoor
  13.                                 ])
  14.                      ])
  15.              ],
  16.              model([ h(spatial,exit(west),kitchen,'<unexplored>',1),
  17.                      h(spatial,exit(east),kitchen,'<unexplored>',1),
  18.                      h(spatial,exit(south),kitchen,'<unexplored>',1),
  19.                      h(spatial,exit(north),kitchen,'<unexplored>',1),
  20.                      h(spatial,in,screendoor,kitchen,1),
  21.                      h(spatial,in,'player~1',kitchen,1),
  22.                      h(spatial,in,'table~1',kitchen,1),
  23.                      h(spatial,in,'sink~1',kitchen,1),
  24.                      h(spatial,in,'cabinate~1',kitchen,1)
  25.                    ]),
  26.              timestamp(1,7),
  27.              did(look),
  28.              structure_label(mem('player~1')),
  29.              timestamp(0,6.8),
  30.              goals([]),
  31.              inst('player~1'),
  32.              name('player~1'),
  33.              inherit(console,t),
  34.              inherit(humanoid,t)
  35.            ]),
  36.   perceptq('player~1',[]),
  37.   perceptq('floyd~1',[]),
  38.   memories('floyd~1',
  39.            [ [ sense_props(see,
  40.                            'shovel~1',
  41.                            [inherited(shovel),co([inherit(shovel,t)])])
  42.              ],
  43.              [notice_children(see,'shovel~1','<unrelatable>',[])],
  44.              model([ props_at('shovel~1',
  45.                               [ inherited(shovel),
  46.                                 co([inherit(shovel,t)])
  47.                               ],
  48.                               7),
  49.                      h(spatial,exit(up),basement,'<unexplored>',6),
  50.                      h(spatial,in,'shovel~1',basement,6),
  51.                      h(spatial,in,'floyd~1',basement,6),
  52.                      h(spatial,exit(down),pantry,basement,6),
  53.                      h(spatial,held_by,'wrench~1','floyd~1',3),
  54.                      props_at('floyd~1',
  55.                               [ name('Floyd the robot'),
  56.                                 can_do(eat,f),
  57.                                 inherited(autonomous),
  58.                                 emitting(see,light),
  59.                                 mass(200),
  60.                                 nouns(robot),
  61.                                 adjs(metallic),
  62.                                 desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
  63.                                 can_be(switch,t),
  64.                                 adjs(shiny),
  65.                                 can_be(move,t),
  66.                                 class_desc([ 'kind is both partly corporial and non-corporial',
  67.                                              'kind is completely non-corporial',
  68.                                              'kind is normally thinkable',
  69.                                              'kind is corporial',
  70.                                              'kind is an Object'
  71.                                            ]),
  72.                                 inherited(object),
  73.                                 inherited(shiny),
  74.                                 has_rel(spatial,held_by),
  75.                                 volume(50),
  76.                                 can_do(examine,t),
  77.                                 can_do(touch,t),
  78.                                 can_be(touch,t),
  79.                                 can_be(examine(spatial),t),
  80.                                 inherited(corporial),
  81.                                 inherited(thinkable),
  82.                                 inherit(corporial,f),
  83.                                 inherited(noncorporial),
  84.                                 inherited(partly_noncorporial),
  85.                                 inherited(character),
  86.                                 state(powered,t),
  87.                                 effect(switch(on),
  88.                                        setprop('floyd~1',
  89.                                                state(powered,t))),
  90.                                 effect(switch(off),
  91.                                        setprop('floyd~1',
  92.                                                state(powered,f))),
  93.                                 inherited(robot),
  94.                                 co([ name('Floyd the robot'),
  95.                                      inherit(autonomous,t),
  96.                                      inherit(robot,t)
  97.                                    ])
  98.                               ],
  99.                               3),
  100.                      props_at('shelf~1',
  101.                               [ has_rel(spatial,on),
  102.                                 can_be(move,f),
  103.                                 inherited(shelf),
  104.                                 co([inherit(shelf,t)])
  105.                               ],
  106.                               2),
  107.                      h(spatial,exit(south),pantry,'<unexplored>',1),
  108.                      h(spatial,in,'shelf~1',pantry,1)
  109.                    ]),
  110.              timestamp(7,20.5),
  111.              did(examine(see,'shovel~1')),
  112.              todo([]),
  113.              [ moved('floyd~1',pantry,in,basement),
  114.                the('floyd~1'),
  115.                person(arrived,arrives),
  116.                from,
  117.                the,
  118.                up
  119.              ],
  120.              [ sense(see,
  121.                      [ you_are(in,basement),
  122.                        exits_are([up]),
  123.                        here_are(['floyd~1','shovel~1'])
  124.                      ])
  125.              ],
  126.              timestamp(6,19.6),
  127.              did(goto(walk,down,L38,M38)),
  128.              goals([]),
  129.              [true,'My shiny precious!'],
  130.              timestamp(5,9.1),
  131.              did(print_('My shiny precious!')),
  132.              [ failure(take('floyd~1'),cant(manipulate(_,self))),
  133.                ['can\'t manipulate yourself like that',ly(D2)]
  134.              ],
  135.              timestamp(4,9),
  136.              did(take('floyd~1')),
  137.              [ sense_props(see,
  138.                            'floyd~1',
  139.                            [ name('Floyd the robot'),
  140.                              can_do(eat,f),
  141.                              inherited(autonomous),
  142.                              emitting(see,light),
  143.                              mass(200),
  144.                              nouns(robot),
  145.                              adjs(metallic),
  146.                              desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
  147.                              can_be(switch,t),
  148.                              adjs(shiny),
  149.                              can_be(move,t),
  150.                              class_desc([ 'kind is both partly corporial and non-corporial',
  151.                                           'kind is completely non-corporial',
  152.                                           'kind is normally thinkable',
  153.                                           'kind is corporial',
  154.                                           'kind is an Object'
  155.                                         ]),
  156.                              inherited(object),
  157.                              inherited(shiny),
  158.                              has_rel(spatial,held_by),
  159.                              volume(50),
  160.                              can_do(examine,t),
  161.                              can_do(touch,t),
  162.                              can_be(touch,t),
  163.                              can_be(examine(spatial),t),
  164.                              inherited(corporial),
  165.                              inherited(thinkable),
  166.                              inherit(corporial,f),
  167.                              inherited(noncorporial),
  168.                              inherited(partly_noncorporial),
  169.                              inherited(character),
  170.                              state(powered,t),
  171.                              effect(switch(on),
  172.                                     setprop('floyd~1',state(powered,t))),
  173.                              effect(switch(off),
  174.                                     setprop('floyd~1',state(powered,f))),
  175.                              inherited(robot),
  176.                              co([ name('Floyd the robot'),
  177.                                   inherit(autonomous,t),
  178.                                   inherit(robot,t)
  179.                                 ])
  180.                            ])
  181.              ],
  182.              [notice_children(see,'floyd~1',held_by,['wrench~1'])],
  183.              timestamp(3,8.9),
  184.              did(examine(see,'floyd~1')),
  185.              [ sense_props(see,
  186.                            'shelf~1',
  187.                            [ has_rel(spatial,on),
  188.                              can_be(move,f),
  189.                              inherited(shelf),
  190.                              co([inherit(shelf,t)])
  191.                            ])
  192.              ],
  193.              [notice_children(see,'shelf~1',on,[])],
  194.              timestamp(2,8),
  195.              did(examine(see,'shelf~1')),
  196.              [ sense(see,
  197.                      [ you_are(in,pantry),
  198.                        exits_are([south,down]),
  199.                        here_are(['shelf~1','floyd~1'])
  200.                      ])
  201.              ],
  202.              timestamp(1,7),
  203.              did(look),
  204.              structure_label(mem('floyd~1')),
  205.              timestamp(0,6.9),
  206.              inst('floyd~1')
  207.            ]),
  208.   h(spatial,in,'floyd~1',basement),
  209.   props(screendoor,
  210.         [ door_to(kitchen),
  211.           door_to(garden),
  212.           state(opened,f),
  213.           can_be(move,f),
  214.           can_be(open,t),
  215.           can_be(close,t),
  216.           nouns(door),
  217.           can_be(touch,t),
  218.           can_be(examine(spatial),t),
  219.           class_desc(['kind is corporial','kind is normally thinkable']),
  220.           inherited(thinkable),
  221.           inherited(corporial),
  222.           inherited(door),
  223.           co([ door_to(kitchen),
  224.                door_to(garden),
  225.                state(opened,f),
  226.                inherit(door,t)
  227.              ])
  228.         ]),
  229.   props(brklamp,
  230.         [ name('definately broken'),
  231.           effect(switch(on),true),
  232.           effect(switch(off),true),
  233.           adjs(dented),
  234.           adjs(broken),
  235.           inherited(broken),
  236.           name('possibly broken lamp'),
  237.           effect(hit,
  238.                  [ print_("Hit brklamp"),
  239.                    setprop(brklamp,inherit(broken,t))
  240.                  ]),
  241.           name('shiny brass lamp'),
  242.           nouns(light),
  243.           nominals(brass),
  244.           adjs(shiny),
  245.           class_desc([ 'kind is an Object',
  246.                        'kind is normally thinkable',
  247.                        'kind is corporial'
  248.                      ]),
  249.           inherited(corporial),
  250.           inherited(shiny),
  251.           can_be(switch,t),
  252.           state(powered,t),
  253.           can_be(touch,t),
  254.           can_be(examine(spatial),t),
  255.           inherited(thinkable),
  256.           can_be(move,t),
  257.           inherited(object),
  258.           emitting(see,light),
  259.           fragile(inherit(broken_lamp,t)),
  260.           inherited(lamp),
  261.           co([ inherit(broken,t),
  262.                name('possibly broken lamp'),
  263.                effect(switch(on),print_("Switch is flipped")),
  264.                effect(hit,
  265.                       [ print_("Hit brklamp"),
  266.                         setprop($self,inherit(broken,t))
  267.                       ]),
  268.                inherit(lamp,t)
  269.              ])
  270.         ]),
  271.   props('bag~1',
  272.         [ oper('bag~1',
  273.                put(spatial,A,in,'bag~1'),
  274.                precond(~(getprop(A,inherit(liquid,t))),
  275.                        ['liquids would spill out']),
  276.                body(move(spatial,A,in,'bag~1'))),
  277.           has_rel(spatial,in),
  278.           inherited(container),
  279.           can_be(touch,t),
  280.           can_be(examine(spatial),t),
  281.           class_desc(['kind is an Object','kind is normally thinkable']),
  282.           inherited(thinkable),
  283.           can_be(move,t),
  284.           inherited(object),
  285.           volume_capacity(10),
  286.           state(dark,t),
  287.           inherited(bag),
  288.           co([inherit(bag,t)])
  289.         ]),
  290.   props(pantry,
  291.         [ can_be(move,f),
  292.           oper(pantry,
  293.                put(spatial,B,in,pantry),
  294.                precond(~(getprop(B,inherit(liquid,t))),
  295.                        ['liquids would spill out']),
  296.                body(move(spatial,B,in,pantry))),
  297.           has_rel(spatial,in),
  298.           inherited(container),
  299.           volume_capacity(10000),
  300.           has_rel(exit(_),t),
  301.           inherited(place),
  302.           nouns(closet),
  303.           nominals(kitchen),
  304.           desc('You\'re in a dark pantry.'),
  305.           state(dark,t),
  306.           co([ inherit(place,t),
  307.                nouns(closet),
  308.                nominals(kitchen),
  309.                desc('You\'re in a dark pantry.'),
  310.                state(dark,t)
  311.              ])
  312.         ]),
  313.   props(living_room,
  314.         [ can_be(move,f),
  315.           oper(living_room,
  316.                put(spatial,C,in,living_room),
  317.                precond(~(getprop(C,inherit(liquid,t))),
  318.                        ['liquids would spill out']),
  319.                body(move(spatial,C,in,living_room))),
  320.           has_rel(spatial,in),
  321.           inherited(container),
  322.           volume_capacity(10000),
  323.           has_rel(exit(_),t),
  324.           inherited(place),
  325.           co([inherit(place,t)])
  326.         ]),
  327.   props(kitchen,
  328.         [ can_be(move,f),
  329.           oper(kitchen,
  330.                put(spatial,D,in,kitchen),
  331.                precond(~(getprop(D,inherit(liquid,t))),
  332.                        ['liquids would spill out']),
  333.                body(move(spatial,D,in,kitchen))),
  334.           has_rel(spatial,in),
  335.           inherited(container),
  336.           volume_capacity(10000),
  337.           has_rel(exit(_),t),
  338.           inherited(place),
  339.           co([inherit(place,t)])
  340.         ]),
  341.   props(garden,
  342.         [ can_be(move,f),
  343.           oper(garden,
  344.                put(spatial,E,in,garden),
  345.                precond(~(getprop(E,inherit(liquid,t))),
  346.                        ['liquids would spill out']),
  347.                body(move(spatial,E,in,garden))),
  348.           has_rel(spatial,in),
  349.           inherited(container),
  350.           volume_capacity(10000),
  351.           has_rel(exit(_),t),
  352.           inherited(place),
  353.           goto(F,G,up,'You lack the ability to fly.'),
  354.           effect(goto(F,G,H,north),getprop(screendoor,state(opened,t))),
  355.           oper(garden,
  356.                goto(F,G,I,north),
  357.                precond(getprop(screendoor,state(opened,t)),
  358.                        ['you must open the door first']),
  359.                body(inherited)),
  360.           cant_goto(F,
  361.                     G,
  362.                     'The fence surrounding the garden is too tall and solid to pass.'),
  363.           co([ inherit(place,t),
  364.                goto(F,G,up,'You lack the ability to fly.'),
  365.                effect(goto(F,G,H,north),
  366.                       getprop(screendoor,state(opened,t))),
  367.                oper($ self,
  368.                     goto(F,G,I,north),
  369.                     precond(getprop(screendoor,state(opened,t)),
  370.                             ['you must open the door first']),
  371.                     body(inherited)),
  372.                cant_goto(F,
  373.                          G,
  374.                          'The fence surrounding the garden is too tall and solid to pass.')
  375.              ])
  376.         ]),
  377.   props(dining_room,
  378.         [ can_be(move,f),
  379.           oper(dining_room,
  380.                put(spatial,J,in,dining_room),
  381.                precond(~(getprop(J,inherit(liquid,t))),
  382.                        ['liquids would spill out']),
  383.                body(move(spatial,J,in,dining_room))),
  384.           has_rel(spatial,in),
  385.           inherited(container),
  386.           volume_capacity(10000),
  387.           has_rel(exit(_),t),
  388.           inherited(place),
  389.           co([inherit(place,t)])
  390.         ]),
  391.   props(basement,
  392.         [ can_be(move,f),
  393.           oper(basement,
  394.                put(spatial,K,in,basement),
  395.                precond(~(getprop(K,inherit(liquid,t))),
  396.                        ['liquids would spill out']),
  397.                body(move(spatial,K,in,basement))),
  398.           has_rel(spatial,in),
  399.           inherited(container),
  400.           volume_capacity(10000),
  401.           has_rel(exit(_),t),
  402.           inherited(place),
  403.           desc('This is a very dark basement.'),
  404.           state(dark,t),
  405.           co([ inherit(place,t),
  406.                desc('This is a very dark basement.'),
  407.                state(dark,t)
  408.              ])
  409.         ]),
  410.   props('coins~1',
  411.         [ adjs(shiny),
  412.           can_be(move,t),
  413.           class_desc([ 'kind is corporial',
  414.                        'kind is normally thinkable',
  415.                        'kind is an Object'
  416.                      ]),
  417.           inherited(object),
  418.           can_be(touch,t),
  419.           can_be(examine(spatial),t),
  420.           inherited(thinkable),
  421.           inherited(corporial),
  422.           inherited(shiny),
  423.           has_rel(quantity,ammount,t),
  424.           inherited(measurable),
  425.           inherited(coins),
  426.           co([inherit(coins,t)])
  427.         ]),
  428.   props('player~1',
  429.         [ name('player~1'),
  430.           inherited(console),
  431.           has_rel(spatial,held_by),
  432.           mass(50),
  433.           volume(50),
  434.           can_do(eat,t),
  435.           can_do(examine,t),
  436.           can_do(touch,t),
  437.           has_sense(see),
  438.           can_be(touch,t),
  439.           can_be(examine(spatial),t),
  440.           class_desc([ 'kind is both partly corporial and non-corporial',
  441.                        'kind is completely non-corporial',
  442.                        'kind is normally thinkable',
  443.                        'kind is corporial'
  444.                      ]),
  445.           inherited(corporial),
  446.           inherited(thinkable),
  447.           inherit(corporial,f),
  448.           inherited(noncorporial),
  449.           inherited(partly_noncorporial),
  450.           inherited(character),
  451.           inherited(player),
  452.           can_be(switch(off),f),
  453.           state(powered,t),
  454.           inherited(humanoid),
  455.           co([name($self),inherit(console,t),inherit(humanoid,t)])
  456.         ]),
  457.   props('floyd~1',
  458.         [ name('Floyd the robot'),
  459.           can_do(eat,f),
  460.           inherited(autonomous),
  461.           emitting(see,light),
  462.           mass(200),
  463.           nouns(robot),
  464.           adjs(metallic),
  465.           desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
  466.           can_be(switch,t),
  467.           adjs(shiny),
  468.           can_be(move,t),
  469.           class_desc([ 'kind is both partly corporial and non-corporial',
  470.                        'kind is completely non-corporial',
  471.                        'kind is normally thinkable',
  472.                        'kind is corporial',
  473.                        'kind is an Object'
  474.                      ]),
  475.           inherited(object),
  476.           inherited(shiny),
  477.           has_rel(spatial,held_by),
  478.           volume(50),
  479.           can_do(examine,t),
  480.           can_do(touch,t),
  481.           has_sense(see),
  482.           can_be(touch,t),
  483.           can_be(examine(spatial),t),
  484.           inherited(corporial),
  485.           inherited(thinkable),
  486.           inherit(corporial,f),
  487.           inherited(noncorporial),
  488.           inherited(partly_noncorporial),
  489.           inherited(character),
  490.           state(powered,t),
  491.           effect(switch(on),setprop('floyd~1',state(powered,t))),
  492.           effect(switch(off),setprop('floyd~1',state(powered,f))),
  493.           inherited(robot),
  494.           co([ name('Floyd the robot'),
  495.                inherit(autonomous,t),
  496.                inherit(robot,t)
  497.              ])
  498.         ]),
  499.   props('shelf~1',
  500.         [ has_rel(spatial,on),
  501.           can_be(move,f),
  502.           inherited(shelf),
  503.           co([inherit(shelf,t)])
  504.         ]),
  505.   props('rock~1',[inherited(rock),co([inherit(rock,t)])]),
  506.   props('fountain~1',
  507.         [ volume_capacity(150),
  508.           can_be(move,f),
  509.           has_rel(exit(_),t),
  510.           inherited(place),
  511.           oper('fountain~1',
  512.                put(spatial,L,in,'fountain~1'),
  513.                precond(~(getprop(L,inherit(liquid,t))),
  514.                        ['liquids would spill out']),
  515.                body(move(spatial,L,in,'fountain~1'))),
  516.           has_rel(spatial,in),
  517.           inherited(container),
  518.           inherited(fountain),
  519.           co([inherit(fountain,t)])
  520.         ]),
  521.   props('mushroom~1',
  522.         [ name('speckled mushroom'),
  523.           can_be(touch,t),
  524.           can_be(examine(spatial),t),
  525.           class_desc(['kind is an Object','kind is normally thinkable']),
  526.           inherited(thinkable),
  527.           can_be(move,t),
  528.           inherited(object),
  529.           has_rel(quantity,ammount,t),
  530.           inherited(measurable),
  531.           inherited(food),
  532.           nouns([mushroom,fungus,toadstool]),
  533.           adjs([speckled]),
  534.           initial('A speckled mushroom grows out of the sodden earth, on a long stalk.'),
  535.           desc('The mushroom is capped with blotches, and you aren\'t at all sure it\'s not a toadstool.'),
  536.           can_be(eat,t),
  537.           before(eat,(random(100)=<30,die('It was poisoned!');'yuck!')),
  538.           after(take,
  539.                 initial ',' 'You pick the mushroom, neatly cleaving its thin stalk.'),
  540.           inherited(mushroom),
  541.           co([inherit(mushroom,t)])
  542.         ]),
  543.   props('shovel~1',[inherited(shovel),co([inherit(shovel,t)])]),
  544.   memories('videocamera~1',
  545.            [ structure_label(mem('videocamera~1')),
  546.              timestamp(0,6.9),
  547.              model([]),
  548.              goals([]),
  549.              todo([look]),
  550.              inst('videocamera~1')
  551.            ]),
  552.   perceptq('videocamera~1',[]),
  553.   props('videocamera~1',
  554.         [ can_be(switch,t),
  555.           effect(switch(on),setprop('videocamera~1',state(powered,t))),
  556.           effect(switch(off),setprop('videocamera~1',state(powered,f))),
  557.           state(powered,t),
  558.           has_sense(see),
  559.           fragile(broken_videocam),
  560.           inherited(videocamera),
  561.           co([inherit(videocamera,t)])
  562.         ]),
  563.   props('table_leg~1',[inherited(table_leg),co([inherit(table_leg,t)])]),
  564.   props('box~1',
  565.         [ oper('box~1',
  566.                put(spatial,M,in,'box~1'),
  567.                precond(~(getprop(M,inherit(liquid,t))),
  568.                        ['liquids would spill out']),
  569.                body(move(spatial,M,in,'box~1'))),
  570.           has_rel(spatial,in),
  571.           inherited(container),
  572.           can_be(touch,t),
  573.           can_be(examine(spatial),t),
  574.           class_desc(['kind is an Object','kind is normally thinkable']),
  575.           inherited(thinkable),
  576.           can_be(move,t),
  577.           inherited(object),
  578.           volume_capacity(15),
  579.           fragile(splinters),
  580.           state(opened,f),
  581.           state(locked,t),
  582.           state(dark,t),
  583.           inherited(box),
  584.           co([inherit(box,t),inherit(box,t)])
  585.         ]),
  586.   props('flour~1',
  587.         [ can_be(eat,t),
  588.           can_be(touch,t),
  589.           can_be(examine(spatial),t),
  590.           class_desc(['kind is an Object','kind is normally thinkable']),
  591.           inherited(thinkable),
  592.           can_be(move,t),
  593.           inherited(object),
  594.           inherited(food),
  595.           has_rel(quantity,ammount,t),
  596.           inherited(measurable),
  597.           inherited(flour),
  598.           co([inherit(flour,t)])
  599.         ]),
  600.   props('bowl~1',
  601.         [ volume_capacity(2),
  602.           fragile(shards),
  603.           state(dirty,t),
  604.           oper('bowl~1',
  605.                put(spatial,N,in,'bowl~1'),
  606.                precond(getprop(N,inherit(corporial,t)),
  607.                        ['non-physical would spill out']),
  608.                body(move(spatial,N,in,'bowl~1'))),
  609.           can_be(touch,t),
  610.           can_be(examine(spatial),t),
  611.           class_desc(['kind is an Object','kind is normally thinkable']),
  612.           inherited(thinkable),
  613.           can_be(move,t),
  614.           inherited(object),
  615.           oper('bowl~1',
  616.                put(spatial,O,in,'bowl~1'),
  617.                precond(~(getprop(O,inherit(liquid,t))),
  618.                        ['liquids would spill out']),
  619.                body(move(spatial,O,in,'bowl~1'))),
  620.           has_rel(spatial,in),
  621.           inherited(container),
  622.           inherited(flask),
  623.           name('porcelain bowl'),
  624.           desc('This is a modest glass cooking bowl with a yellow flower motif glazed into the outside surface.'),
  625.           inherited(bowl),
  626.           co([inherit(bowl,t),inherit(bowl,t)])
  627.         ]),
  628.   props('lamp~1',
  629.         [ name('shiny brass lamp'),
  630.           nouns(light),
  631.           nominals(brass),
  632.           adjs(shiny),
  633.           class_desc([ 'kind is an Object',
  634.                        'kind is normally thinkable',
  635.                        'kind is corporial'
  636.                      ]),
  637.           inherited(corporial),
  638.           inherited(shiny),
  639.           can_be(switch,t),
  640.           state(powered,t),
  641.           can_be(touch,t),
  642.           can_be(examine(spatial),t),
  643.           inherited(thinkable),
  644.           can_be(move,t),
  645.           inherited(object),
  646.           emitting(see,light),
  647.           effect(switch(on),setprop('lamp~1',emitting(see,light))),
  648.           effect(switch(off),delprop('lamp~1',emitting(see,light))),
  649.           fragile(inherit(broken_lamp,t)),
  650.           inherited(lamp),
  651.           co([inherit(lamp,t)])
  652.         ]),
  653.   props('table~1',
  654.         [ has_rel(spatial,on),
  655.           inherited(table),
  656.           co([ inherit(table,t),
  657.                inherit(table,t),
  658.                inherit(table,t),
  659.                inherit(table,t)
  660.              ])
  661.         ]),
  662.   props('plate~1',
  663.         [ oper('plate~1',
  664.                put(spatial,P,in,'plate~1'),
  665.                precond(~(getprop(P,inherit(liquid,t))),
  666.                        ['liquids would spill out']),
  667.                body(move(spatial,P,in,'plate~1'))),
  668.           has_rel(spatial,in),
  669.           inherited(container),
  670.           can_be(touch,t),
  671.           can_be(examine(spatial),t),
  672.           class_desc(['kind is an Object','kind is normally thinkable']),
  673.           inherited(thinkable),
  674.           can_be(move,t),
  675.           inherited(object),
  676.           volume_capacity(2),
  677.           fragile(shards),
  678.           state(dirty,t),
  679.           inherit(flask,f),
  680.           name(plate),
  681.           inherited(plate),
  682.           co([inherit(plate,t)])
  683.         ]),
  684.   props('sink~1',
  685.         [ oper('sink~1',
  686.                put(spatial,Q,in,'sink~1'),
  687.                precond(~(getprop(Q,inherit(liquid,t))),
  688.                        ['liquids would spill out']),
  689.                body(move(spatial,Q,in,'sink~1'))),
  690.           has_rel(spatial,in),
  691.           inherited(container),
  692.           can_be(touch,t),
  693.           can_be(move,f),
  694.           can_be(examine(spatial),t),
  695.           class_desc(['kind is furnature','kind is normally thinkable']),
  696.           inherited(thinkable),
  697.           inherited(furnature),
  698.           volume_capacity(10),
  699.           state(dirty,t),
  700.           inherit(flask,f),
  701.           inherited(sink),
  702.           co([inherit(sink,t),inherit(sink,t)])
  703.         ]),
  704.   props('cup~1',
  705.         [ oper('cup~1',
  706.                put(spatial,R,in,'cup~1'),
  707.                precond(getprop(R,inherit(corporial,t)),
  708.                        ['non-physical would spill out']),
  709.                body(move(spatial,R,in,'cup~1'))),
  710.           can_be(touch,t),
  711.           can_be(examine(spatial),t),
  712.           class_desc(['kind is an Object','kind is normally thinkable']),
  713.           inherited(thinkable),
  714.           can_be(move,t),
  715.           inherited(object),
  716.           oper('cup~1',
  717.                put(spatial,S,in,'cup~1'),
  718.                precond(~(getprop(S,inherit(liquid,t))),
  719.                        ['liquids would spill out']),
  720.                body(move(spatial,S,in,'cup~1'))),
  721.           has_rel(spatial,in),
  722.           inherited(container),
  723.           inherited(flask),
  724.           inherited(cup),
  725.           co([inherit(cup,t)])
  726.         ]),
  727.   props('cabinate~1',
  728.         [ oper('cabinate~1',
  729.                put(spatial,T,in,'cabinate~1'),
  730.                precond(~(getprop(T,inherit(liquid,t))),
  731.                        ['liquids would spill out']),
  732.                body(move(spatial,T,in,'cabinate~1'))),
  733.           has_rel(spatial,in),
  734.           inherited(container),
  735.           can_be(touch,t),
  736.           can_be(move,f),
  737.           can_be(examine(spatial),t),
  738.           class_desc(['kind is furnature','kind is normally thinkable']),
  739.           inherited(thinkable),
  740.           inherited(furnature),
  741.           volume_capacity(10),
  742.           inherited(cabinate),
  743.           co([inherit(cabinate,t),inherit(cabinate,t)])
  744.         ]),
  745.   h(spatial,in,'cup~1','cabinate~1'),
  746.   h(spatial,in,'cabinate~1',kitchen),
  747.   h(spatial,in,'plate~1','sink~1'),
  748.   h(spatial,in,'sink~1',kitchen),
  749.   h(spatial,on,'lamp~1','table~1'),
  750.   h(spatial,in,'table~1',kitchen),
  751.   h(spatial,in,'flour~1','bowl~1'),
  752.   h(spatial,in,'bowl~1','box~1'),
  753.   h(spatial,on,'box~1','table~1'),
  754.   h(spatial,reverse(on),'table~1','table_leg~1'),
  755.   h(spatial,in,'videocamera~1',living_room),
  756.   h(spatial,in,'shovel~1',basement),
  757.   h(spatial,in,'mushroom~1',garden),
  758.   h(spatial,in,'fountain~1',garden),
  759.   h(spatial,in,'rock~1',garden),
  760.   h(spatial,in,'shelf~1',pantry),
  761.   structure_label(istate),
  762.   h(spatial,in,'player~1',kitchen),
  763.   h(spatial,worn_by,'watch~1','player~1'),
  764.   h(spatial,held_by,'bag~1','player~1'),
  765.   h(spatial,in,'coins~1','bag~1'),
  766.   h(spatial,held_by,'wrench~1','floyd~1'),
  767.   h(spatial,exit(south),pantry,kitchen),
  768.   h(spatial,exit(north),kitchen,pantry),
  769.   h(spatial,exit(down),pantry,basement),
  770.   h(spatial,exit(up),basement,pantry),
  771.   h(spatial,exit(south),kitchen,garden),
  772.   h(spatial,exit(north),garden,kitchen),
  773.   h(spatial,exit(east),kitchen,dining_room),
  774.   h(spatial,exit(west),dining_room,kitchen),
  775.   h(spatial,exit(north),dining_room,living_room),
  776.   h(spatial,exit(east),living_room,dining_room),
  777.   h(spatial,exit(south),living_room,kitchen),
  778.   h(spatial,exit(west),kitchen,living_room),
  779.   h(spatial,in,screendoor,kitchen),
  780.   h(spatial,in,screendoor,garden),
  781.   h(spatial,in,brklamp,garden)
  782. ]
  783. player~1@spatial> english 2
  784. english 2
  785. % (   ['2']
  786. % ->  [2]
  787. % ).
  788. english(2)
  789. english=2
  790. player~1@spatial>
  791. the floyd arrives from the north
  792. player~1@spatial>
  793. % floyd~1: sense_props(see,'cabinate~1',[oper('cabinate~1',put(spatial,_10730,in,'cabinate~1'),precond(~(getprop(_10730,inherit(liquid,t))),['liquids would spill out']),body(move(spatial,_10730,in,'cabinate~1'))),has_rel(spatial,in),inherited(container),can_be(touch,t),can_be(move,f),can_be(examine(spatial),t),class_desc(['kind is furnature','kind is normally thinkable']),inherited(thinkable),inherited(furnature),volume_capacity(10),inherited(cabinate),co([inherit(cabinate,t),inherit(cabinate,t)])])
  794. statplayer~1@spatial>
  795. % floyd~1: sense_props(see,'sink~1',[oper('sink~1',put(spatial,_11082,in,'sink~1'),precond(~(getprop(_11082,inherit(liquid,t))),['liquids would spill out']),body(move(spatial,_11082,in,'sink~1'))),has_rel(spatial,in),inherited(container),can_be(touch,t),can_be(move,f),can_be(examine(spatial),t),class_desc(['kind is furnature','kind is normally thinkable']),inherited(thinkable),inherited(furnature),volume_capacity(10),state(dirty,t),inherit(flask,f),inherited(sink),co([inherit(sink,t),inherit(sink,t)])])
  796. e
  797. player~1@spatial>
  798. % floyd~1: sense_props(see,'table~1',[has_rel(spatial,on),inherited(table),co([inherit(table,t),inherit(table,t),inherit(table,t),inherit(table,t)])])
  799. player~1@spatial> state
  800. [ memories('player~1',
  801.            [ {|i7|| Todo is <nothing> |},
  802.              [ moved('floyd~1',pantry,in,kitchen),
  803.                {|i7|| the floyd |},
  804.                {|i7|| arrives |},
  805.                from,
  806.                the,
  807.                north
  808.              ],
  809.              model([ {|i7|| 0:42s ago the floyd is in kitchen |},
  810.                      {|i7|| 0:43s ago <unexplored> is west of kitchen |},
  811.                      {|i7|| 0:43s ago <unexplored> is east of kitchen |},
  812.                      {|i7|| 0:43s ago <unexplored> is south of kitchen |},
  813.                      {|i7|| 0:43s ago <unexplored> is north of kitchen |},
  814.                      {|i7|| 0:43s ago the screendoor is in kitchen |},
  815.                      {|i7|| 0:43s ago the player~1 is in kitchen |},
  816.                      {|i7|| 0:43s ago the table is in kitchen |},
  817.                      {|i7|| 0:43s ago the sink is in kitchen |},
  818.                      {|i7|| 0:43s ago the cabinate is in kitchen |}
  819.                    ]),
  820.              {|i7|| timestamp is 2 ( 0:04s ago ) |},
  821.              [ sense(see,
  822.                      [ {|i7|| Player~1 are in the kitchen |},
  823.                        exits_are([north,south,east,west]),
  824.                        here_are([ 'cabinate~1',
  825.                                   'sink~1',
  826.                                   'table~1',
  827.                                   'player~1',
  828.                                   screendoor
  829.                                 ])
  830.                      ])
  831.              ],
  832.              {|i7|| timestamp is 1 ( 0:38s ago ) |},
  833.              {|i7|| the player~1 did: look |},
  834.              {|i7|| Structure_label is Mem is player |},
  835.              {|i7|| timestamp is 0 ( 0:38s ago ) |},
  836.              {|i7|| Goals is <nothing> |},
  837.              {|i7|| Inst is player |},
  838.              {|i7|| Name is player |},
  839.              {|i7|| inherits Console |},
  840.              {|i7|| inherits Humanoid |}
  841.            ]),
  842.   perceptq('floyd~1',
  843.            [ [ sense_props(see,
  844.                            'player~1',
  845.                            [ {|i7|| Name is player |},
  846.                              {|i7|| is Console |},
  847.                              {|i7|| Has_rel is held_by |},
  848.                              {|i7|| Mass is 50 |},
  849.                              {|i7|| Volume is 50 |},
  850.                              {|i7|| Able to eat |},
  851.                              {|i7|| Able to examine |},
  852.                              {|i7|| Able to touch |},
  853.                              {|i7|| Can be touched |},
  854.                              {|i7|| Can be examine(spatial)ed |},
  855.                              class_desc([ 'kind is both partly corporial and non-corporial',
  856.                                           'kind is completely non-corporial',
  857.                                           'kind is normally thinkable',
  858.                                           'kind is corporial'
  859.                                         ]),
  860.                              {|i7|| is Corporial |},
  861.                              {|i7|| is Thinkable |},
  862.                              {|i7|| isnt Corporial |},
  863.                              {|i7|| is Noncorporial |},
  864.                              {|i7|| is Partly_noncorporial |},
  865.                              {|i7|| is Character |},
  866.                              {|i7|| is Player |},
  867.                              {|i7|| Can't be switch(off)ed |},
  868.                              {|i7|| is powered |},
  869.                              {|i7|| is Humanoid |},
  870.                              co([ {|i7|| Name is $ is self |},
  871.                                   {|i7|| inherits Console |},
  872.                                   {|i7|| inherits Humanoid |}
  873.                                 ])
  874.                            ])
  875.              ],
  876.              [notice_children(see,'player~1',held_by,['watch~1','bag~1'])]
  877.            ]),
  878.   memories('floyd~1',
  879.            [ {|i7|| the player~1 did: examine(see,'player~1') |},
  880.              todo([{|i7|| Examine of see is screendoor |}]),
  881.              [ sense_props(see,
  882.                            'table~1',
  883.                            [ {|i7|| has a surface |},
  884.                              {|i7|| is Table |},
  885.                              co([ {|i7|| inherits Table |},
  886.                                   {|i7|| inherits Table |},
  887.                                   {|i7|| inherits Table |},
  888.                                   {|i7|| inherits Table |}
  889.                                 ])
  890.                            ])
  891.              ],
  892.              [notice_children(see,'table~1',on,['lamp~1','box~1'])],
  893.              model([ {|i7|| 0:33s ago the box is on table |},
  894.                      {|i7|| 0:33s ago the lamp is on table |},
  895.                      props_at('table~1',
  896.                               [ {|i7|| has a surface |},
  897.                                 {|i7|| is Table |},
  898.                                 co([ {|i7|| inherits Table |},
  899.                                      {|i7|| inherits Table |},
  900.                                      {|i7|| inherits Table |},
  901.                                      {|i7|| inherits Table |}
  902.                                    ])
  903.                               ],
  904.                               12),
  905.                      {|i7|| 0:34s ago the plate is in sink |},
  906.                      props_at('sink~1',
  907.                               [ oper('sink~1',
  908.                                      put(spatial,A,in,'sink~1'),
  909.                                      precond({|i7|| ( logically not ( Getprop of A is inherits Liquid )) |},
  910.                                              ['liquids would spill out']),
  911.                                      body(move(spatial,A,in,'sink~1'))),
  912.                                 {|i7|| has an interior |},
  913.                                 {|i7|| is Container |},
  914.                                 {|i7|| Can be touched |},
  915.                                 {|i7|| Can't be moved |},
  916.                                 {|i7|| Can be examine(spatial)ed |},
  917.                                 class_desc([ 'kind is furnature',
  918.                                              'kind is normally thinkable'
  919.                                            ]),
  920.                                 {|i7|| is Thinkable |},
  921.                                 {|i7|| is Furnature |},
  922.                                 {|i7|| Volume_capacity is 10 |},
  923.                                 {|i7|| is dirty |},
  924.                                 {|i7|| isnt Flask |},
  925.                                 {|i7|| is Sink |},
  926.                                 co([ {|i7|| inherits Sink |},
  927.                                      {|i7|| inherits Sink |}
  928.                                    ])
  929.                               ],
  930.                               11),
  931.                      {|i7|| 0:35s ago the cup is in cabinate |},
  932.                      props_at('cabinate~1',
  933.                               [ oper('cabinate~1',
  934.                                      put(spatial,B,in,'cabinate~1'),
  935.                                      precond({|i7|| ( logically not ( Getprop of B is inherits Liquid )) |},
  936.                                              ['liquids would spill out']),
  937.                                      body(move(spatial,B,in,'cabinate~1'))),
  938.                                 {|i7|| has an interior |},
  939.                                 {|i7|| is Container |},
  940.                                 {|i7|| Can be touched |},
  941.                                 {|i7|| Can't be moved |},
  942.                                 {|i7|| Can be examine(spatial)ed |},
  943.                                 class_desc([ 'kind is furnature',
  944.                                              'kind is normally thinkable'
  945.                                            ]),
  946.                                 {|i7|| is Thinkable |},
  947.                                 {|i7|| is Furnature |},
  948.                                 {|i7|| Volume_capacity is 10 |},
  949.                                 {|i7|| is Cabinate |},
  950.                                 co([ {|i7|| inherits Cabinate |},
  951.                                      {|i7|| inherits Cabinate |}
  952.                                    ])
  953.                               ],
  954.                               10),
  955.                      {|i7|| 0:36s ago <unexplored> is west of kitchen |},
  956.                      {|i7|| 0:36s ago <unexplored> is east of kitchen |},
  957.                      {|i7|| 0:36s ago <unexplored> is south of kitchen |},
  958.                      {|i7|| 0:36s ago <unexplored> is north of kitchen |},
  959.                      {|i7|| 0:36s ago the screendoor is in kitchen |},
  960.                      {|i7|| 0:36s ago the player~1 is in kitchen |},
  961.                      {|i7|| 0:36s ago the table is in kitchen |},
  962.                      {|i7|| 0:36s ago the sink is in kitchen |},
  963.                      {|i7|| 0:36s ago the cabinate is in kitchen |},
  964.                      {|i7|| 0:36s ago the floyd is in kitchen |},
  965.                      {|i7|| 0:36s ago kitchen is south of pantry |},
  966.                      {|i7|| 0:37s ago basement is down of pantry |},
  967.                      {|i7|| 0:37s ago the shelf is in pantry |},
  968.                      {|i7|| 0:37s ago pantry is up of basement |},
  969.                      props_at('shovel~1',
  970.                               [ {|i7|| is Shovel |},
  971.                                 co([{|i7|| inherits Shovel |}])
  972.                               ],
  973.                               7),
  974.                      {|i7|| 0:39s ago the shovel is in basement |},
  975.                      {|i7|| 0:42s ago the wrench is held_by floyd |},
  976.                      props_at('floyd~1',
  977.                               [ {|i7|| Name is "Floyd the robot"  |},
  978.                                 {|i7|| Unable to eat |},
  979.                                 {|i7|| is Autonomous |},
  980.                                 {|i7|| Emitting of see is light |},
  981.                                 {|i7|| Mass is 200 |},
  982.                                 {|i7|| Robot |},
  983.                                 {|i7|| Metallic |},
  984.                                 desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
  985.                                 {|i7|| Can be switched |},
  986.                                 {|i7|| Shiny |},
  987.                                 {|i7|| Can be moved |},
  988.                                 class_desc([ 'kind is both partly corporial and non-corporial',
  989.                                              'kind is completely non-corporial',
  990.                                              'kind is normally thinkable',
  991.                                              'kind is corporial',
  992.                                              'kind is an Object'
  993.                                            ]),
  994.                                 {|i7|| is Object |},
  995.                                 {|i7|| is Shiny |},
  996.                                 {|i7|| Has_rel is held_by |},
  997.                                 {|i7|| Volume is 50 |},
  998.                                 {|i7|| Able to examine |},
  999.                                 {|i7|| Able to touch |},
  1000.                                 {|i7|| Can be touched |},
  1001.                                 {|i7|| Can be examine(spatial)ed |},
  1002.                                 {|i7|| is Corporial |},
  1003.                                 {|i7|| is Thinkable |},
  1004.                                 {|i7|| isnt Corporial |},
  1005.                                 {|i7|| is Noncorporial |},
  1006.                                 {|i7|| is Partly_noncorporial |},
  1007.                                 {|i7|| is Character |},
  1008.                                 {|i7|| is powered |},
  1009.                                 {|i7|| Effect of switch(on) is Setprop of floyd is is powered |},
  1010.                                 {|i7|| Effect of switch(off) is Setprop of floyd is is not powered |},
  1011.                                 {|i7|| is Robot |},
  1012.                                 co([ {|i7|| Name is "Floyd the robot"  |},
  1013.                                      {|i7|| inherits Autonomous |},
  1014.                                      {|i7|| inherits Robot |}
  1015.                                    ])
  1016.                               ],
  1017.                               3),
  1018.                      props_at('shelf~1',
  1019.                               [ {|i7|| has a surface |},
  1020.                                 {|i7|| Can't be moved |},
  1021.                                 {|i7|| is Shelf |},
  1022.                                 co([{|i7|| inherits Shelf |}])
  1023.                               ],
  1024.                               2)
  1025.                    ]),
  1026.              {|i7|| timestamp is 12 ( 0:01s ago ) |},
  1027.              {|i7|| the player~1 did: examine(see,'table~1') |},
  1028.              [ sense_props(see,
  1029.                            'sink~1',
  1030.                            [ oper('sink~1',
  1031.                                   put(spatial,A,in,'sink~1'),
  1032.                                   precond({|i7|| ( logically not ( Getprop of A is inherits Liquid )) |},
  1033.                                           ['liquids would spill out']),
  1034.                                   body(move(spatial,A,in,'sink~1'))),
  1035.                              {|i7|| has an interior |},
  1036.                              {|i7|| is Container |},
  1037.                              {|i7|| Can be touched |},
  1038.                              {|i7|| Can't be moved |},
  1039.                              {|i7|| Can be examine(spatial)ed |},
  1040.                              class_desc([ 'kind is furnature',
  1041.                                           'kind is normally thinkable'
  1042.                                         ]),
  1043.                              {|i7|| is Thinkable |},
  1044.                              {|i7|| is Furnature |},
  1045.                              {|i7|| Volume_capacity is 10 |},
  1046.                              {|i7|| is dirty |},
  1047.                              {|i7|| isnt Flask |},
  1048.                              {|i7|| is Sink |},
  1049.                              co([ {|i7|| inherits Sink |},
  1050.                                   {|i7|| inherits Sink |}
  1051.                                 ])
  1052.                            ])
  1053.              ],
  1054.              [notice_children(see,'sink~1',in,['plate~1'])],
  1055.              {|i7|| timestamp is 11 ( 0:02s ago ) |},
  1056.              {|i7|| the player~1 did: examine(see,'sink~1') |},
  1057.              [ sense_props(see,
  1058.                            'cabinate~1',
  1059.                            [ oper('cabinate~1',
  1060.                                   put(spatial,B,in,'cabinate~1'),
  1061.                                   precond({|i7|| ( logically not ( Getprop of B is inherits Liquid )) |},
  1062.                                           ['liquids would spill out']),
  1063.                                   body(move(spatial,B,in,'cabinate~1'))),
  1064.                              {|i7|| has an interior |},
  1065.                              {|i7|| is Container |},
  1066.                              {|i7|| Can be touched |},
  1067.                              {|i7|| Can't be moved |},
  1068.                              {|i7|| Can be examine(spatial)ed |},
  1069.                              class_desc([ 'kind is furnature',
  1070.                                           'kind is normally thinkable'
  1071.                                         ]),
  1072.                              {|i7|| is Thinkable |},
  1073.                              {|i7|| is Furnature |},
  1074.                              {|i7|| Volume_capacity is 10 |},
  1075.                              {|i7|| is Cabinate |},
  1076.                              co([ {|i7|| inherits Cabinate |},
  1077.                                   {|i7|| inherits Cabinate |}
  1078.                                 ])
  1079.                            ])
  1080.              ],
  1081.              [notice_children(see,'cabinate~1',in,['cup~1'])],
  1082.              {|i7|| timestamp is 10 ( 0:03s ago ) |},
  1083.              {|i7|| the player~1 did: examine(see,'cabinate~1') |},
  1084.              [ moved('floyd~1',pantry,in,kitchen),
  1085.                {|i7|| the floyd |},
  1086.                {|i7|| arrives |},
  1087.                from,
  1088.                the,
  1089.                north
  1090.              ],
  1091.              [ sense(see,
  1092.                      [ {|i7|| Player~1 are in the kitchen |},
  1093.                        exits_are([north,south,east,west]),
  1094.                        here_are([ 'floyd~1',
  1095.                                   'cabinate~1',
  1096.                                   'sink~1',
  1097.                                   'table~1',
  1098.                                   'player~1',
  1099.                                   screendoor
  1100.                                 ])
  1101.                      ])
  1102.              ],
  1103.              {|i7|| timestamp is 9 ( 0:04s ago ) |},
  1104.              {|i7|| the player~1 did: goto(walk,south,L38,M38) |},
  1105.              {|i7|| Goals is <nothing> |},
  1106.              [ moved('floyd~1',basement,in,pantry),
  1107.                {|i7|| the floyd |},
  1108.                {|i7|| arrives |},
  1109.                from,
  1110.                the,
  1111.                down
  1112.              ],
  1113.              [ sense(see,
  1114.                      [ {|i7|| Player~1 are in the pantry |},
  1115.                        exits_are([south,down]),
  1116.                        here_are(['floyd~1','shelf~1'])
  1117.                      ])
  1118.              ],
  1119.              {|i7|| timestamp is 8 ( 0:14s ago ) |},
  1120.              {|i7|| the player~1 did: goto(walk,up,L38,M38) |},
  1121.              [ sense_props(see,
  1122.                            'shovel~1',
  1123.                            [ {|i7|| is Shovel |},
  1124.                              co([{|i7|| inherits Shovel |}])
  1125.                            ])
  1126.              ],
  1127.              [{|i7||  |}],
  1128.              {|i7|| timestamp is 7 ( 0:24s ago ) |},
  1129.              {|i7|| the player~1 did: examine(see,'shovel~1') |},
  1130.              [ moved('floyd~1',pantry,in,basement),
  1131.                {|i7|| the floyd |},
  1132.                {|i7|| arrives |},
  1133.                from,
  1134.                the,
  1135.                up
  1136.              ],
  1137.              [ sense(see,
  1138.                      [ {|i7|| Player~1 are in the basement |},
  1139.                        exits_are([up]),
  1140.                        here_are(['floyd~1','shovel~1'])
  1141.                      ])
  1142.              ],
  1143.              {|i7|| timestamp is 6 ( 0:25s ago ) |},
  1144.              {|i7|| the player~1 did: goto(walk,down,L38,M38) |},
  1145.              [true,'My shiny precious!'],
  1146.              {|i7|| timestamp is 5 ( 0:36s ago ) |},
  1147.              {|i7|| the player~1 did: print_('My shiny precious!') |},
  1148.              [ {|i7|| Failure of take(floyd~1) is can't manipulate yourself like that _ly |},
  1149.                ['can\'t manipulate yourself like that',{|i7|| D2ly |}]
  1150.              ],
  1151.              {|i7|| timestamp is 4 ( 0:36s ago ) |},
  1152.              {|i7|| the player~1 did: take('floyd~1') |},
  1153.              [ sense_props(see,
  1154.                            'floyd~1',
  1155.                            [ {|i7|| Name is "Floyd the robot"  |},
  1156.                              {|i7|| Unable to eat |},
  1157.                              {|i7|| is Autonomous |},
  1158.                              {|i7|| Emitting of see is light |},
  1159.                              {|i7|| Mass is 200 |},
  1160.                              {|i7|| Robot |},
  1161.                              {|i7|| Metallic |},
  1162.                              desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
  1163.                              {|i7|| Can be switched |},
  1164.                              {|i7|| Shiny |},
  1165.                              {|i7|| Can be moved |},
  1166.                              class_desc([ 'kind is both partly corporial and non-corporial',
  1167.                                           'kind is completely non-corporial',
  1168.                                           'kind is normally thinkable',
  1169.                                           'kind is corporial',
  1170.                                           'kind is an Object'
  1171.                                         ]),
  1172.                              {|i7|| is Object |},
  1173.                              {|i7|| is Shiny |},
  1174.                              {|i7|| Has_rel is held_by |},
  1175.                              {|i7|| Volume is 50 |},
  1176.                              {|i7|| Able to examine |},
  1177.                              {|i7|| Able to touch |},
  1178.                              {|i7|| Can be touched |},
  1179.                              {|i7|| Can be examine(spatial)ed |},
  1180.                              {|i7|| is Corporial |},
  1181.                              {|i7|| is Thinkable |},
  1182.                              {|i7|| isnt Corporial |},
  1183.                              {|i7|| is Noncorporial |},
  1184.                              {|i7|| is Partly_noncorporial |},
  1185.                              {|i7|| is Character |},
  1186.                              {|i7|| is powered |},
  1187.                              {|i7|| Effect of switch(on) is Setprop of floyd is is powered |},
  1188.                              {|i7|| Effect of switch(off) is Setprop of floyd is is not powered |},
  1189.                              {|i7|| is Robot |},
  1190.                              co([ {|i7|| Name is "Floyd the robot"  |},
  1191.                                   {|i7|| inherits Autonomous |},
  1192.                                   {|i7|| inherits Robot |}
  1193.                                 ])
  1194.                            ])
  1195.              ],
  1196.              [notice_children(see,'floyd~1',held_by,['wrench~1'])],
  1197.              {|i7|| timestamp is 3 ( 0:36s ago ) |},
  1198.              {|i7|| the player~1 did: examine(see,'floyd~1') |},
  1199.              [ sense_props(see,
  1200.                            'shelf~1',
  1201.                            [ {|i7|| has a surface |},
  1202.                              {|i7|| Can't be moved |},
  1203.                              {|i7|| is Shelf |},
  1204.                              co([{|i7|| inherits Shelf |}])
  1205.                            ])
  1206.              ],
  1207.              [{|i7||  |}],
  1208.              {|i7|| timestamp is 2 ( 0:37s ago ) |},
  1209.              {|i7|| the player~1 did: examine(see,'shelf~1') |},
  1210.              [ sense(see,
  1211.                      [ {|i7|| Player~1 are in the pantry |},
  1212.                        exits_are([south,down]),
  1213.                        here_are(['shelf~1','floyd~1'])
  1214.                      ])
  1215.              ],
  1216.              {|i7|| timestamp is 1 ( 0:38s ago ) |},
  1217.              {|i7|| the player~1 did: look |},
  1218.              {|i7|| Structure_label is Mem is floyd |},
  1219.              {|i7|| timestamp is 0 ( 0:38s ago ) |},
  1220.              {|i7|| Inst is floyd |}
  1221.            ]),
  1222.   perceptq('player~1',[]),
  1223.   {|i7|| the floyd is in kitchen |},
  1224.   props(screendoor,
  1225.         [ {|i7|| Door_to is kitchen |},
  1226.           {|i7|| Door_to is garden |},
  1227.           {|i7|| is not opened |},
  1228.           {|i7|| Can't be moved |},
  1229.           {|i7|| Can be opened |},
  1230.           {|i7|| Can be closeed |},
  1231.           {|i7|| Door |},
  1232.           {|i7|| Can be touched |},
  1233.           {|i7|| Can be examine(spatial)ed |},
  1234.           class_desc(['kind is corporial','kind is normally thinkable']),
  1235.           {|i7|| is Thinkable |},
  1236.           {|i7|| is Corporial |},
  1237.           {|i7|| is Door |},
  1238.           co([ {|i7|| Door_to is kitchen |},
  1239.                {|i7|| Door_to is garden |},
  1240.                {|i7|| is not opened |},
  1241.                {|i7|| inherits Door |}
  1242.              ])
  1243.         ]),
  1244.   props(brklamp,
  1245.         [ {|i7|| Name is "definately broken"  |},
  1246.           {|i7|| Effect of switch(on) is true |},
  1247.           {|i7|| Effect of switch(off) is true |},
  1248.           {|i7|| Dented |},
  1249.           {|i7|| Broken |},
  1250.           {|i7|| is Broken |},
  1251.           {|i7|| Name is "possibly broken lamp"  |},
  1252.           effect(hit,
  1253.                  [ {|i7|| Print_ is "Hit brklamp"  |},
  1254.                    {|i7|| Setprop of brklamp is inherits Broken |}
  1255.                  ]),
  1256.           {|i7|| Name is "shiny brass lamp"  |},
  1257.           {|i7|| Light |},
  1258.           {|i7|| Nominals is brass |},
  1259.           {|i7|| Shiny |},
  1260.           class_desc([ 'kind is an Object',
  1261.                        'kind is normally thinkable',
  1262.                        'kind is corporial'
  1263.                      ]),
  1264.           {|i7|| is Corporial |},
  1265.           {|i7|| is Shiny |},
  1266.           {|i7|| Can be switched |},
  1267.           {|i7|| is powered |},
  1268.           {|i7|| Can be touched |},
  1269.           {|i7|| Can be examine(spatial)ed |},
  1270.           {|i7|| is Thinkable |},
  1271.           {|i7|| Can be moved |},
  1272.           {|i7|| is Object |},
  1273.           {|i7|| Emitting of see is light |},
  1274.           {|i7|| looks fragile |},
  1275.           {|i7|| is Lamp |},
  1276.           co([ {|i7|| inherits Broken |},
  1277.                {|i7|| Name is "possibly broken lamp"  |},
  1278.                {|i7|| Effect of switch(on) is Print_ is "Switch is flipped"  |},
  1279.                effect(hit,
  1280.                       [ {|i7|| Print_ is "Hit brklamp"  |},
  1281.                         {|i7|| Setprop of $self is inherits Broken |}
  1282.                       ]),
  1283.                {|i7|| inherits Lamp |}
  1284.              ])
  1285.         ]),
  1286.   props('bag~1',
  1287.         [ oper('bag~1',
  1288.                put(spatial,C,in,'bag~1'),
  1289.                precond({|i7|| ( logically not ( Getprop of C is inherits Liquid )) |},
  1290.                        ['liquids would spill out']),
  1291.                body(move(spatial,C,in,'bag~1'))),
  1292.           {|i7|| has an interior |},
  1293.           {|i7|| is Container |},
  1294.           {|i7|| Can be touched |},
  1295.           {|i7|| Can be examine(spatial)ed |},
  1296.           class_desc(['kind is an Object','kind is normally thinkable']),
  1297.           {|i7|| is Thinkable |},
  1298.           {|i7|| Can be moved |},
  1299.           {|i7|| is Object |},
  1300.           {|i7|| Volume_capacity is 10 |},
  1301.           {|i7|| It's too dark to seely! |},
  1302.           {|i7|| is Bag |},
  1303.           co([{|i7|| inherits Bag |}])
  1304.         ]),
  1305.   props(pantry,
  1306.         [ {|i7|| Can't be moved |},
  1307.           oper(pantry,
  1308.                put(spatial,D,in,pantry),
  1309.                precond({|i7|| ( logically not ( Getprop of D is inherits Liquid )) |},
  1310.                        ['liquids would spill out']),
  1311.                body(move(spatial,D,in,pantry))),
  1312.           {|i7|| has an interior |},
  1313.           {|i7|| is Container |},
  1314.           {|i7|| Volume_capacity is 10000 |},
  1315.           {|i7|| has exits |},
  1316.           {|i7|| is Place |},
  1317.           {|i7|| Closet |},
  1318.           {|i7|| Nominals is kitchen |},
  1319.           desc('You\'re in a dark pantry.'),
  1320.           {|i7|| It's too dark to seely! |},
  1321.           co([ {|i7|| inherits Place |},
  1322.                {|i7|| Closet |},
  1323.                {|i7|| Nominals is kitchen |},
  1324.                desc('You\'re in a dark pantry.'),
  1325.                {|i7|| It's too dark to seely! |}
  1326.              ])
  1327.         ]),
  1328.   props(living_room,
  1329.         [ {|i7|| Can't be moved |},
  1330.           oper(living_room,
  1331.                put(spatial,E,in,living_room),
  1332.                precond({|i7|| ( logically not ( Getprop of E is inherits Liquid )) |},
  1333.                        ['liquids would spill out']),
  1334.                body(move(spatial,E,in,living_room))),
  1335.           {|i7|| has an interior |},
  1336.           {|i7|| is Container |},
  1337.           {|i7|| Volume_capacity is 10000 |},
  1338.           {|i7|| has exits |},
  1339.           {|i7|| is Place |},
  1340.           co([{|i7|| inherits Place |}])
  1341.         ]),
  1342.   props(kitchen,
  1343.         [ {|i7|| Can't be moved |},
  1344.           oper(kitchen,
  1345.                put(spatial,F,in,kitchen),
  1346.                precond({|i7|| ( logically not ( Getprop of F is inherits Liquid )) |},
  1347.                        ['liquids would spill out']),
  1348.                body(move(spatial,F,in,kitchen))),
  1349.           {|i7|| has an interior |},
  1350.           {|i7|| is Container |},
  1351.           {|i7|| Volume_capacity is 10000 |},
  1352.           {|i7|| has exits |},
  1353.           {|i7|| is Place |},
  1354.           co([{|i7|| inherits Place |}])
  1355.         ]),
  1356.   props(garden,
  1357.         [ {|i7|| Can't be moved |},
  1358.           oper(garden,
  1359.                put(spatial,G,in,garden),
  1360.                precond({|i7|| ( logically not ( Getprop of G is inherits Liquid )) |},
  1361.                        ['liquids would spill out']),
  1362.                body(move(spatial,G,in,garden))),
  1363.           {|i7|| has an interior |},
  1364.           {|i7|| is Container |},
  1365.           {|i7|| Volume_capacity is 10000 |},
  1366.           {|i7|| has exits |},
  1367.           {|i7|| is Place |},
  1368.           goto(H,I,up,'You lack the ability to fly.'),
  1369.           {|i7|| Effect of goto(H,I,J,north) is Getprop of screendoor is is opened |},
  1370.           oper(garden,
  1371.                goto(H,I,K,north),
  1372.                precond({|i7|| Getprop of screendoor is is opened |},
  1373.                        ['you must open the door first']),
  1374.                {|i7|| Body is inherited |}),
  1375.           cant_goto(H,
  1376.                     I,
  1377.                     'The fence surrounding the garden is too tall and solid to pass.'),
  1378.           co([ {|i7|| inherits Place |},
  1379.                goto(H,I,up,'You lack the ability to fly.'),
  1380.                {|i7|| Effect of goto(H,I,J,north) is Getprop of screendoor is is opened |},
  1381.                oper({|i7|| $ is self |},
  1382.                     goto(H,I,K,north),
  1383.                     precond({|i7|| Getprop of screendoor is is opened |},
  1384.                             ['you must open the door first']),
  1385.                     {|i7|| Body is inherited |}),
  1386.                cant_goto(H,
  1387.                          I,
  1388.                          'The fence surrounding the garden is too tall and solid to pass.')
  1389.              ])
  1390.         ]),
  1391.   props(dining_room,
  1392.         [ {|i7|| Can't be moved |},
  1393.           oper(dining_room,
  1394.                put(spatial,L,in,dining_room),
  1395.                precond({|i7|| ( logically not ( Getprop of L is inherits Liquid )) |},
  1396.                        ['liquids would spill out']),
  1397.                body(move(spatial,L,in,dining_room))),
  1398.           {|i7|| has an interior |},
  1399.           {|i7|| is Container |},
  1400.           {|i7|| Volume_capacity is 10000 |},
  1401.           {|i7|| has exits |},
  1402.           {|i7|| is Place |},
  1403.           co([{|i7|| inherits Place |}])
  1404.         ]),
  1405.   props(basement,
  1406.         [ {|i7|| Can't be moved |},
  1407.           oper(basement,
  1408.                put(spatial,M,in,basement),
  1409.                precond({|i7|| ( logically not ( Getprop of M is inherits Liquid )) |},
  1410.                        ['liquids would spill out']),
  1411.                body(move(spatial,M,in,basement))),
  1412.           {|i7|| has an interior |},
  1413.           {|i7|| is Container |},
  1414.           {|i7|| Volume_capacity is 10000 |},
  1415.           {|i7|| has exits |},
  1416.           {|i7|| is Place |},
  1417.           desc('This is a very dark basement.'),
  1418.           {|i7|| It's too dark to seely! |},
  1419.           co([ {|i7|| inherits Place |},
  1420.                desc('This is a very dark basement.'),
  1421.                {|i7|| It's too dark to seely! |}
  1422.              ])
  1423.         ]),
  1424.   props('coins~1',
  1425.         [ {|i7|| Shiny |},
  1426.           {|i7|| Can be moved |},
  1427.           class_desc([ 'kind is corporial',
  1428.                        'kind is normally thinkable',
  1429.                        'kind is an Object'
  1430.                      ]),
  1431.           {|i7|| is Object |},
  1432.           {|i7|| Can be touched |},
  1433.           {|i7|| Can be examine(spatial)ed |},
  1434.           {|i7|| is Thinkable |},
  1435.           {|i7|| is Corporial |},
  1436.           {|i7|| is Shiny |},
  1437.           {|i7|| t that has a, quantity ammount |},
  1438.           {|i7|| is Measurable |},
  1439.           {|i7|| is Coins |},
  1440.           co([{|i7|| inherits Coins |}])
  1441.         ]),
  1442.   props('player~1',
  1443.         [ {|i7|| Name is player |},
  1444.           {|i7|| is Console |},
  1445.           {|i7|| Has_rel is held_by |},
  1446.           {|i7|| Mass is 50 |},
  1447.           {|i7|| Volume is 50 |},
  1448.           {|i7|| Able to eat |},
  1449.           {|i7|| Able to examine |},
  1450.           {|i7|| Able to touch |},
  1451.           {|i7|| Has_sense is see |},
  1452.           {|i7|| Can be touched |},
  1453.           {|i7|| Can be examine(spatial)ed |},
  1454.           class_desc([ 'kind is both partly corporial and non-corporial',
  1455.                        'kind is completely non-corporial',
  1456.                        'kind is normally thinkable',
  1457.                        'kind is corporial'
  1458.                      ]),
  1459.           {|i7|| is Corporial |},
  1460.           {|i7|| is Thinkable |},
  1461.           {|i7|| isnt Corporial |},
  1462.           {|i7|| is Noncorporial |},
  1463.           {|i7|| is Partly_noncorporial |},
  1464.           {|i7|| is Character |},
  1465.           {|i7|| is Player |},
  1466.           {|i7|| Can't be switch(off)ed |},
  1467.           {|i7|| is powered |},
  1468.           {|i7|| is Humanoid |},
  1469.           co([ {|i7|| Name is $ is self |},
  1470.                {|i7|| inherits Console |},
  1471.                {|i7|| inherits Humanoid |}
  1472.              ])
  1473.         ]),
  1474.   props('floyd~1',
  1475.         [ {|i7|| Name is "Floyd the robot"  |},
  1476.           {|i7|| Unable to eat |},
  1477.           {|i7|| is Autonomous |},
  1478.           {|i7|| Emitting of see is light |},
  1479.           {|i7|| Mass is 200 |},
  1480.           {|i7|| Robot |},
  1481.           {|i7|| Metallic |},
  1482.           desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
  1483.           {|i7|| Can be switched |},
  1484.           {|i7|| Shiny |},
  1485.           {|i7|| Can be moved |},
  1486.           class_desc([ 'kind is both partly corporial and non-corporial',
  1487.                        'kind is completely non-corporial',
  1488.                        'kind is normally thinkable',
  1489.                        'kind is corporial',
  1490.                        'kind is an Object'
  1491.                      ]),
  1492.           {|i7|| is Object |},
  1493.           {|i7|| is Shiny |},
  1494.           {|i7|| Has_rel is held_by |},
  1495.           {|i7|| Volume is 50 |},
  1496.           {|i7|| Able to examine |},
  1497.           {|i7|| Able to touch |},
  1498.           {|i7|| Has_sense is see |},
  1499.           {|i7|| Can be touched |},
  1500.           {|i7|| Can be examine(spatial)ed |},
  1501.           {|i7|| is Corporial |},
  1502.           {|i7|| is Thinkable |},
  1503.           {|i7|| isnt Corporial |},
  1504.           {|i7|| is Noncorporial |},
  1505.           {|i7|| is Partly_noncorporial |},
  1506.           {|i7|| is Character |},
  1507.           {|i7|| is powered |},
  1508.           {|i7|| Effect of switch(on) is Setprop of floyd is is powered |},
  1509.           {|i7|| Effect of switch(off) is Setprop of floyd is is not powered |},
  1510.           {|i7|| is Robot |},
  1511.           co([ {|i7|| Name is "Floyd the robot"  |},
  1512.                {|i7|| inherits Autonomous |},
  1513.                {|i7|| inherits Robot |}
  1514.              ])
  1515.         ]),
  1516.   props('shelf~1',
  1517.         [ {|i7|| has a surface |},
  1518.           {|i7|| Can't be moved |},
  1519.           {|i7|| is Shelf |},
  1520.           co([{|i7|| inherits Shelf |}])
  1521.         ]),
  1522.   props('rock~1',[{|i7|| is Rock |},co([{|i7|| inherits Rock |}])]),
  1523.   props('fountain~1',
  1524.         [ {|i7|| Volume_capacity is 150 |},
  1525.           {|i7|| Can't be moved |},
  1526.           {|i7|| has exits |},
  1527.           {|i7|| is Place |},
  1528.           oper('fountain~1',
  1529.                put(spatial,N,in,'fountain~1'),
  1530.                precond({|i7|| ( logically not ( Getprop of N is inherits Liquid )) |},
  1531.                        ['liquids would spill out']),
  1532.                body(move(spatial,N,in,'fountain~1'))),
  1533.           {|i7|| has an interior |},
  1534.           {|i7|| is Container |},
  1535.           {|i7|| is Fountain |},
  1536.           co([{|i7|| inherits Fountain |}])
  1537.         ]),
  1538.   props('mushroom~1',
  1539.         [ {|i7|| Name is "speckled mushroom"  |},
  1540.           {|i7|| Can be touched |},
  1541.           {|i7|| Can be examine(spatial)ed |},
  1542.           class_desc(['kind is an Object','kind is normally thinkable']),
  1543.           {|i7|| is Thinkable |},
  1544.           {|i7|| Can be moved |},
  1545.           {|i7|| is Object |},
  1546.           {|i7|| t that has a, quantity ammount |},
  1547.           {|i7|| is Measurable |},
  1548.           {|i7|| is Food |},
  1549.           {|i7|| Mushroom fungus toadstool |},
  1550.           {|i7|| Speckled |},
  1551.           initial('A speckled mushroom grows out of the sodden earth, on a long stalk.'),
  1552.           desc('The mushroom is capped with blotches, and you aren\'t at all sure it\'s not a toadstool.'),
  1553.           {|i7|| looks tasty ! |},
  1554.           {|i7|| Before of eat is; of random(100)=<30,die(It was poisoned!) is "yuck!"  |},
  1555.           after(take,
  1556.                 initial ',' 'You pick the mushroom, neatly cleaving its thin stalk.'),
  1557.           {|i7|| is Mushroom |},
  1558.           co([{|i7|| inherits Mushroom |}])
  1559.         ]),
  1560.   props('shovel~1',[{|i7|| is Shovel |},co([{|i7|| inherits Shovel |}])]),
  1561.   memories('videocamera~1',
  1562.            [ {|i7|| Structure_label is Mem is videocamera |},
  1563.              {|i7|| timestamp is 0 ( 0:38s ago ) |},
  1564.              {|i7|| Model is <nothing> |},
  1565.              {|i7|| Goals is <nothing> |},
  1566.              todo([look]),
  1567.              {|i7|| Inst is videocamera |}
  1568.            ]),
  1569.   perceptq('videocamera~1',[]),
  1570.   props('videocamera~1',
  1571.         [ {|i7|| Can be switched |},
  1572.           {|i7|| Effect of switch(on) is Setprop of videocamera is is powered |},
  1573.           {|i7|| Effect of switch(off) is Setprop of videocamera is is not powered |},
  1574.           {|i7|| is powered |},
  1575.           {|i7|| Has_sense is see |},
  1576.           {|i7|| looks fragile |},
  1577.           {|i7|| is Videocamera |},
  1578.           co([{|i7|| inherits Videocamera |}])
  1579.         ]),
  1580.   props('table_leg~1',
  1581.         [{|i7|| is Table_leg |},co([{|i7|| inherits Table_leg |}])]),
  1582.   props('box~1',
  1583.         [ oper('box~1',
  1584.                put(spatial,O,in,'box~1'),
  1585.                precond({|i7|| ( logically not ( Getprop of O is inherits Liquid )) |},
  1586.                        ['liquids would spill out']),
  1587.                body(move(spatial,O,in,'box~1'))),
  1588.           {|i7|| has an interior |},
  1589.           {|i7|| is Container |},
  1590.           {|i7|| Can be touched |},
  1591.           {|i7|| Can be examine(spatial)ed |},
  1592.           class_desc(['kind is an Object','kind is normally thinkable']),
  1593.           {|i7|| is Thinkable |},
  1594.           {|i7|| Can be moved |},
  1595.           {|i7|| is Object |},
  1596.           {|i7|| Volume_capacity is 15 |},
  1597.           {|i7|| looks fragile |},
  1598.           {|i7|| is not opened |},
  1599.           {|i7|| is locked |},
  1600.           {|i7|| It's too dark to seely! |},
  1601.           {|i7|| is Box |},
  1602.           co([{|i7|| inherits Box |},{|i7|| inherits Box |}])
  1603.         ]),
  1604.   props('flour~1',
  1605.         [ {|i7|| looks tasty ! |},
  1606.           {|i7|| Can be touched |},
  1607.           {|i7|| Can be examine(spatial)ed |},
  1608.           class_desc(['kind is an Object','kind is normally thinkable']),
  1609.           {|i7|| is Thinkable |},
  1610.           {|i7|| Can be moved |},
  1611.           {|i7|| is Object |},
  1612.           {|i7|| is Food |},
  1613.           {|i7|| t that has a, quantity ammount |},
  1614.           {|i7|| is Measurable |},
  1615.           {|i7|| is Flour |},
  1616.           co([{|i7|| inherits Flour |}])
  1617.         ]),
  1618.   props('bowl~1',
  1619.         [ {|i7|| Volume_capacity is 2 |},
  1620.           {|i7|| looks fragile |},
  1621.           {|i7|| is dirty |},
  1622.           oper('bowl~1',
  1623.                put(spatial,P,in,'bowl~1'),
  1624.                precond({|i7|| Getprop of P is inherits Corporial |},
  1625.                        ['non-physical would spill out']),
  1626.                body(move(spatial,P,in,'bowl~1'))),
  1627.           {|i7|| Can be touched |},
  1628.           {|i7|| Can be examine(spatial)ed |},
  1629.           class_desc(['kind is an Object','kind is normally thinkable']),
  1630.           {|i7|| is Thinkable |},
  1631.           {|i7|| Can be moved |},
  1632.           {|i7|| is Object |},
  1633.           oper('bowl~1',
  1634.                put(spatial,Q,in,'bowl~1'),
  1635.                precond({|i7|| ( logically not ( Getprop of Q is inherits Liquid )) |},
  1636.                        ['liquids would spill out']),
  1637.                body(move(spatial,Q,in,'bowl~1'))),
  1638.           {|i7|| has an interior |},
  1639.           {|i7|| is Container |},
  1640.           {|i7|| is Flask |},
  1641.           {|i7|| Name is "porcelain bowl"  |},
  1642.           desc('This is a modest glass cooking bowl with a yellow flower motif glazed into the outside surface.'),
  1643.           {|i7|| is Bowl |},
  1644.           co([{|i7|| inherits Bowl |},{|i7|| inherits Bowl |}])
  1645.         ]),
  1646.   props('lamp~1',
  1647.         [ {|i7|| Name is "shiny brass lamp"  |},
  1648.           {|i7|| Light |},
  1649.           {|i7|| Nominals is brass |},
  1650.           {|i7|| Shiny |},
  1651.           class_desc([ 'kind is an Object',
  1652.                        'kind is normally thinkable',
  1653.                        'kind is corporial'
  1654.                      ]),
  1655.           {|i7|| is Corporial |},
  1656.           {|i7|| is Shiny |},
  1657.           {|i7|| Can be switched |},
  1658.           {|i7|| is powered |},
  1659.           {|i7|| Can be touched |},
  1660.           {|i7|| Can be examine(spatial)ed |},
  1661.           {|i7|| is Thinkable |},
  1662.           {|i7|| Can be moved |},
  1663.           {|i7|| is Object |},
  1664.           {|i7|| Emitting of see is light |},
  1665.           {|i7|| Effect of switch(on) is Setprop of lamp is Emitting of see is light |},
  1666.           {|i7|| Effect of switch(off) is Delprop of lamp is Emitting of see is light |},
  1667.           {|i7|| looks fragile |},
  1668.           {|i7|| is Lamp |},
  1669.           co([{|i7|| inherits Lamp |}])
  1670.         ]),
  1671.   props('table~1',
  1672.         [ {|i7|| has a surface |},
  1673.           {|i7|| is Table |},
  1674.           co([ {|i7|| inherits Table |},
  1675.                {|i7|| inherits Table |},
  1676.                {|i7|| inherits Table |},
  1677.                {|i7|| inherits Table |}
  1678.              ])
  1679.         ]),
  1680.   props('plate~1',
  1681.         [ oper('plate~1',
  1682.                put(spatial,R,in,'plate~1'),
  1683.                precond({|i7|| ( logically not ( Getprop of R is inherits Liquid )) |},
  1684.                        ['liquids would spill out']),
  1685.                body(move(spatial,R,in,'plate~1'))),
  1686.           {|i7|| has an interior |},
  1687.           {|i7|| is Container |},
  1688.           {|i7|| Can be touched |},
  1689.           {|i7|| Can be examine(spatial)ed |},
  1690.           class_desc(['kind is an Object','kind is normally thinkable']),
  1691.           {|i7|| is Thinkable |},
  1692.           {|i7|| Can be moved |},
  1693.           {|i7|| is Object |},
  1694.           {|i7|| Volume_capacity is 2 |},
  1695.           {|i7|| looks fragile |},
  1696.           {|i7|| is dirty |},
  1697.           {|i7|| isnt Flask |},
  1698.           {|i7|| Name is plate |},
  1699.           {|i7|| is Plate |},
  1700.           co([{|i7|| inherits Plate |}])
  1701.         ]),
  1702.   props('sink~1',
  1703.         [ oper('sink~1',
  1704.                put(spatial,S,in,'sink~1'),
  1705.                precond({|i7|| ( logically not ( Getprop of S is inherits Liquid )) |},
  1706.                        ['liquids would spill out']),
  1707.                body(move(spatial,S,in,'sink~1'))),
  1708.           {|i7|| has an interior |},
  1709.           {|i7|| is Container |},
  1710.           {|i7|| Can be touched |},
  1711.           {|i7|| Can't be moved |},
  1712.           {|i7|| Can be examine(spatial)ed |},
  1713.           class_desc(['kind is furnature','kind is normally thinkable']),
  1714.           {|i7|| is Thinkable |},
  1715.           {|i7|| is Furnature |},
  1716.           {|i7|| Volume_capacity is 10 |},
  1717.           {|i7|| is dirty |},
  1718.           {|i7|| isnt Flask |},
  1719.           {|i7|| is Sink |},
  1720.           co([{|i7|| inherits Sink |},{|i7|| inherits Sink |}])
  1721.         ]),
  1722.   props('cup~1',
  1723.         [ oper('cup~1',
  1724.                put(spatial,T,in,'cup~1'),
  1725.                precond({|i7|| Getprop of T is inherits Corporial |},
  1726.                        ['non-physical would spill out']),
  1727.                body(move(spatial,T,in,'cup~1'))),
  1728.           {|i7|| Can be touched |},
  1729.           {|i7|| Can be examine(spatial)ed |},
  1730.           class_desc(['kind is an Object','kind is normally thinkable']),
  1731.           {|i7|| is Thinkable |},
  1732.           {|i7|| Can be moved |},
  1733.           {|i7|| is Object |},
  1734.           oper('cup~1',
  1735.                put(spatial,U,in,'cup~1'),
  1736.                precond({|i7|| ( logically not ( Getprop of U is inherits Liquid )) |},
  1737.                        ['liquids would spill out']),
  1738.                body(move(spatial,U,in,'cup~1'))),
  1739.           {|i7|| has an interior |},
  1740.           {|i7|| is Container |},
  1741.           {|i7|| is Flask |},
  1742.           {|i7|| is Cup |},
  1743.           co([{|i7|| inherits Cup |}])
  1744.         ]),
  1745.   props('cabinate~1',
  1746.         [ oper('cabinate~1',
  1747.                put(spatial,V,in,'cabinate~1'),
  1748.                precond({|i7|| ( logically not ( Getprop of V is inherits Liquid )) |},
  1749.                        ['liquids would spill out']),
  1750.                body(move(spatial,V,in,'cabinate~1'))),
  1751.           {|i7|| has an interior |},
  1752.           {|i7|| is Container |},
  1753.           {|i7|| Can be touched |},
  1754.           {|i7|| Can't be moved |},
  1755.           {|i7|| Can be examine(spatial)ed |},
  1756.           class_desc(['kind is furnature','kind is normally thinkable']),
  1757.           {|i7|| is Thinkable |},
  1758.           {|i7|| is Furnature |},
  1759.           {|i7|| Volume_capacity is 10 |},
  1760.           {|i7|| is Cabinate |},
  1761.           co([{|i7|| inherits Cabinate |},{|i7|| inherits Cabinate |}])
  1762.         ]),
  1763.   {|i7|| the cup is in cabinate |},
  1764.   {|i7|| the cabinate is in kitchen |},
  1765.   {|i7|| the plate is in sink |},
  1766.   {|i7|| the sink is in kitchen |},
  1767.   {|i7|| the lamp is on table |},
  1768.   {|i7|| the table is in kitchen |},
  1769.   {|i7|| the flour is in bowl |},
  1770.   {|i7|| the bowl is in box |},
  1771.   {|i7|| the box is on table |},
  1772.   {|i7|| the table has reverse on to table_leg |},
  1773.   {|i7|| the videocamera is in living_room |},
  1774.   {|i7|| the shovel is in basement |},
  1775.   {|i7|| the mushroom is in garden |},
  1776.   {|i7|| the fountain is in garden |},
  1777.   {|i7|| the rock is in garden |},
  1778.   {|i7|| the shelf is in pantry |},
  1779.   {|i7|| Structure_label is istate |},
  1780.   {|i7|| the player~1 is in kitchen |},
  1781.   {|i7|| the watch is worn_by player~1 |},
  1782.   {|i7|| the bag is held_by player~1 |},
  1783.   {|i7|| the coins is in bag |},
  1784.   {|i7|| the wrench is held_by floyd |},
  1785.   {|i7|| kitchen is south of pantry |},
  1786.   {|i7|| pantry is north of kitchen |},
  1787.   {|i7|| basement is down of pantry |},
  1788.   {|i7|| pantry is up of basement |},
  1789.   {|i7|| garden is south of kitchen |},
  1790.   {|i7|| kitchen is north of garden |},
  1791.   {|i7|| dining_room is east of kitchen |},
  1792.   {|i7|| kitchen is west of dining_room |},
  1793.   {|i7|| living_room is north of dining_room |},
  1794.   {|i7|| dining_room is east of living_room |},
  1795.   {|i7|| kitchen is south of living_room |},
  1796.   {|i7|| living_room is west of kitchen |},
  1797.   {|i7|| the screendoor is in kitchen |},
  1798.   {|i7|| the screendoor is in garden |},
  1799.   {|i7|| the brklamp is in garden |}
  1800. ]
  1801. player~1@spatial>
  1802. % floyd~1: sense_props(see,'player~1',[name('player~1'),inherited(console),has_rel(spatial,held_by),mass(50),volume(50),can_do(eat,t),can_do(examine,t),can_do(touch,t),can_be(touch,t),can_be(examine(spatial),t),class_desc(['kind is both partly corporial and non-corporial','kind is completely non-corporial','kind is normally thinkable','kind is corporial']),inherited(corporial),inherited(thinkable),inherit(corporial,f),inherited(noncorporial),inherited(partly_noncorporial),inherited(character),inherited(player),can_be(switch(off),f),state(powered,t),inherited(humanoid),co([name($self),inherit(console,t),inherit(humanoid,t)])])
  1803. player~1@spatial>
  1804. % floyd~1: sense_props(see,screendoor,[door_to(kitchen),door_to(garden),state(opened,f),can_be(move,f),can_be(open,t),can_be(close,t),nouns(door),can_be(touch,t),can_be(examine(spatial),t),class_desc(['kind is corporial','kind is normally thinkable']),inherited(thinkable),inherited(corporial),inherited(door),co([door_to(kitchen),door_to(garden),state(opened,f),inherit(door,t)])])
  1805. player~1@spatial>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement