I am making an AI file. the AI editor doesn't like the following rules. Does anyone have any suggestions on how to modify them so the AI editor will like them.
Thanks.
(defrule
(housing-headroom < 5)
(population-headroom => 0)
(can-build house)
=>
(build house)
(chat-local-to-self "I am now building a house")
)(defrule
(idle-farm-count >= 1)
(can-build farm)
=>
(build farm)
(chat-local-to-self "I am now building a farm")
)I have solved the problem. I have made the appropriate changes.
1) (population-headroom => 0)
before
(can-build house)
not the other way round.2)>= not =>[This message has been edited by Woad Destroyer (edited 04-21-2000).][This message has been edited by Woad Destroyer (edited 04-22-2000).]