Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- state
- [ memories('player~1',
- [ todo([]),
- [ sense(see,
- [ you_are(in,kitchen),
- exits_are([north,south,east,west]),
- here_are([ 'cabinate~1',
- 'sink~1',
- 'table~1',
- 'player~1',
- screendoor
- ])
- ])
- ],
- model([ h(spatial,exit(west),kitchen,'<unexplored>',1),
- h(spatial,exit(east),kitchen,'<unexplored>',1),
- h(spatial,exit(south),kitchen,'<unexplored>',1),
- h(spatial,exit(north),kitchen,'<unexplored>',1),
- h(spatial,in,screendoor,kitchen,1),
- h(spatial,in,'player~1',kitchen,1),
- h(spatial,in,'table~1',kitchen,1),
- h(spatial,in,'sink~1',kitchen,1),
- h(spatial,in,'cabinate~1',kitchen,1)
- ]),
- timestamp(1,7),
- did(look),
- structure_label(mem('player~1')),
- timestamp(0,6.8),
- goals([]),
- inst('player~1'),
- name('player~1'),
- inherit(console,t),
- inherit(humanoid,t)
- ]),
- perceptq('player~1',[]),
- perceptq('floyd~1',[]),
- memories('floyd~1',
- [ [ sense_props(see,
- 'shovel~1',
- [inherited(shovel),co([inherit(shovel,t)])])
- ],
- [notice_children(see,'shovel~1','<unrelatable>',[])],
- model([ props_at('shovel~1',
- [ inherited(shovel),
- co([inherit(shovel,t)])
- ],
- 7),
- h(spatial,exit(up),basement,'<unexplored>',6),
- h(spatial,in,'shovel~1',basement,6),
- h(spatial,in,'floyd~1',basement,6),
- h(spatial,exit(down),pantry,basement,6),
- h(spatial,held_by,'wrench~1','floyd~1',3),
- props_at('floyd~1',
- [ name('Floyd the robot'),
- can_do(eat,f),
- inherited(autonomous),
- emitting(see,light),
- mass(200),
- nouns(robot),
- adjs(metallic),
- desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
- can_be(switch,t),
- adjs(shiny),
- can_be(move,t),
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial',
- 'kind is an Object'
- ]),
- inherited(object),
- inherited(shiny),
- has_rel(spatial,held_by),
- volume(50),
- can_do(examine,t),
- can_do(touch,t),
- can_be(touch,t),
- can_be(examine(spatial),t),
- inherited(corporial),
- inherited(thinkable),
- inherit(corporial,f),
- inherited(noncorporial),
- inherited(partly_noncorporial),
- inherited(character),
- state(powered,t),
- effect(switch(on),
- setprop('floyd~1',
- state(powered,t))),
- effect(switch(off),
- setprop('floyd~1',
- state(powered,f))),
- inherited(robot),
- co([ name('Floyd the robot'),
- inherit(autonomous,t),
- inherit(robot,t)
- ])
- ],
- 3),
- props_at('shelf~1',
- [ has_rel(spatial,on),
- can_be(move,f),
- inherited(shelf),
- co([inherit(shelf,t)])
- ],
- 2),
- h(spatial,exit(south),pantry,'<unexplored>',1),
- h(spatial,in,'shelf~1',pantry,1)
- ]),
- timestamp(7,20.5),
- did(examine(see,'shovel~1')),
- todo([]),
- [ moved('floyd~1',pantry,in,basement),
- the('floyd~1'),
- person(arrived,arrives),
- from,
- the,
- up
- ],
- [ sense(see,
- [ you_are(in,basement),
- exits_are([up]),
- here_are(['floyd~1','shovel~1'])
- ])
- ],
- timestamp(6,19.6),
- did(goto(walk,down,L38,M38)),
- goals([]),
- [true,'My shiny precious!'],
- timestamp(5,9.1),
- did(print_('My shiny precious!')),
- [ failure(take('floyd~1'),cant(manipulate(_,self))),
- ['can\'t manipulate yourself like that',ly(D2)]
- ],
- timestamp(4,9),
- did(take('floyd~1')),
- [ sense_props(see,
- 'floyd~1',
- [ name('Floyd the robot'),
- can_do(eat,f),
- inherited(autonomous),
- emitting(see,light),
- mass(200),
- nouns(robot),
- adjs(metallic),
- desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
- can_be(switch,t),
- adjs(shiny),
- can_be(move,t),
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial',
- 'kind is an Object'
- ]),
- inherited(object),
- inherited(shiny),
- has_rel(spatial,held_by),
- volume(50),
- can_do(examine,t),
- can_do(touch,t),
- can_be(touch,t),
- can_be(examine(spatial),t),
- inherited(corporial),
- inherited(thinkable),
- inherit(corporial,f),
- inherited(noncorporial),
- inherited(partly_noncorporial),
- inherited(character),
- state(powered,t),
- effect(switch(on),
- setprop('floyd~1',state(powered,t))),
- effect(switch(off),
- setprop('floyd~1',state(powered,f))),
- inherited(robot),
- co([ name('Floyd the robot'),
- inherit(autonomous,t),
- inherit(robot,t)
- ])
- ])
- ],
- [notice_children(see,'floyd~1',held_by,['wrench~1'])],
- timestamp(3,8.9),
- did(examine(see,'floyd~1')),
- [ sense_props(see,
- 'shelf~1',
- [ has_rel(spatial,on),
- can_be(move,f),
- inherited(shelf),
- co([inherit(shelf,t)])
- ])
- ],
- [notice_children(see,'shelf~1',on,[])],
- timestamp(2,8),
- did(examine(see,'shelf~1')),
- [ sense(see,
- [ you_are(in,pantry),
- exits_are([south,down]),
- here_are(['shelf~1','floyd~1'])
- ])
- ],
- timestamp(1,7),
- did(look),
- structure_label(mem('floyd~1')),
- timestamp(0,6.9),
- inst('floyd~1')
- ]),
- h(spatial,in,'floyd~1',basement),
- props(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)
- ])
- ]),
- props(brklamp,
- [ name('definately broken'),
- effect(switch(on),true),
- effect(switch(off),true),
- adjs(dented),
- adjs(broken),
- inherited(broken),
- name('possibly broken lamp'),
- effect(hit,
- [ print_("Hit brklamp"),
- setprop(brklamp,inherit(broken,t))
- ]),
- name('shiny brass lamp'),
- nouns(light),
- nominals(brass),
- adjs(shiny),
- class_desc([ 'kind is an Object',
- 'kind is normally thinkable',
- 'kind is corporial'
- ]),
- inherited(corporial),
- inherited(shiny),
- can_be(switch,t),
- state(powered,t),
- can_be(touch,t),
- can_be(examine(spatial),t),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- emitting(see,light),
- fragile(inherit(broken_lamp,t)),
- inherited(lamp),
- co([ inherit(broken,t),
- name('possibly broken lamp'),
- effect(switch(on),print_("Switch is flipped")),
- effect(hit,
- [ print_("Hit brklamp"),
- setprop($self,inherit(broken,t))
- ]),
- inherit(lamp,t)
- ])
- ]),
- props('bag~1',
- [ oper('bag~1',
- put(spatial,A,in,'bag~1'),
- precond(~(getprop(A,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,A,in,'bag~1'))),
- has_rel(spatial,in),
- inherited(container),
- can_be(touch,t),
- can_be(examine(spatial),t),
- class_desc(['kind is an Object','kind is normally thinkable']),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- volume_capacity(10),
- state(dark,t),
- inherited(bag),
- co([inherit(bag,t)])
- ]),
- props(pantry,
- [ can_be(move,f),
- oper(pantry,
- put(spatial,B,in,pantry),
- precond(~(getprop(B,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,B,in,pantry))),
- has_rel(spatial,in),
- inherited(container),
- volume_capacity(10000),
- has_rel(exit(_),t),
- inherited(place),
- nouns(closet),
- nominals(kitchen),
- desc('You\'re in a dark pantry.'),
- state(dark,t),
- co([ inherit(place,t),
- nouns(closet),
- nominals(kitchen),
- desc('You\'re in a dark pantry.'),
- state(dark,t)
- ])
- ]),
- props(living_room,
- [ can_be(move,f),
- oper(living_room,
- put(spatial,C,in,living_room),
- precond(~(getprop(C,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,C,in,living_room))),
- has_rel(spatial,in),
- inherited(container),
- volume_capacity(10000),
- has_rel(exit(_),t),
- inherited(place),
- co([inherit(place,t)])
- ]),
- props(kitchen,
- [ can_be(move,f),
- oper(kitchen,
- put(spatial,D,in,kitchen),
- precond(~(getprop(D,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,D,in,kitchen))),
- has_rel(spatial,in),
- inherited(container),
- volume_capacity(10000),
- has_rel(exit(_),t),
- inherited(place),
- co([inherit(place,t)])
- ]),
- props(garden,
- [ can_be(move,f),
- oper(garden,
- put(spatial,E,in,garden),
- precond(~(getprop(E,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,E,in,garden))),
- has_rel(spatial,in),
- inherited(container),
- volume_capacity(10000),
- has_rel(exit(_),t),
- inherited(place),
- goto(F,G,up,'You lack the ability to fly.'),
- effect(goto(F,G,H,north),getprop(screendoor,state(opened,t))),
- oper(garden,
- goto(F,G,I,north),
- precond(getprop(screendoor,state(opened,t)),
- ['you must open the door first']),
- body(inherited)),
- cant_goto(F,
- G,
- 'The fence surrounding the garden is too tall and solid to pass.'),
- co([ inherit(place,t),
- goto(F,G,up,'You lack the ability to fly.'),
- effect(goto(F,G,H,north),
- getprop(screendoor,state(opened,t))),
- oper($ self,
- goto(F,G,I,north),
- precond(getprop(screendoor,state(opened,t)),
- ['you must open the door first']),
- body(inherited)),
- cant_goto(F,
- G,
- 'The fence surrounding the garden is too tall and solid to pass.')
- ])
- ]),
- props(dining_room,
- [ can_be(move,f),
- oper(dining_room,
- put(spatial,J,in,dining_room),
- precond(~(getprop(J,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,J,in,dining_room))),
- has_rel(spatial,in),
- inherited(container),
- volume_capacity(10000),
- has_rel(exit(_),t),
- inherited(place),
- co([inherit(place,t)])
- ]),
- props(basement,
- [ can_be(move,f),
- oper(basement,
- put(spatial,K,in,basement),
- precond(~(getprop(K,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,K,in,basement))),
- has_rel(spatial,in),
- inherited(container),
- volume_capacity(10000),
- has_rel(exit(_),t),
- inherited(place),
- desc('This is a very dark basement.'),
- state(dark,t),
- co([ inherit(place,t),
- desc('This is a very dark basement.'),
- state(dark,t)
- ])
- ]),
- props('coins~1',
- [ adjs(shiny),
- can_be(move,t),
- class_desc([ 'kind is corporial',
- 'kind is normally thinkable',
- 'kind is an Object'
- ]),
- inherited(object),
- can_be(touch,t),
- can_be(examine(spatial),t),
- inherited(thinkable),
- inherited(corporial),
- inherited(shiny),
- has_rel(quantity,ammount,t),
- inherited(measurable),
- inherited(coins),
- co([inherit(coins,t)])
- ]),
- props('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),
- has_sense(see),
- 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)])
- ]),
- props('floyd~1',
- [ name('Floyd the robot'),
- can_do(eat,f),
- inherited(autonomous),
- emitting(see,light),
- mass(200),
- nouns(robot),
- adjs(metallic),
- desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
- can_be(switch,t),
- adjs(shiny),
- can_be(move,t),
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial',
- 'kind is an Object'
- ]),
- inherited(object),
- inherited(shiny),
- has_rel(spatial,held_by),
- volume(50),
- can_do(examine,t),
- can_do(touch,t),
- has_sense(see),
- can_be(touch,t),
- can_be(examine(spatial),t),
- inherited(corporial),
- inherited(thinkable),
- inherit(corporial,f),
- inherited(noncorporial),
- inherited(partly_noncorporial),
- inherited(character),
- state(powered,t),
- effect(switch(on),setprop('floyd~1',state(powered,t))),
- effect(switch(off),setprop('floyd~1',state(powered,f))),
- inherited(robot),
- co([ name('Floyd the robot'),
- inherit(autonomous,t),
- inherit(robot,t)
- ])
- ]),
- props('shelf~1',
- [ has_rel(spatial,on),
- can_be(move,f),
- inherited(shelf),
- co([inherit(shelf,t)])
- ]),
- props('rock~1',[inherited(rock),co([inherit(rock,t)])]),
- props('fountain~1',
- [ volume_capacity(150),
- can_be(move,f),
- has_rel(exit(_),t),
- inherited(place),
- oper('fountain~1',
- put(spatial,L,in,'fountain~1'),
- precond(~(getprop(L,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,L,in,'fountain~1'))),
- has_rel(spatial,in),
- inherited(container),
- inherited(fountain),
- co([inherit(fountain,t)])
- ]),
- props('mushroom~1',
- [ name('speckled mushroom'),
- can_be(touch,t),
- can_be(examine(spatial),t),
- class_desc(['kind is an Object','kind is normally thinkable']),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- has_rel(quantity,ammount,t),
- inherited(measurable),
- inherited(food),
- nouns([mushroom,fungus,toadstool]),
- adjs([speckled]),
- initial('A speckled mushroom grows out of the sodden earth, on a long stalk.'),
- desc('The mushroom is capped with blotches, and you aren\'t at all sure it\'s not a toadstool.'),
- can_be(eat,t),
- before(eat,(random(100)=<30,die('It was poisoned!');'yuck!')),
- after(take,
- initial ',' 'You pick the mushroom, neatly cleaving its thin stalk.'),
- inherited(mushroom),
- co([inherit(mushroom,t)])
- ]),
- props('shovel~1',[inherited(shovel),co([inherit(shovel,t)])]),
- memories('videocamera~1',
- [ structure_label(mem('videocamera~1')),
- timestamp(0,6.9),
- model([]),
- goals([]),
- todo([look]),
- inst('videocamera~1')
- ]),
- perceptq('videocamera~1',[]),
- props('videocamera~1',
- [ can_be(switch,t),
- effect(switch(on),setprop('videocamera~1',state(powered,t))),
- effect(switch(off),setprop('videocamera~1',state(powered,f))),
- state(powered,t),
- has_sense(see),
- fragile(broken_videocam),
- inherited(videocamera),
- co([inherit(videocamera,t)])
- ]),
- props('table_leg~1',[inherited(table_leg),co([inherit(table_leg,t)])]),
- props('box~1',
- [ oper('box~1',
- put(spatial,M,in,'box~1'),
- precond(~(getprop(M,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,M,in,'box~1'))),
- has_rel(spatial,in),
- inherited(container),
- can_be(touch,t),
- can_be(examine(spatial),t),
- class_desc(['kind is an Object','kind is normally thinkable']),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- volume_capacity(15),
- fragile(splinters),
- state(opened,f),
- state(locked,t),
- state(dark,t),
- inherited(box),
- co([inherit(box,t),inherit(box,t)])
- ]),
- props('flour~1',
- [ can_be(eat,t),
- can_be(touch,t),
- can_be(examine(spatial),t),
- class_desc(['kind is an Object','kind is normally thinkable']),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- inherited(food),
- has_rel(quantity,ammount,t),
- inherited(measurable),
- inherited(flour),
- co([inherit(flour,t)])
- ]),
- props('bowl~1',
- [ volume_capacity(2),
- fragile(shards),
- state(dirty,t),
- oper('bowl~1',
- put(spatial,N,in,'bowl~1'),
- precond(getprop(N,inherit(corporial,t)),
- ['non-physical would spill out']),
- body(move(spatial,N,in,'bowl~1'))),
- can_be(touch,t),
- can_be(examine(spatial),t),
- class_desc(['kind is an Object','kind is normally thinkable']),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- oper('bowl~1',
- put(spatial,O,in,'bowl~1'),
- precond(~(getprop(O,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,O,in,'bowl~1'))),
- has_rel(spatial,in),
- inherited(container),
- inherited(flask),
- name('porcelain bowl'),
- desc('This is a modest glass cooking bowl with a yellow flower motif glazed into the outside surface.'),
- inherited(bowl),
- co([inherit(bowl,t),inherit(bowl,t)])
- ]),
- props('lamp~1',
- [ name('shiny brass lamp'),
- nouns(light),
- nominals(brass),
- adjs(shiny),
- class_desc([ 'kind is an Object',
- 'kind is normally thinkable',
- 'kind is corporial'
- ]),
- inherited(corporial),
- inherited(shiny),
- can_be(switch,t),
- state(powered,t),
- can_be(touch,t),
- can_be(examine(spatial),t),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- emitting(see,light),
- effect(switch(on),setprop('lamp~1',emitting(see,light))),
- effect(switch(off),delprop('lamp~1',emitting(see,light))),
- fragile(inherit(broken_lamp,t)),
- inherited(lamp),
- co([inherit(lamp,t)])
- ]),
- props('table~1',
- [ has_rel(spatial,on),
- inherited(table),
- co([ inherit(table,t),
- inherit(table,t),
- inherit(table,t),
- inherit(table,t)
- ])
- ]),
- props('plate~1',
- [ oper('plate~1',
- put(spatial,P,in,'plate~1'),
- precond(~(getprop(P,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,P,in,'plate~1'))),
- has_rel(spatial,in),
- inherited(container),
- can_be(touch,t),
- can_be(examine(spatial),t),
- class_desc(['kind is an Object','kind is normally thinkable']),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- volume_capacity(2),
- fragile(shards),
- state(dirty,t),
- inherit(flask,f),
- name(plate),
- inherited(plate),
- co([inherit(plate,t)])
- ]),
- props('sink~1',
- [ oper('sink~1',
- put(spatial,Q,in,'sink~1'),
- precond(~(getprop(Q,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,Q,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)])
- ]),
- props('cup~1',
- [ oper('cup~1',
- put(spatial,R,in,'cup~1'),
- precond(getprop(R,inherit(corporial,t)),
- ['non-physical would spill out']),
- body(move(spatial,R,in,'cup~1'))),
- can_be(touch,t),
- can_be(examine(spatial),t),
- class_desc(['kind is an Object','kind is normally thinkable']),
- inherited(thinkable),
- can_be(move,t),
- inherited(object),
- oper('cup~1',
- put(spatial,S,in,'cup~1'),
- precond(~(getprop(S,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,S,in,'cup~1'))),
- has_rel(spatial,in),
- inherited(container),
- inherited(flask),
- inherited(cup),
- co([inherit(cup,t)])
- ]),
- props('cabinate~1',
- [ oper('cabinate~1',
- put(spatial,T,in,'cabinate~1'),
- precond(~(getprop(T,inherit(liquid,t))),
- ['liquids would spill out']),
- body(move(spatial,T,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)])
- ]),
- h(spatial,in,'cup~1','cabinate~1'),
- h(spatial,in,'cabinate~1',kitchen),
- h(spatial,in,'plate~1','sink~1'),
- h(spatial,in,'sink~1',kitchen),
- h(spatial,on,'lamp~1','table~1'),
- h(spatial,in,'table~1',kitchen),
- h(spatial,in,'flour~1','bowl~1'),
- h(spatial,in,'bowl~1','box~1'),
- h(spatial,on,'box~1','table~1'),
- h(spatial,reverse(on),'table~1','table_leg~1'),
- h(spatial,in,'videocamera~1',living_room),
- h(spatial,in,'shovel~1',basement),
- h(spatial,in,'mushroom~1',garden),
- h(spatial,in,'fountain~1',garden),
- h(spatial,in,'rock~1',garden),
- h(spatial,in,'shelf~1',pantry),
- structure_label(istate),
- h(spatial,in,'player~1',kitchen),
- h(spatial,worn_by,'watch~1','player~1'),
- h(spatial,held_by,'bag~1','player~1'),
- h(spatial,in,'coins~1','bag~1'),
- h(spatial,held_by,'wrench~1','floyd~1'),
- h(spatial,exit(south),pantry,kitchen),
- h(spatial,exit(north),kitchen,pantry),
- h(spatial,exit(down),pantry,basement),
- h(spatial,exit(up),basement,pantry),
- h(spatial,exit(south),kitchen,garden),
- h(spatial,exit(north),garden,kitchen),
- h(spatial,exit(east),kitchen,dining_room),
- h(spatial,exit(west),dining_room,kitchen),
- h(spatial,exit(north),dining_room,living_room),
- h(spatial,exit(east),living_room,dining_room),
- h(spatial,exit(south),living_room,kitchen),
- h(spatial,exit(west),kitchen,living_room),
- h(spatial,in,screendoor,kitchen),
- h(spatial,in,screendoor,garden),
- h(spatial,in,brklamp,garden)
- ]
- english 2
- % ( ['2']
- % -> [2]
- % ).
- english(2)
- english=2
- the floyd arrives from the north
- % 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)])])
- % 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)])])
- e
- % 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)])])
- [ memories('player~1',
- [ moved('floyd~1',pantry,in,kitchen),
- from,
- the,
- north
- ],
- ]),
- [ sense(see,
- exits_are([north,south,east,west]),
- here_are([ 'cabinate~1',
- 'sink~1',
- 'table~1',
- 'player~1',
- screendoor
- ])
- ])
- ],
- ]),
- perceptq('floyd~1',
- [ [ sense_props(see,
- 'player~1',
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial'
- ]),
- ])
- ])
- ],
- [notice_children(see,'player~1',held_by,['watch~1','bag~1'])]
- ]),
- memories('floyd~1',
- [ sense_props(see,
- 'table~1',
- ])
- ])
- ],
- [notice_children(see,'table~1',on,['lamp~1','box~1'])],
- props_at('table~1',
- ])
- ],
- 12),
- props_at('sink~1',
- [ oper('sink~1',
- put(spatial,A,in,'sink~1'),
- ['liquids would spill out']),
- body(move(spatial,A,in,'sink~1'))),
- class_desc([ 'kind is furnature',
- 'kind is normally thinkable'
- ]),
- ])
- ],
- 11),
- props_at('cabinate~1',
- [ oper('cabinate~1',
- put(spatial,B,in,'cabinate~1'),
- ['liquids would spill out']),
- body(move(spatial,B,in,'cabinate~1'))),
- class_desc([ 'kind is furnature',
- 'kind is normally thinkable'
- ]),
- ])
- ],
- 10),
- props_at('shovel~1',
- ],
- 7),
- props_at('floyd~1',
- desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial',
- 'kind is an Object'
- ]),
- ])
- ],
- 3),
- props_at('shelf~1',
- ],
- 2)
- ]),
- [ sense_props(see,
- 'sink~1',
- [ oper('sink~1',
- put(spatial,A,in,'sink~1'),
- ['liquids would spill out']),
- body(move(spatial,A,in,'sink~1'))),
- class_desc([ 'kind is furnature',
- 'kind is normally thinkable'
- ]),
- ])
- ])
- ],
- [notice_children(see,'sink~1',in,['plate~1'])],
- [ sense_props(see,
- 'cabinate~1',
- [ oper('cabinate~1',
- put(spatial,B,in,'cabinate~1'),
- ['liquids would spill out']),
- body(move(spatial,B,in,'cabinate~1'))),
- class_desc([ 'kind is furnature',
- 'kind is normally thinkable'
- ]),
- ])
- ])
- ],
- [notice_children(see,'cabinate~1',in,['cup~1'])],
- [ moved('floyd~1',pantry,in,kitchen),
- from,
- the,
- north
- ],
- [ sense(see,
- exits_are([north,south,east,west]),
- here_are([ 'floyd~1',
- 'cabinate~1',
- 'sink~1',
- 'table~1',
- 'player~1',
- screendoor
- ])
- ])
- ],
- [ moved('floyd~1',basement,in,pantry),
- from,
- the,
- down
- ],
- [ sense(see,
- exits_are([south,down]),
- here_are(['floyd~1','shelf~1'])
- ])
- ],
- [ sense_props(see,
- 'shovel~1',
- ])
- ],
- [ moved('floyd~1',pantry,in,basement),
- from,
- the,
- up
- ],
- [ sense(see,
- exits_are([up]),
- here_are(['floyd~1','shovel~1'])
- ])
- ],
- [true,'My shiny precious!'],
- ],
- [ sense_props(see,
- 'floyd~1',
- desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial',
- 'kind is an Object'
- ]),
- ])
- ])
- ],
- [notice_children(see,'floyd~1',held_by,['wrench~1'])],
- [ sense_props(see,
- 'shelf~1',
- ])
- ],
- [ sense(see,
- exits_are([south,down]),
- here_are(['shelf~1','floyd~1'])
- ])
- ],
- ]),
- perceptq('player~1',[]),
- props(screendoor,
- class_desc(['kind is corporial','kind is normally thinkable']),
- ])
- ]),
- props(brklamp,
- effect(hit,
- ]),
- class_desc([ 'kind is an Object',
- 'kind is normally thinkable',
- 'kind is corporial'
- ]),
- effect(hit,
- ]),
- ])
- ]),
- props('bag~1',
- [ oper('bag~1',
- put(spatial,C,in,'bag~1'),
- ['liquids would spill out']),
- body(move(spatial,C,in,'bag~1'))),
- class_desc(['kind is an Object','kind is normally thinkable']),
- ]),
- props(pantry,
- oper(pantry,
- put(spatial,D,in,pantry),
- ['liquids would spill out']),
- body(move(spatial,D,in,pantry))),
- desc('You\'re in a dark pantry.'),
- desc('You\'re in a dark pantry.'),
- ])
- ]),
- props(living_room,
- oper(living_room,
- put(spatial,E,in,living_room),
- ['liquids would spill out']),
- body(move(spatial,E,in,living_room))),
- ]),
- props(kitchen,
- oper(kitchen,
- put(spatial,F,in,kitchen),
- ['liquids would spill out']),
- body(move(spatial,F,in,kitchen))),
- ]),
- props(garden,
- oper(garden,
- put(spatial,G,in,garden),
- ['liquids would spill out']),
- body(move(spatial,G,in,garden))),
- goto(H,I,up,'You lack the ability to fly.'),
- oper(garden,
- goto(H,I,K,north),
- ['you must open the door first']),
- cant_goto(H,
- I,
- 'The fence surrounding the garden is too tall and solid to pass.'),
- goto(H,I,up,'You lack the ability to fly.'),
- goto(H,I,K,north),
- ['you must open the door first']),
- cant_goto(H,
- I,
- 'The fence surrounding the garden is too tall and solid to pass.')
- ])
- ]),
- props(dining_room,
- oper(dining_room,
- put(spatial,L,in,dining_room),
- ['liquids would spill out']),
- body(move(spatial,L,in,dining_room))),
- ]),
- props(basement,
- oper(basement,
- put(spatial,M,in,basement),
- ['liquids would spill out']),
- body(move(spatial,M,in,basement))),
- desc('This is a very dark basement.'),
- desc('This is a very dark basement.'),
- ])
- ]),
- props('coins~1',
- class_desc([ 'kind is corporial',
- 'kind is normally thinkable',
- 'kind is an Object'
- ]),
- ]),
- props('player~1',
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial'
- ]),
- ])
- ]),
- props('floyd~1',
- desc('Your classic robot: metallic with glowing red eyes, enthusiastic but not very clever.'),
- class_desc([ 'kind is both partly corporial and non-corporial',
- 'kind is completely non-corporial',
- 'kind is normally thinkable',
- 'kind is corporial',
- 'kind is an Object'
- ]),
- ])
- ]),
- props('shelf~1',
- ]),
- props('fountain~1',
- oper('fountain~1',
- put(spatial,N,in,'fountain~1'),
- ['liquids would spill out']),
- body(move(spatial,N,in,'fountain~1'))),
- ]),
- props('mushroom~1',
- class_desc(['kind is an Object','kind is normally thinkable']),
- initial('A speckled mushroom grows out of the sodden earth, on a long stalk.'),
- desc('The mushroom is capped with blotches, and you aren\'t at all sure it\'s not a toadstool.'),
- after(take,
- initial ',' 'You pick the mushroom, neatly cleaving its thin stalk.'),
- ]),
- memories('videocamera~1',
- todo([look]),
- ]),
- perceptq('videocamera~1',[]),
- props('videocamera~1',
- ]),
- props('table_leg~1',
- props('box~1',
- [ oper('box~1',
- put(spatial,O,in,'box~1'),
- ['liquids would spill out']),
- body(move(spatial,O,in,'box~1'))),
- class_desc(['kind is an Object','kind is normally thinkable']),
- ]),
- props('flour~1',
- class_desc(['kind is an Object','kind is normally thinkable']),
- ]),
- props('bowl~1',
- oper('bowl~1',
- put(spatial,P,in,'bowl~1'),
- ['non-physical would spill out']),
- body(move(spatial,P,in,'bowl~1'))),
- class_desc(['kind is an Object','kind is normally thinkable']),
- oper('bowl~1',
- put(spatial,Q,in,'bowl~1'),
- ['liquids would spill out']),
- body(move(spatial,Q,in,'bowl~1'))),
- desc('This is a modest glass cooking bowl with a yellow flower motif glazed into the outside surface.'),
- ]),
- props('lamp~1',
- class_desc([ 'kind is an Object',
- 'kind is normally thinkable',
- 'kind is corporial'
- ]),
- ]),
- props('table~1',
- ])
- ]),
- props('plate~1',
- [ oper('plate~1',
- put(spatial,R,in,'plate~1'),
- ['liquids would spill out']),
- body(move(spatial,R,in,'plate~1'))),
- class_desc(['kind is an Object','kind is normally thinkable']),
- ]),
- props('sink~1',
- [ oper('sink~1',
- put(spatial,S,in,'sink~1'),
- ['liquids would spill out']),
- body(move(spatial,S,in,'sink~1'))),
- class_desc(['kind is furnature','kind is normally thinkable']),
- ]),
- props('cup~1',
- [ oper('cup~1',
- put(spatial,T,in,'cup~1'),
- ['non-physical would spill out']),
- body(move(spatial,T,in,'cup~1'))),
- class_desc(['kind is an Object','kind is normally thinkable']),
- oper('cup~1',
- put(spatial,U,in,'cup~1'),
- ['liquids would spill out']),
- body(move(spatial,U,in,'cup~1'))),
- ]),
- props('cabinate~1',
- [ oper('cabinate~1',
- put(spatial,V,in,'cabinate~1'),
- ['liquids would spill out']),
- body(move(spatial,V,in,'cabinate~1'))),
- class_desc(['kind is furnature','kind is normally thinkable']),
- ]),
- ]
- % 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)])])
- % 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)])])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement