Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defrule
- (goal TSA on)
- (goal cycle yes)
- (goal TSA-timer off)
- =>
- (enable-timer TSA-loop 30)
- (chat-local-to-self "TSA looped")
- (set-goal TSA-timer on)
- )
- (defrule
- (timer-triggered TSA-loop)
- (goal TSA on)
- =>
- (disable-timer TSA-loop)
- (set-goal cycle no)
- (set-goal TSA-timer off)
- (chat-local-to-self "TSA looping")
- )
- (defrule
- (goal TSA on)
- (goal enemybuildings no)
- (strategic-number sn-maximum-town-size == 29)
- =>
- (set-strategic-number sn-maximum-town-size 34)
- (chat-local-to-self "TSA 34up")
- (set-goal cycle yes)
- )
- (defrule
- (goal TSA on)
- (goal enemybuildings no)
- (strategic-number sn-maximum-town-size == 24)
- =>
- (set-strategic-number sn-maximum-town-size 29)
- (chat-local-to-self "TSA 29up")
- (set-goal cycle yes)
- )
- ;*******************Decrease******************
- (defrule
- (goal TSA on)
- (goal enemybuildings yes)
- (goal cycle no)
- (strategic-number sn-maximum-town-size == 29)
- =>
- (set-strategic-number sn-maximum-town-size 24)
- (chat-local-to-self "TSA 24")
- )
- (defrule
- (goal TSA on)
- (goal enemybuildings yes)
- (goal cycle no)
- (strategic-number sn-maximum-town-size == 34)
- =>
- (set-strategic-number sn-maximum-town-size 29)
- (chat-local-to-self "TSA 29")
- )
- (defrule
- (goal TSA on)
- (goal enemybuildings yes)
- (goal cycle no)
- (strategic-number sn-maximum-town-size == 39)
- =>
- (set-strategic-number sn-maximum-town-size 34)
- (chat-local-to-self "TSA 24")
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement