mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* rulesets/basic/mind/goals/common/trigger.py: Generic common trigger goals, starting with a trigger base chase goal. * rulesets/basic/mind/goals/animal/domestic.py: Trigger goals specific to domesticated animals, starting with goals for pig herding. * rulesets/basic/mind/goals/__init__.py: Add the two new files of trigger goals. * rulesets/mason/mind/PigMind.py, rulesets/mason/mind/SkelMind.py, rulesets/mason/mind/WolfMind.py, rulesets/mason/mind/__init__.py: Remove special mind classes for pig, skeleton and wolf, as it should be possible to do it more cleanly with trigger goals. * rulesets/mason/define_world.py: Add trigger goals for pig and skeleton to replace the behavior that used to be in special purpose mind classes.
20 lines
712 B
Python
20 lines
712 B
Python
#This file is distributed under the terms of the GNU General Public license.
|
|
#Copyright (C) 1999 Aloril (See the file COPYING for details).
|
|
import sys
|
|
|
|
#All types of minds uses these goals
|
|
from mind.goals.common.move import *
|
|
from mind.goals.common.misc_goal import *
|
|
from mind.goals.common.trigger import *
|
|
|
|
# Only humanoids use these goals
|
|
from mind.goals.humanoid.fire import *
|
|
from mind.goals.humanoid.build_home import *
|
|
from mind.goals.humanoid.transaction import *
|
|
from mind.goals.humanoid.mason import *
|
|
from mind.goals.humanoid.werewolf import *
|
|
from mind.goals.humanoid.construction import *
|
|
|
|
# Only animals use these goals
|
|
from mind.goals.animal.herd import *
|
|
from mind.goals.animal.domestic import *
|