Advertisement
logicmoo

Dig Hole

Dec 9th, 2018
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 0.67 KB | None | 0 0
  1. Time passes for player~1.
  2. player~1@spatial> dig hole
  3. dig hole
  4. [ done_by(DigEvent,'player~1'),
  5.   isa('player~1',tAnimate),
  6.   isa(DigEvent,tAction),
  7.   isa(Surface,surfaceOf(Ground)),
  8.   isa(Tool,tTool),
  9.   normally(can_reach(Tool,Surface)),
  10.   normally(cntrls('player~1',Tool)),
  11.   normally(isa(Ground,tEarthSoil)),
  12.   normally(isa(Tool,deviceDoesFn(Action))),
  13.   occurs(DigEvent,infpl),
  14.   part_of(Surface,Ground),
  15.   post(part_of(Hole,Ground)),
  16.   pre(~(part_of(Hole,Ground))),
  17.   shape_of(DigEvent,Hole),
  18.   textString('player~1',"player~1"),
  19.   textString(DigEvent,"dig"),
  20.   textString(Hole,"hole"),
  21.   ~(pre(exists(Hole))),
  22.   zexistsLeftOver([Surface,Ground,Tool],DigEvent)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement