git @ Cat's Eye Technologies Samovar / d6b8fa5
The beginnings of dialogue. I think this points to a bug. Chris Pressey 6 years ago
1 changed file(s) with 11 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1414 // fenestration(?P) ?P is a prop that can be looked out of to the outside.
1515 // near(?A,?P) ?A is an actor who is near or next to prop ?P.
1616 // described(?P) ?P is a prop that has been described.
17
18 // topic(?T) ?T is a topic of conversation.
19 // has-news(?A,?T) ?A has news which is ?T
1720
1821 // ----------------------------- RULES ------------------------
1922
4548 [actor(?A),near(?A,?P)] ?A examined the ?P closely. []
4649
4750 [prop(?P),!described(?P)] Nearby there was a ?P. [described(?P)]
51
52 [actor(?A),has-news(?A,?T),!exclaimed-has-news(?A,?T)] ?A exclaimed, "I have news!" [exclaimed-has-news(?A,?T)]
53 [actor(?A),exclaimed-has-news(?B,?T),!heard-news(?A,?T)] ?A asked, "What is it, ?B?" [been-asked-about-news(?B,?T)]
4854 }
4955
5056 // ----------------------------- SETTINGS ------------------------
97103 actor(Scurthorpe).
98104 actor(Throgmorton).
99105
106 topic(impending_hurricane).
107 has-news(Scurthorpe, impending_hurricane).
108
100109 shocked(Throgmorton).
101110
102 goal [].
111 // goal [exclaimed-has-news(Scurthorpe, impending_hurricane)].
112 goal [been-asked-about-news(Scurthorpe, impending_hurricane)].
103113 }
104114
105115 scenario Scene_2 {