Hier ist meine Lösung (braucht zwar auch 10 min. hat aber am Ende 15 Dorfis ...):
<pre>
#load-if-defined BRITON-CIV
(defconst DARK_AGE 1)
(defconst FEUDAL_AGE 2)
(defrule
(current-age equal dark-age)
=>
(set-goal 1 DARK_AGE)
(chat-to-all "DARK AGE RULES" )
(disable-self)
)
(defrule
(current-age equal feudal-age)
=>
(set-goal 1 FEUDAL_AGE)
(chat-to-all "FEUDAL AGE RULES" )
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
=>
(set-strategic-number sn-total-number-explorers 1)
(set-strategic-number sn-number-explore-groups 1)
(set-strategic-number sn-minimum-explore-group-size 1)
(set-strategic-number sn-maximum-explore-group-size 2)
(set-strategic-number sn-camp-max-distance 15)
(set-strategic-number sn-mill-max-distance 15)
(set-strategic-number sn-percent-civilian-explorers 0)
(set-strategic-number sn-percent-civilian-builders 20)
(set-strategic-number sn-percent-civilian-gatherers 80)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(unit-type-count villager less-than 15)
(can-train villager)
=>
(train villager)
(chat-to-all "TRAIN VILLAGER" )
)
(defrule
(sheep-and-forage-too-far)
(idle-farm-count less-than 1)
(can-build farm)
=>
(build farm)
(chat-to-all "BUILD FARM" )
)
(defrule
(goal 1 DARK_AGE)
(housing-headroom less-than 4)
(can-build house)
=>
(build house)
(chat-to-all "BUILD HOUSE" )
)
(defrule
(goal 1 DARK_AGE)
(wood-amount greater-or-equal 200)
=>
(set-strategic-number sn-maximum-food-drop-distance 10)
(set-strategic-number sn-maximum-wood-drop-distance 0)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-food-gatherer-percentage 100)
(set-strategic-number sn-wood-gatherer-percentage 0)
(set-strategic-number sn-gold-gatherer-percentage 0)
(set-strategic-number sn-stone-gatherer-percentage 0)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(not (can-research feudal-age))
(wood-amount less-than 175)
=>
(set-strategic-number sn-maximum-food-drop-distance 10)
(set-strategic-number sn-maximum-wood-drop-distance 10)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-food-gatherer-percentage 80)
(set-strategic-number sn-wood-gatherer-percentage 20)
(set-strategic-number sn-gold-gatherer-percentage 0)
(set-strategic-number sn-stone-gatherer-percentage 0)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(can-research feudal-age)
(wood-amount less-than 175)
=>
(set-strategic-number sn-maximum-food-drop-distance 10)
(set-strategic-number sn-maximum-wood-drop-distance 10)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-food-gatherer-percentage 70)
(set-strategic-number sn-wood-gatherer-percentage 30)
(set-strategic-number sn-gold-gatherer-percentage 0)
(set-strategic-number sn-stone-gatherer-percentage 0)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(resource-found food)
(building-type-count mill less-than 1)
(can-build mill)
=>
(build mill)
(chat-to-all "BUILD MILL" )
)
(defrule
(goal 1 DARK_AGE)
(resource-found food)
(building-type-count mill less-than 1)
(can-build mill)
=>
(build mill)
(chat-to-all "BUILD MILL" )
)
(defrule
(goal 1 DARK_AGE)
(resource-found wood)
(building-type-count lumber-camp less-than 1)
(can-build lumber-camp)
=>
(build lumber-camp)
(chat-to-all "BUILD LUMBERCAMP" )
)
(defrule
(unit-type-count villager greater-or-equal 10)
(can-research feudal-age)
(can-build barracks)
=>
(research feudal-age)
(build barracks)
(research ri-loom)
(chat-to-all "BUILD BARRACKS" )
(chat-to-all "RESEARCH FEUDAL AGE" )
)
#end-if
</pre>
___________________________________________________________
<pre>
#load-if-defined BRITON-CIV
(defconst DARK_AGE 1)
(defconst FEUDAL_AGE 2)
(defrule
(current-age equal dark-age)
=>
(set-goal 1 DARK_AGE)
(chat-to-all "DARK AGE RULES" )
(disable-self)
)
(defrule
(current-age equal feudal-age)
=>
(set-goal 1 FEUDAL_AGE)
(chat-to-all "FEUDAL AGE RULES" )
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
=>
(set-strategic-number sn-total-number-explorers 1)
(set-strategic-number sn-number-explore-groups 1)
(set-strategic-number sn-minimum-explore-group-size 1)
(set-strategic-number sn-maximum-explore-group-size 2)
(set-strategic-number sn-camp-max-distance 15)
(set-strategic-number sn-mill-max-distance 15)
(set-strategic-number sn-percent-civilian-explorers 0)
(set-strategic-number sn-percent-civilian-builders 20)
(set-strategic-number sn-percent-civilian-gatherers 80)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(unit-type-count villager less-than 15)
(can-train villager)
=>
(train villager)
(chat-to-all "TRAIN VILLAGER" )
)
(defrule
(sheep-and-forage-too-far)
(idle-farm-count less-than 1)
(can-build farm)
=>
(build farm)
(chat-to-all "BUILD FARM" )
)
(defrule
(goal 1 DARK_AGE)
(housing-headroom less-than 4)
(can-build house)
=>
(build house)
(chat-to-all "BUILD HOUSE" )
)
(defrule
(goal 1 DARK_AGE)
(wood-amount greater-or-equal 200)
=>
(set-strategic-number sn-maximum-food-drop-distance 10)
(set-strategic-number sn-maximum-wood-drop-distance 0)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-food-gatherer-percentage 100)
(set-strategic-number sn-wood-gatherer-percentage 0)
(set-strategic-number sn-gold-gatherer-percentage 0)
(set-strategic-number sn-stone-gatherer-percentage 0)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(not (can-research feudal-age))
(wood-amount less-than 175)
=>
(set-strategic-number sn-maximum-food-drop-distance 10)
(set-strategic-number sn-maximum-wood-drop-distance 10)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-food-gatherer-percentage 80)
(set-strategic-number sn-wood-gatherer-percentage 20)
(set-strategic-number sn-gold-gatherer-percentage 0)
(set-strategic-number sn-stone-gatherer-percentage 0)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(can-research feudal-age)
(wood-amount less-than 175)
=>
(set-strategic-number sn-maximum-food-drop-distance 10)
(set-strategic-number sn-maximum-wood-drop-distance 10)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-food-gatherer-percentage 70)
(set-strategic-number sn-wood-gatherer-percentage 30)
(set-strategic-number sn-gold-gatherer-percentage 0)
(set-strategic-number sn-stone-gatherer-percentage 0)
(disable-self)
)
(defrule
(goal 1 DARK_AGE)
(resource-found food)
(building-type-count mill less-than 1)
(can-build mill)
=>
(build mill)
(chat-to-all "BUILD MILL" )
)
(defrule
(goal 1 DARK_AGE)
(resource-found food)
(building-type-count mill less-than 1)
(can-build mill)
=>
(build mill)
(chat-to-all "BUILD MILL" )
)
(defrule
(goal 1 DARK_AGE)
(resource-found wood)
(building-type-count lumber-camp less-than 1)
(can-build lumber-camp)
=>
(build lumber-camp)
(chat-to-all "BUILD LUMBERCAMP" )
)
(defrule
(unit-type-count villager greater-or-equal 10)
(can-research feudal-age)
(can-build barracks)
=>
(research feudal-age)
(build barracks)
(research ri-loom)
(chat-to-all "BUILD BARRACKS" )
(chat-to-all "RESEARCH FEUDAL AGE" )
)
#end-if
</pre>
___________________________________________________________