Advertisement
logicmoo

little more english

Mar 8th, 2020
1,420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 33.02 KB | None | 0 0
  1. player~1@[does]> props
  2. props
  3. [ {|i7|| <state> the floyd is in pantry |},
  4.   {|i7|| <state> kitchen is south of pantry |},
  5.   {|i7|| <state> pantry is north of kitchen |},
  6.   {|i7|| <state> basement is down of pantry |},
  7.   {|i7|| <state> pantry is up of basement |},
  8.   {|i7|| <state> garden is south of kitchen |},
  9.   {|i7|| <state> kitchen is north of garden |},
  10.   {|i7|| <state> dining room is east of kitchen |},
  11.   {|i7|| <state> kitchen is west of dining room |},
  12.   {|i7|| <state> living room is north of dining room |},
  13.   {|i7|| <state> dining room is east of living room |},
  14.   {|i7|| <state> kitchen is south of living room |},
  15.   {|i7|| <state> living room is west of kitchen |},
  16.   {|i7|| <state> the screendoor is in kitchen |},
  17.   {|i7|| <state> the screendoor is in garden |},
  18.   {|i7|| <state> the brklamp is in garden |},
  19.   {|i7|| <state> the cup is in cabinate |},
  20.   {|i7|| <state> the cabinate is in kitchen |},
  21.   {|i7|| <state> the plate is in sink |},
  22.   {|i7|| <state> the sink is in kitchen |},
  23.   {|i7|| <state> the lamp is on table |},
  24.   {|i7|| <state> the table is in kitchen |},
  25.   {|i7|| <state> the flour is in bowl |},
  26.   {|i7|| <state> the bowl is in box |},
  27.   {|i7|| <state> the box is on table |},
  28.   {|i7|| <state> the table has reverse on to table leg |},
  29.   {|i7|| <state> the apple is in crate |},
  30.   {|i7|| <state> the crate is in kitchen |},
  31.   {|i7|| <state> the fireplace is in living room |},
  32.   {|i7|| <state> the videocamera is in living room |},
  33.   {|i7|| <state> the shovel is in basement |},
  34.   {|i7|| <state> the mushroom is in garden |},
  35.   {|i7|| <state> the fountain is in garden |},
  36.   {|i7|| <state> the rock~1a is in garden |},
  37.   {|i7|| <state> the rock is in garden |},
  38.   {|i7|| <state> the locker is in pantry |},
  39.   {|i7|| <state> the shelf is in pantry |},
  40.   {|i7|| <state> the wrench is held by floyd |},
  41.   {|i7|| <state> the coins is in bag |},
  42.   {|i7|| <state> the bag is held by player |},
  43.   {|i7|| <state> the watch is worn by player |},
  44.   {|i7|| <state> the player is in kitchen |},
  45.   props('player~1',
  46.         [ {|i7|| <nv> ( Nouns: player, humanoid, character, no perceptq, actor and player. ) |},
  47.           {|i7|| <state> player shaped |},
  48.           {|i7|| <state> name is player |},
  49.           {|i7|| <state> look depth is 2 |},
  50.           {|i7|| <state> user mode is 2 |},
  51.           {|i7|| <state> access level is admin |},
  52.           {|i7|| <nv> ( Adjs: physical, perceptive, autolook, fully corporial, partly noncorporial, thinkable and noncorporial. ) |},
  53.           {|i7|| <nv> ( Nominals: console. ) |},
  54.           {|i7|| <nv> inherits console |},
  55.           {|i7|| <nv> Able to eat |},
  56.           {|i7|| <nv> can be dressed up |},
  57.           {|i7|| <nv> can hold objects |},
  58.           {|i7|| <state> model depth is 3 |},
  59.           {|i7|| <state> mass is 50 |},
  60.           {|i7|| <state> is normal size |},
  61.           {|i7|| <nv> ( Has sense: see ) |},
  62.           {|i7|| <nv> inherits no perceptq |},
  63.           {|i7|| <nv> Able to examine |},
  64.           {|i7|| <nv> inherits actor |},
  65.           {|i7|| <nv>  |},
  66.           {|i7|| <nv> inherits autolook |},
  67.           {|i7|| <nv> inherits autoscan |},
  68.           {|i7|| <nv> Can is touched |},
  69.           {|i7|| <state>  |},
  70.           {|i7|| <nv> inherits fully corporial |},
  71.           {|i7|| <nv> is fully corporial |},
  72.           {|i7|| <state> Can't is examineed |},
  73.          {|i7|| <nv> Can is examineed |},
  74.          {|i7|| <nv> inherits thinkable |},
  75.          {|i7|| <nv> inherits noncorporial |},
  76.          {|i7|| <nv> inherits partly noncorporial |},
  77.          {|i7|| <nv> inherits character |},
  78.          {|i7|| <nv> Can't is switch(off)ed |},
  79.           {|i7|| <state> powered |},
  80.           {|i7|| <nv> inherits humanoid |},
  81.           {|i7|| <nv> inherits player |},
  82.           {|i7|| <nv> (Created as: player shaped, is player and ( Nouns: player. ). ) |}
  83.         ]),
  84.   props('watch~1',
  85.         [ {|i7|| <state> watch shaped |},
  86.           {|i7|| <nv> ( Nouns: watch. ) |},
  87.           {|i7|| <nv> inherits watch |},
  88.           {|i7|| <nv> (Created as: watch shaped, is watch and ( Nouns: watch. ). ) |}
  89.         ]),
  90.   props('bag~1',
  91.         [ {|i7|| <nv> ( Nouns: bag, container and bag. ) |},
  92.           {|i7|| <state> bag shaped |},
  93.           {|i7|| <state> volume capacity is 10 |},
  94.           {|i7|| <state> default rel is in |},
  95.           {|i7|| <state> currently not opened |},
  96.           {|i7|| <nv> Can is opened |},
  97.           {|i7|| <nv> thus, has an interior |},
  98.           {|i7|| <nv> inherits container |},
  99.           {|i7|| <nv> ( Adjs: physical, fully corporial and thinkable. ) |},
  100.           {|i7|| <nv> Can is moved |},
  101.           {|i7|| <nv> Can is touched |},
  102.           {|i7|| <state>  |},
  103.           {|i7|| <nv>  |},
  104.           {|i7|| <nv> inherits fully corporial |},
  105.           {|i7|| <nv> Can is examineed |},
  106.           {|i7|| <nv> inherits thinkable |},
  107.           {|i7|| <nv> inherits object |},
  108.           {|i7|| <nv> inherits bag |},
  109.           {|i7|| <nv> (Created as: bag shaped, is bag and ( Nouns: bag. ). ) |}
  110.         ]),
  111.   props('coins~1',
  112.         [ {|i7|| <nv> ( Nouns: coins and coins. ) |},
  113.           {|i7|| <state> coins shaped |},
  114.           {|i7|| <nv> ( Adjs: is shiny!, physical, thinkable, fully corporial and measurable. ) |},
  115.           {|i7|| <nv> Can is moved |},
  116.           {|i7|| <nv>  |},
  117.           {|i7|| <nv> inherits object |},
  118.           {|i7|| <nv> Can is touched |},
  119.           {|i7|| <nv> Can is examineed |},
  120.           {|i7|| <nv> inherits thinkable |},
  121.           {|i7|| <state>  |},
  122.           {|i7|| <nv> inherits fully corporial |},
  123.           {|i7|| <nv> inherits is shiny! |},
  124.           {|i7|| <state> ammount is some |},
  125.           {|i7|| <nv> inherits measurable |},
  126.           {|i7|| <nv> inherits coins |},
  127.           {|i7|| <nv> (Created as: coins shaped, is coins and ( Nouns: coins. ). ) |}
  128.         ]),
  129.   props('wrench~1',
  130.         [ {|i7|| <nv> ( Nouns: wrench and wrench. ) |},
  131.           {|i7|| <state> wrench shaped |},
  132.           {|i7|| <nv> ( Adjs: is shiny!, physical, thinkable and fully corporial. ) |},
  133.           {|i7|| <nv> Can is moved |},
  134.           {|i7|| <nv>  |},
  135.           {|i7|| <nv> inherits object |},
  136.           {|i7|| <nv> Can is touched |},
  137.           {|i7|| <nv> Can is examineed |},
  138.           {|i7|| <nv> inherits thinkable |},
  139.           {|i7|| <state>  |},
  140.           {|i7|| <nv> inherits fully corporial |},
  141.           {|i7|| <nv> inherits is shiny! |},
  142.           {|i7|| <nv> inherits wrench |},
  143.           {|i7|| <nv> (Created as: wrench shaped, is wrench and ( Nouns: wrench. ). ) |}
  144.         ]),
  145.   props('shelf~1',
  146.         [ {|i7|| <nv> ( Nouns: shelf and shelf. ) |},
  147.           {|i7|| <state> shelf shaped |},
  148.           {|i7|| <nv> ( Adjs: physical, untakeable, fully corporial and thinkable. ) |},
  149.           {|i7|| <nv> cannot be taken! |},
  150.           {|i7|| <nv>  |},
  151.           {|i7|| <nv> inherits untakeable |},
  152.           {|i7|| <nv> Can is touched |},
  153.           {|i7|| <nv> inherits fully corporial |},
  154.           {|i7|| <nv> has a surface |},
  155.           {|i7|| <state> default rel is on |},
  156.           {|i7|| <state>  |},
  157.           {|i7|| <nv> inherits surface |},
  158.           {|i7|| <nv> Can is examineed |},
  159.           {|i7|| <nv> inherits thinkable |},
  160.           {|i7|| <nv> inherits furnature |},
  161.           {|i7|| <nv> inherits shelf |},
  162.           {|i7|| <nv> (Created as: shelf shaped, is shelf and ( Nouns: shelf. ). ) |}
  163.         ]),
  164.   props('locker~1',
  165.         [ {|i7|| <nv> ( Nouns: locker, container, locker and metal. ) |},
  166.           {|i7|| <state> locker shaped |},
  167.           {|i7|| <state> default rel is in |},
  168.           {|i7|| <nv> Can is opened |},
  169.           {|i7|| <nv> thus, has an interior |},
  170.           {|i7|| <nv> inherits container |},
  171.           {|i7|| <nv> ( Adjs: physical, fully corporial and thinkable. ) |},
  172.           {|i7|| <nv> Can is moved |},
  173.           {|i7|| <nv> Can is touched |},
  174.           {|i7|| <state>  |},
  175.           {|i7|| <nv>  |},
  176.           {|i7|| <nv> inherits fully corporial |},
  177.           {|i7|| <nv> Can is examineed |},
  178.           {|i7|| <nv> inherits thinkable |},
  179.           {|i7|| <nv> inherits object |},
  180.           {|i7|| <state> volume capacity is 13 |},
  181.           {|i7|| <nv> Can't is burned |},
  182.          {|i7|| <nv> inherits metal |},
  183.          {|i7|| <state> currently not opened |},
  184.          {|i7|| <nv> inherits locker |},
  185.          {|i7|| <nv> (Created as: locker shaped, is locker and ( Nouns: locker. ). ) |}
  186.        ]),
  187.  props('rock~1',
  188.        [ {|i7|| <state> rock shaped |},
  189.          {|i7|| <nv> ( Nouns: rock. ) |},
  190.          {|i7|| <nv> inherits rock |},
  191.          {|i7|| <nv> (Created as: rock shaped, is rock and ( Nouns: rock. ). ) |}
  192.        ]),
  193.  props('rock~1a',
  194.        [ {|i7|| <state> rock shaped |},
  195.          {|i7|| <nv> ( Nouns: rock. ) |},
  196.          {|i7|| <nv> inherits rock |},
  197.          {|i7|| <nv> (Created as: rock shaped, is rock and ( Nouns: rock. ). ) |}
  198.        ]),
  199.  props('fountain~1',
  200.        [ {|i7|| <nv> ( Nouns: fountain, here, fountain, sink, uncloseable and container. ) |},
  201.          {|i7|| <state> fountain shaped |},
  202.          {|i7|| <state> volume capacity is 150 |},
  203.          {|i7|| <state>  "this is a place" |},
  204.          {|i7|| <nv> ( Adjs: locally, physical, untakeable, fully corporial and thinkable. ) |},
  205.          {|i7|| <nv> Can't is moved |},
  206.           {|i7|| <nv> can have exits |},
  207.           {|i7|| <nv> inherits place |},
  208.           {|i7|| <state> cleanliness is dirty |},
  209.           {|i7|| <state> opened |},
  210.           {|i7|| <nv> Can't is closeed |},
  211.          {|i7|| <nv> Can't is opened |},
  212.           {|i7|| <nv> inherits uncloseable |},
  213.           {|i7|| <state> default rel is in |},
  214.           {|i7|| <nv> thus, has an interior |},
  215.           {|i7|| <nv> inherits container |},
  216.           {|i7|| <nv>  |},
  217.           {|i7|| <nv> inherits object |},
  218.           {|i7|| <nv> inherits flask |},
  219.           {|i7|| <nv> cannot be taken! |},
  220.           {|i7|| <nv> inherits untakeable |},
  221.           {|i7|| <nv> Can is touched |},
  222.           {|i7|| <nv> inherits fully corporial |},
  223.           {|i7|| <nv> has a surface |},
  224.           {|i7|| <nv> inherits surface |},
  225.           {|i7|| <nv> Can is examineed |},
  226.           {|i7|| <nv> inherits thinkable |},
  227.           {|i7|| <nv> inherits furnature |},
  228.           {|i7|| <nv> inherits sink |},
  229.           {|i7|| <nv> inherits fountain |},
  230.           {|i7|| <nv> (Created as: fountain shaped, is fountain and ( Nouns: fountain. ). ) |}
  231.         ]),
  232.   props('mushroom~1',
  233.         [ {|i7|| <nv> ( Nouns: mushroom, food, mushroom and ( Eachof: mushroom, fungus and toadstool. ). ) |},
  234.           {|i7|| <state> mushroom shaped |},
  235.           {|i7|| <state> name is speckled mushroom |},
  236.           {|i7|| <nv> ( Adjs: physical, fully corporial, thinkable, measurable and speckled. ) |},
  237.           {|i7|| <nv> Can is moved |},
  238.           {|i7|| <nv> Can is touched |},
  239.           {|i7|| <state>  |},
  240.           {|i7|| <nv>  |},
  241.           {|i7|| <nv> inherits fully corporial |},
  242.           {|i7|| <nv> Can is examineed |},
  243.           {|i7|| <nv> inherits thinkable |},
  244.           {|i7|| <nv> inherits object |},
  245.           {|i7|| <state> ammount is some |},
  246.           {|i7|| <nv> inherits measurable |},
  247.           {|i7|| <nv> inherits food |},
  248.           initial('A speckled mushroom grows out of the sodden earth, on a long stalk.'),
  249.           {|i7|| <state>  "The mushroom is capped with blotches, and you aren't at all sure it's not a toadstool." |},
  250.           {|i7|| <nv> looks tasty ! |},
  251.           before(eat,(random100=<30,die('It was poisoned!');'yuck!')),
  252.           after(take,
  253.                 initial ',' 'You pick the mushroom, neatly cleaving its thin stalk.'),
  254.           {|i7|| <nv> inherits mushroom |},
  255.           {|i7|| <nv> (Created as: mushroom shaped, is mushroom and ( Nouns: mushroom. ). ) |}
  256.         ]),
  257.   props('shovel~1',
  258.         [ {|i7|| <state> shovel shaped |},
  259.           {|i7|| <nv> ( Nouns: shovel. ) |},
  260.           {|i7|| <nv> inherits shovel |},
  261.           {|i7|| <nv> (Created as: shovel shaped, is shovel and ( Nouns: shovel. ). ) |}
  262.         ]),
  263.   props('videocamera~1',
  264.         [ {|i7|| <nv> ( Nouns: videocamera and memorize perceptq. ) |},
  265.           {|i7|| <state> videocamera shaped |},
  266.           {|i7|| <nv> inherits memorize perceptq |},
  267.           {|i7|| <nv> Can is switched |},
  268.           effect(switch(on),
  269.                  setprop('videocamera~1',{|i7|| <state> powered |})),
  270.           effect(switch(off),
  271.                  setprop('videocamera~1',
  272.                          {|i7|| <state> currently not powered |})),
  273.           {|i7|| <state> powered |},
  274.           {|i7|| <nv> ( Has sense: see ) |},
  275.           {|i7|| <state> breaks into is broken videocam |},
  276.           {|i7|| <nv> inherits videocamera |},
  277.           {|i7|| <nv> (Created as: videocamera shaped, is videocamera and ( Nouns: videocamera. ). ) |}
  278.         ]),
  279.   props('fireplace~1',
  280.         [ {|i7|| <nv> ( Nouns: fireplace, uncloseable, container and fireplace. ) |},
  281.           {|i7|| <state> fireplace shaped |},
  282.           {|i7|| <nv> f that it has, on |},
  283.           {|i7|| <nv> ( Has rel: over ) |},
  284.           {|i7|| <state> opened |},
  285.           {|i7|| <nv> Can't is closeed |},
  286.          {|i7|| <nv> Can't is opened |},
  287.           {|i7|| <state> default rel is in |},
  288.           {|i7|| <nv> thus, has an interior |},
  289.           {|i7|| <nv> inherits container |},
  290.           {|i7|| <nv> inherits uncloseable |},
  291.           {|i7|| <state> volume capacity is 20 |},
  292.           {|i7|| <nv> ( Adjs: untakeable, fully corporial, physical and thinkable. ) |},
  293.           {|i7|| <nv> cannot be taken! |},
  294.           {|i7|| <nv>  |},
  295.           {|i7|| <nv> inherits untakeable |},
  296.           {|i7|| <nv> Can is touched |},
  297.           {|i7|| <nv> inherits fully corporial |},
  298.           {|i7|| <state>  |},
  299.           {|i7|| <nv> inherits surface |},
  300.           {|i7|| <nv> Can is examineed |},
  301.           {|i7|| <nv> inherits thinkable |},
  302.           {|i7|| <nv> inherits furnature |},
  303.           {|i7|| <nv> inherits fireplace |},
  304.           {|i7|| <nv> (Created as: fireplace shaped, is fireplace and ( Nouns: fireplace. ). ) |}
  305.         ]),
  306.   props('crate~1',
  307.         [ {|i7|| <nv> ( Nouns: crate, container, crate and wooden. ) |},
  308.           {|i7|| <state> crate shaped |},
  309.           {|i7|| <state> default rel is in |},
  310.           {|i7|| <state> currently not opened |},
  311.           {|i7|| <nv> Can is opened |},
  312.           {|i7|| <nv> thus, has an interior |},
  313.           {|i7|| <nv> inherits container |},
  314.           {|i7|| <nv> ( Adjs: physical, fully corporial and thinkable. ) |},
  315.           {|i7|| <nv> Can is moved |},
  316.           {|i7|| <nv> Can is touched |},
  317.           {|i7|| <state>  |},
  318.           {|i7|| <nv>  |},
  319.           {|i7|| <nv> inherits fully corporial |},
  320.           {|i7|| <nv> Can is examineed |},
  321.           {|i7|| <nv> inherits thinkable |},
  322.           {|i7|| <nv> inherits object |},
  323.           {|i7|| <state> volume capacity is 13 |},
  324.           {|i7|| <state> breaks into is splinters |},
  325.           {|i7|| <nv> Can is burned |},
  326.           {|i7|| <nv> inherits wooden |},
  327.           {|i7|| <nv> inherits crate |},
  328.           {|i7|| <nv> (Created as: crate shaped, is crate and ( Nouns: crate. ). ) |}
  329.         ]),
  330.   props('apple~1',
  331.         [ {|i7|| <state> apple shaped |},
  332.           {|i7|| <nv> ( Nouns: apple. ) |},
  333.           {|i7|| <nv> inherits apple |},
  334.           {|i7|| <nv> (Created as: apple shaped, is apple and ( Nouns: apple. ). ) |}
  335.         ]),
  336.   props('table_leg~1',
  337.         [ {|i7|| <state> table leg shaped |},
  338.           {|i7|| <nv> ( Nouns: table leg. ) |},
  339.           {|i7|| <nv> inherits table leg |},
  340.           {|i7|| <nv> (Created as: table leg shaped, is table leg and ( Nouns: table leg. ). ) |}
  341.         ]),
  342.   props('table~1',
  343.         [ {|i7|| <state> table shaped |},
  344.           {|i7|| <nv> has a surface |},
  345.           {|i7|| <state>  |},
  346.           {|i7|| <nv> inherits surface |},
  347.           {|i7|| <nv> ( Adjs: physical ) |},
  348.           {|i7|| <state> default rel is on |},
  349.           {|i7|| <nv> inherits table |},
  350.           {|i7|| <nv> ( Nouns: table. ) |},
  351.           {|i7|| <nv> (Created as: table shaped, is table and ( Nouns: table. ). ) |}
  352.         ]),
  353.   props('box~1',
  354.         [ {|i7|| <nv> ( Nouns: box, container, box, cardboard and paper. ) |},
  355.           {|i7|| <state> box shaped |},
  356.           {|i7|| <state> volume capacity is 11 |},
  357.           {|i7|| <state> default rel is in |},
  358.           {|i7|| <state> currently not opened |},
  359.           {|i7|| <nv> Can is opened |},
  360.           {|i7|| <nv> thus, has an interior |},
  361.           {|i7|| <nv> inherits container |},
  362.           {|i7|| <nv> ( Adjs: physical, fully corporial and thinkable. ) |},
  363.           {|i7|| <nv> Can is moved |},
  364.           {|i7|| <nv> Can is touched |},
  365.           {|i7|| <state>  |},
  366.           {|i7|| <nv>  |},
  367.           {|i7|| <nv> inherits fully corporial |},
  368.           {|i7|| <nv> Can is examineed |},
  369.           {|i7|| <nv> inherits thinkable |},
  370.           {|i7|| <nv> inherits object |},
  371.           {|i7|| <nv> Can is burned |},
  372.           {|i7|| <nv> inherits paper |},
  373.           {|i7|| <nv> inherits cardboard |},
  374.           {|i7|| <nv> inherits box |},
  375.           {|i7|| <nv> (Created as: box shaped, is box and ( Nouns: box. ). ) |}
  376.         ]),
  377.   props('bowl~1',
  378.         [ {|i7|| <nv> ( Nouns: bowl, uncloseable, container and bowl. ) |},
  379.           {|i7|| <state> bowl shaped |},
  380.           {|i7|| <state> opened |},
  381.           {|i7|| <nv> Can't is closeed |},
  382.          {|i7|| <nv> Can't is opened |},
  383.           {|i7|| <nv> inherits uncloseable |},
  384.           {|i7|| <nv> ( Adjs: physical, fully corporial and thinkable. ) |},
  385.           {|i7|| <state> default rel is in |},
  386.           {|i7|| <nv> thus, has an interior |},
  387.           {|i7|| <nv> inherits container |},
  388.           {|i7|| <nv> Can is moved |},
  389.           {|i7|| <nv> Can is touched |},
  390.           {|i7|| <state>  |},
  391.           {|i7|| <nv>  |},
  392.           {|i7|| <nv> inherits fully corporial |},
  393.           {|i7|| <nv> Can is examineed |},
  394.           {|i7|| <nv> inherits thinkable |},
  395.           {|i7|| <nv> inherits object |},
  396.           {|i7|| <nv> inherits flask |},
  397.           {|i7|| <state> volume capacity is 2 |},
  398.           {|i7|| <state> breaks into is shards |},
  399.           {|i7|| <state> name is porcelain bowl |},
  400.           {|i7|| <state>  "This is a modest glass cooking bowl with a yellow flower motif glazed into the outside surface." |},
  401.           {|i7|| <nv> inherits bowl |},
  402.           {|i7|| <nv> (Created as: bowl shaped, is bowl and ( Nouns: bowl. ). ) |}
  403.         ]),
  404.   props('flour~1',
  405.         [ {|i7|| <nv> ( Nouns: flour, food and flour. ) |},
  406.           {|i7|| <state> flour shaped |},
  407.           {|i7|| <nv> looks tasty ! |},
  408.           {|i7|| <nv> ( Adjs: physical, fully corporial, thinkable and measurable. ) |},
  409.           {|i7|| <nv> Can is moved |},
  410.           {|i7|| <nv> Can is touched |},
  411.           {|i7|| <state>  |},
  412.           {|i7|| <nv>  |},
  413.           {|i7|| <nv> inherits fully corporial |},
  414.           {|i7|| <nv> Can is examineed |},
  415.           {|i7|| <nv> inherits thinkable |},
  416.           {|i7|| <nv> inherits object |},
  417.           {|i7|| <nv> inherits food |},
  418.           {|i7|| <state> ammount is some |},
  419.           {|i7|| <nv> inherits measurable |},
  420.           {|i7|| <nv> inherits flour |},
  421.           {|i7|| <nv> (Created as: flour shaped, is flour and ( Nouns: flour. ). ) |}
  422.         ]),
  423.   props('lamp~1',
  424.         [ {|i7|| <nv> ( Nouns: lamp, light and lamp. ) |},
  425.           {|i7|| <state> lamp shaped |},
  426.           {|i7|| <state> name is shiny brass lamp |},
  427.           {|i7|| <state> powered |},
  428.           {|i7|| <nv> Can is switched |},
  429.           {|i7|| <nv> ( Nominals: brass ) |},
  430.           {|i7|| <nv> ( Adjs: is shiny!, physical, fully corporial and thinkable. ) |},
  431.           {|i7|| <nv> inherits is shiny! |},
  432.           {|i7|| <nv> Can is moved |},
  433.           {|i7|| <nv> Can is touched |},
  434.           {|i7|| <state>  |},
  435.           {|i7|| <nv>  |},
  436.           {|i7|| <nv> inherits fully corporial |},
  437.           {|i7|| <nv> Can is examineed |},
  438.           {|i7|| <nv> inherits thinkable |},
  439.           {|i7|| <nv> inherits object |},
  440.           emitting(see,light),
  441.           effect(switch(on),setprop('lamp~1',emitting(see,light))),
  442.           effect(switch(off),delprop('lamp~1',emitting(see,light))),
  443.           {|i7|| <state> breaks into is broken lamp |},
  444.           {|i7|| <nv> inherits lamp |},
  445.           {|i7|| <nv> (Created as: lamp shaped, is lamp and ( Nouns: lamp. ). ) |}
  446.         ]),
  447.   props('sink~1',
  448.         [ {|i7|| <nv> ( Nouns: sink, uncloseable, container and sink. ) |},
  449.           {|i7|| <state> sink shaped |},
  450.           {|i7|| <state> cleanliness is dirty |},
  451.           {|i7|| <state> opened |},
  452.           {|i7|| <nv> Can't is closeed |},
  453.          {|i7|| <nv> Can't is opened |},
  454.           {|i7|| <nv> inherits uncloseable |},
  455.           {|i7|| <nv> ( Adjs: physical, untakeable, fully corporial and thinkable. ) |},
  456.           {|i7|| <state> default rel is in |},
  457.           {|i7|| <nv> thus, has an interior |},
  458.           {|i7|| <nv> inherits container |},
  459.           {|i7|| <nv> Can is moved |},
  460.           {|i7|| <nv>  |},
  461.           {|i7|| <nv> inherits object |},
  462.           {|i7|| <nv> inherits flask |},
  463.           {|i7|| <nv> cannot be taken! |},
  464.           {|i7|| <nv> inherits untakeable |},
  465.           {|i7|| <nv> Can is touched |},
  466.           {|i7|| <nv> inherits fully corporial |},
  467.           {|i7|| <nv> has a surface |},
  468.           {|i7|| <nv> inherits surface |},
  469.           {|i7|| <nv> Can is examineed |},
  470.           {|i7|| <nv> inherits thinkable |},
  471.           {|i7|| <nv> inherits furnature |},
  472.           {|i7|| <state> volume capacity is 5 |},
  473.           {|i7|| <nv> inherits sink |},
  474.           {|i7|| <nv> (Created as: sink shaped, is sink and ( Nouns: sink. ). ) |}
  475.         ]),
  476.   props('plate~1',
  477.         [ {|i7|| <nv> ( Nouns: plate and plate. ) |},
  478.           {|i7|| <state> plate shaped |},
  479.           {|i7|| <nv> has a surface |},
  480.           {|i7|| <state> default rel is on |},
  481.           {|i7|| <nv> ( Adjs: physical, fully corporial and thinkable. ) |},
  482.           {|i7|| <nv> inherits surface |},
  483.           {|i7|| <nv> Can is moved |},
  484.           {|i7|| <nv> Can is touched |},
  485.           {|i7|| <state>  |},
  486.           {|i7|| <nv>  |},
  487.           {|i7|| <nv> inherits fully corporial |},
  488.           {|i7|| <nv> Can is examineed |},
  489.           {|i7|| <nv> inherits thinkable |},
  490.           {|i7|| <nv> inherits object |},
  491.           {|i7|| <state> volume capacity is 2 |},
  492.           {|i7|| <state> breaks into is shards |},
  493.           {|i7|| <state> name is plate |},
  494.           {|i7|| <nv> inherits plate |},
  495.           {|i7|| <nv> (Created as: plate shaped, is plate and ( Nouns: plate. ). ) |}
  496.         ]),
  497.   props('cabinate~1',
  498.         [ {|i7|| <nv> ( Nouns: cabinate, container and cabinate. ) |},
  499.           {|i7|| <state> cabinate shaped |},
  500.           {|i7|| <state> default rel is in |},
  501.           {|i7|| <state> currently not opened |},
  502.           {|i7|| <nv> Can is opened |},
  503.           {|i7|| <nv> thus, has an interior |},
  504.           {|i7|| <nv> inherits container |},
  505.           {|i7|| <nv> ( Adjs: untakeable, fully corporial, physical and thinkable. ) |},
  506.           {|i7|| <nv> cannot be taken! |},
  507.           {|i7|| <nv>  |},
  508.           {|i7|| <nv> inherits untakeable |},
  509.           {|i7|| <nv> Can is touched |},
  510.           {|i7|| <nv> inherits fully corporial |},
  511.           {|i7|| <nv> has a surface |},
  512.           {|i7|| <state>  |},
  513.           {|i7|| <nv> inherits surface |},
  514.           {|i7|| <nv> Can is examineed |},
  515.           {|i7|| <nv> inherits thinkable |},
  516.           {|i7|| <nv> inherits furnature |},
  517.           {|i7|| <state> volume capacity is 10 |},
  518.           {|i7|| <nv> inherits cabinate |},
  519.           {|i7|| <nv> (Created as: cabinate shaped, is cabinate and ( Nouns: cabinate. ). ) |}
  520.         ]),
  521.   props('cup~1',
  522.         [ {|i7|| <nv> ( Nouns: cup, container and cup. ) |},
  523.           {|i7|| <state> cup shaped |},
  524.           {|i7|| <nv> ( Adjs: physical, fully corporial and thinkable. ) |},
  525.           {|i7|| <state> default rel is in |},
  526.           {|i7|| <state> currently not opened |},
  527.           {|i7|| <nv> Can is opened |},
  528.           {|i7|| <nv> thus, has an interior |},
  529.           {|i7|| <nv> inherits container |},
  530.           {|i7|| <nv> Can is moved |},
  531.           {|i7|| <nv> Can is touched |},
  532.           {|i7|| <state>  |},
  533.           {|i7|| <nv>  |},
  534.           {|i7|| <nv> inherits fully corporial |},
  535.           {|i7|| <nv> Can is examineed |},
  536.           {|i7|| <nv> inherits thinkable |},
  537.           {|i7|| <nv> inherits object |},
  538.           {|i7|| <nv> inherits flask |},
  539.           {|i7|| <nv> inherits cup |},
  540.           {|i7|| <nv> (Created as: cup shaped, is cup and ( Nouns: cup. ). ) |}
  541.         ]),
  542.   props(floyd,
  543.         [ {|i7|| <state> name is Floyd the robot |},
  544.           {|i7|| <state> currently not powered |},
  545.           {|i7|| <nv> Unable to eat |},
  546.           {|i7|| <nv> ( Nouns: autonomous, impulsive, robot, character, no perceptq, actor and floyd. ) |},
  547.           {|i7|| <nv> inherits impulsive |},
  548.           {|i7|| <nv>  |},
  549.           {|i7|| <nv> inherits autonomous |},
  550.           emitting(see,light),
  551.           {|i7|| <state> mass is 200 |},
  552.           {|i7|| <nv> ( Adjs: metallic, is shiny!, physical, perceptive, autolook, fully corporial, partly noncorporial, thinkable and noncorporial. ) |},
  553.           {|i7|| <state>  "Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever." |},
  554.           {|i7|| <nv> Can is switched |},
  555.           {|i7|| <nv> Can is moved |},
  556.           {|i7|| <nv> inherits object |},
  557.           {|i7|| <nv> inherits is shiny! |},
  558.           {|i7|| <nv> can be dressed up |},
  559.           {|i7|| <nv> can hold objects |},
  560.           {|i7|| <state> model depth is 3 |},
  561.           {|i7|| <state> is normal size |},
  562.           {|i7|| <nv> ( Has sense: see ) |},
  563.           {|i7|| <nv> inherits no perceptq |},
  564.           {|i7|| <nv> Able to examine |},
  565.           {|i7|| <nv> inherits actor |},
  566.           {|i7|| <nv> inherits autolook |},
  567.           {|i7|| <nv> inherits autoscan |},
  568.           {|i7|| <nv> Can is touched |},
  569.           {|i7|| <state>  |},
  570.           {|i7|| <nv> inherits fully corporial |},
  571.           {|i7|| <nv> is fully corporial |},
  572.           {|i7|| <state> Can't is examineed |},
  573.          {|i7|| <nv> Can is examineed |},
  574.          {|i7|| <nv> inherits thinkable |},
  575.          {|i7|| <nv> inherits noncorporial |},
  576.          {|i7|| <nv> inherits partly noncorporial |},
  577.          {|i7|| <nv> inherits character |},
  578.          effect(switch(on),setprop(floyd,{|i7|| <state> powered |})),
  579.          effect(switch(off),
  580.                 setprop(floyd,{|i7|| <state> currently not powered |})),
  581.          {|i7|| <nv> inherits robot |},
  582.          {|i7|| <nv> (Created as: name is Floyd the robot, currently not powered, is autonomous and is robot. ) |}
  583.        ]),
  584.  props(screendoor,
  585.        [ {|i7|| <nv> ( Door to: kitchen ) |},
  586.          {|i7|| <nv> ( Door to: garden ) |},
  587.          {|i7|| <nv> ( Nouns: door and screendoor. ) |},
  588.          {|i7|| <nv> cannot be taken! |},
  589.          {|i7|| <nv> Can is opened |},
  590.          {|i7|| <nv> Can is closeed |},
  591.          {|i7|| <state> currently not opened |},
  592.          {|i7|| <nv> Can is touched |},
  593.          {|i7|| <nv> Can is examineed |},
  594.          {|i7|| <nv> ( Adjs: thinkable and fully corporial. ) |},
  595.          {|i7|| <nv>  |},
  596.          {|i7|| <nv> inherits thinkable |},
  597.          {|i7|| <state>  |},
  598.          {|i7|| <nv> inherits fully corporial |},
  599.          {|i7|| <nv> inherits door |},
  600.          {|i7|| <nv> (Created as: ( Door to: kitchen ), ( Door to: garden ), currently not opened and is door. ) |}
  601.        ]),
  602.  props(brklamp,
  603.        [ {|i7|| <state> name is possibly broken lamp |},
  604.          effect(switch(on),print_(_,"Switch is flipped")),
  605.          effect(switch(off),true),
  606.          {|i7|| <nv> ( Adjs: dented, broken, is shiny!, physical, fully corporial and thinkable. ) |},
  607.          {|i7|| <nv> inherits broken |},
  608.          effect(hit,
  609.                 [print_("Hit brklamp"),setprop(brklamp,inherit(broken))]),
  610.          {|i7|| <nv> ( Nouns: lamp, light and brklamp. ) |},
  611.          {|i7|| <state> powered |},
  612.          {|i7|| <nv> Can is switched |},
  613.          {|i7|| <nv> ( Nominals: brass ) |},
  614.          {|i7|| <nv> inherits is shiny! |},
  615.          {|i7|| <nv> Can is moved |},
  616.          {|i7|| <nv> Can is touched |},
  617.          {|i7|| <state>  |},
  618.          {|i7|| <nv>  |},
  619.          {|i7|| <nv> inherits fully corporial |},
  620.          {|i7|| <nv> Can is examineed |},
  621.          {|i7|| <nv> inherits thinkable |},
  622.          {|i7|| <nv> inherits object |},
  623.          emitting(see,light),
  624.          {|i7|| <state> breaks into is broken lamp |},
  625.          {|i7|| <nv> inherits lamp |},
  626.          co([ {|i7|| <nv> is broken |},
  627.               {|i7|| <state> name is possibly broken lamp |},
  628.               effect(switch(on),print_(_,"Switch is flipped")),
  629.               effect(hit,
  630.                      [ print_("Hit brklamp"),
  631.                        setprop($self,inherit(broken))
  632.                      ]),
  633.               {|i7|| <nv> is lamp |}
  634.             ])
  635.        ]),
  636.  props(pantry,
  637.        [ {|i7|| <nv> ( Nouns: closet, here and pantry. ) |},
  638.          {|i7|| <state> is cramped |},
  639.          {|i7|| <nv> ( Nominals: kitchen ) |},
  640.          {|i7|| <state>  "You're in a dark kitchen pantry." |},
  641.           {|i7|| <state> It's too dark to see in! |},
  642.          {|i7|| <state> default rel is in |},
  643.          {|i7|| <nv> thus, has an interior |},
  644.          {|i7|| <nv> ( Adjs: locally ) |},
  645.          {|i7|| <nv> Can't is moved |},
  646.           {|i7|| <nv> cannot be taken! |},
  647.           {|i7|| <nv> can have exits |},
  648.           {|i7|| <nv> inherits place |},
  649.           {|i7|| <nv> (Created as: is cramped, ( Nouns: closet ), ( Nominals: kitchen ), "You're in a dark kitchen pantry.", It's too dark to see in! and is place. ) |}
  650.         ]),
  651.   props(living_room,
  652.         [ {|i7|| <state> is large |},
  653.           {|i7|| <state> default rel is in |},
  654.           {|i7|| <state>  "this is a place" |},
  655.           {|i7|| <nv> thus, has an interior |},
  656.           {|i7|| <nv> ( Nouns: here and living room. ) |},
  657.           {|i7|| <nv> ( Adjs: locally ) |},
  658.           {|i7|| <nv> Can't is moved |},
  659.          {|i7|| <nv> cannot be taken! |},
  660.          {|i7|| <nv> can have exits |},
  661.          {|i7|| <nv> inherits place |},
  662.          {|i7|| <nv> (Created as: is place. ) |}
  663.        ]),
  664.  props(kitchen,
  665.        [ {|i7|| <state>  "cooking happens here" |},
  666.          {|i7|| <state> is large |},
  667.          {|i7|| <state> default rel is in |},
  668.          {|i7|| <nv> thus, has an interior |},
  669.          {|i7|| <nv> ( Nouns: here and kitchen. ) |},
  670.          {|i7|| <nv> ( Adjs: locally ) |},
  671.          {|i7|| <nv> Can't is moved |},
  672.           {|i7|| <nv> cannot be taken! |},
  673.           {|i7|| <nv> can have exits |},
  674.           {|i7|| <nv> inherits place |},
  675.           {|i7|| <nv> (Created as: is place and "cooking happens here". ) |}
  676.         ]),
  677.   props(garden,
  678.         [ cant_go($agent,up,'You lack the ability to fly.'),
  679.           {|i7|| <state>  "this is the garden" |},
  680.           {|i7|| <state> is large |},
  681.           {|i7|| <state> default rel is in |},
  682.           {|i7|| <nv> thus, has an interior |},
  683.           {|i7|| <nv> ( Nouns: here and garden. ) |},
  684.           {|i7|| <nv> ( Adjs: locally ) |},
  685.           {|i7|| <nv> Can't is moved |},
  686.          {|i7|| <nv> cannot be taken! |},
  687.          {|i7|| <nv> can have exits |},
  688.          {|i7|| <nv> inherits place |},
  689.          co([ {|i7|| <nv> is place |},
  690.               cant_go($agent,up,'You lack the ability to fly.'),
  691.               {|i7|| <state>  "this is the garden" |},
  692.               cant_go($ agent,
  693.                       up,
  694.                       'The fence surrounding the garden is too tall and solid to pass.')
  695.             ])
  696.        ]),
  697.  props(dining_room,
  698.        [ {|i7|| <state> is large |},
  699.          {|i7|| <state> default rel is in |},
  700.          {|i7|| <state>  "this is a place" |},
  701.          {|i7|| <nv> thus, has an interior |},
  702.          {|i7|| <nv> ( Nouns: here and dining room. ) |},
  703.          {|i7|| <nv> ( Adjs: locally ) |},
  704.          {|i7|| <nv> Can't is moved |},
  705.           {|i7|| <nv> cannot be taken! |},
  706.           {|i7|| <nv> can have exits |},
  707.           {|i7|| <nv> inherits place |},
  708.           {|i7|| <nv> (Created as: is place. ) |}
  709.         ]),
  710.   props(basement,
  711.         [ {|i7|| <state>  "This is a very dark basement." |},
  712.           {|i7|| <state> is large |},
  713.           {|i7|| <state> default rel is in |},
  714.           {|i7|| <nv> thus, has an interior |},
  715.           {|i7|| <nv> ( Nouns: here and basement. ) |},
  716.           {|i7|| <nv> ( Adjs: locally ) |},
  717.           {|i7|| <nv> Can't is moved |},
  718.          {|i7|| <nv> cannot be taken! |},
  719.          {|i7|| <nv> can have exits |},
  720.          {|i7|| <nv> inherits place |},
  721.          {|i7|| <state> It's too dark to see in! |},
  722.           {|i7|| <nv> (Created as: is place, "This is a very dark basement."and It's too dark to see in!. ) |}
  723.        ])
  724. ]
  725. player~1@[does]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement