本帖最后由 12345677 于 2015-2-14 19:57 编辑
(defrule
(building-type-count house less-than 32)
(can-build house)
=>
(build-forward house)
)
(defrule
(housing-headroom less-than 25)
(population-headroom greater-than 0)
(can-build house)
=>
(build house)
)
当这两段代码同时存在时兼容吗?比如房子达到32下面的代码还能触发?
(can-build-wall 1 stone-wall-line)
stone-wall是石墙 那我要造木墙应该写什么?palisade-wall-line?那木门是什么?Gate好像不能造出木门来?
can-build-wall-with-escrow(可以贡品资源建造围墙) can-build-with-escrow(可以贡品资源建造建筑物)是什么意思??
|