diff --git a/pirate.prof b/pirate.prof
index 8f1cd64..4e433ae 100644
Binary files a/pirate.prof and b/pirate.prof differ
diff --git a/pirate.py b/pirate.py
index 9b2c336..c635e86 100644
--- a/pirate.py
+++ b/pirate.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
"""
lets make a drunk pirate.
@@ -50,6 +33,7 @@ def load_commands(agent, path):
[ agent.add_action(a) for a in global_actions.values() ]
+
def is_female(precept):
try:
thing = precept.thing
@@ -100,7 +84,7 @@ def run_once():
elif time == 3:
rum = ObjectBase("rum")
- #pirate.add_goal(HasItemGoal(pirate, rum))
+ pirate.add_goal(HasItemGoal(pirate, rum))
formosa.add_thing(rum)
elif time == 5:
diff --git a/pygoap/actions.py b/pygoap/actions.py
index 2506f5b..3728203 100644
--- a/pygoap/actions.py
+++ b/pygoap/actions.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
"""
These are the building blocks for creating pyGOAP agents that are able to
interact with their environment in a meaningful way.
diff --git a/pygoap/agent.py b/pygoap/agent.py
index fa3bbd6..0494418 100644
--- a/pygoap/agent.py
+++ b/pygoap/agent.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
from environment import ObjectBase
from planning import plan, InstancedAction
from blackboard import Blackboard, MemoryManager, Tag
diff --git a/pygoap/blackboard.py b/pygoap/blackboard.py
index 06c9021..cec195e 100644
--- a/pygoap/blackboard.py
+++ b/pygoap/blackboard.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
"""
Memories are stored precepts.
A blackboard is a device to share information amongst actions.
diff --git a/pygoap/environment.py b/pygoap/environment.py
index 1aa2710..6a6e8b1 100644
--- a/pygoap/environment.py
+++ b/pygoap/environment.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
"""
Since a pyGOAP agent relies on cues from the environment when planning, having
a stable and efficient virtual environment is paramount.
diff --git a/pygoap/environment2d.py b/pygoap/environment2d.py
index 98c4dd7..49054df 100644
--- a/pygoap/environment2d.py
+++ b/pygoap/environment2d.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
"""
Since a pyGOAP agent relies on cues from the environment when planning, having
a stable and efficient virtual environment is paramount. This environment is
diff --git a/pygoap/goals.py b/pygoap/goals.py
index d43163d..c650f05 100644
--- a/pygoap/goals.py
+++ b/pygoap/goals.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
"""
Goals in the context of a pyGOAP agent give the planner some direction when
planning. Goals are known to the agent and are constantly monitored and
diff --git a/pygoap/planning.py b/pygoap/planning.py
index dfab784..e110691 100644
--- a/pygoap/planning.py
+++ b/pygoap/planning.py
@@ -1,37 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
from blackboard import Blackboard
from heapq import heappop, heappush, heappushpop
import sys
diff --git a/pygoap/tiledenvironment.py b/pygoap/tiledenvironment.py
index 3e3e370..bbe6a23 100644
--- a/pygoap/tiledenvironment.py
+++ b/pygoap/tiledenvironment.py
@@ -1,20 +1,3 @@
-"""
-Copyright 2010, 2011 Leif Theden
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-"""
-
from environment2d import XYEnvironment
import tmxloader
from pygame import Surface