Skip to content

Commit

Permalink
Merge pull request #26 from eronoobos/master
Browse files Browse the repository at this point in the history
get capturerbehaviour to work
  • Loading branch information
ForbodingAngel committed Jun 1, 2016
2 parents 2795528 + 83e0815 commit 0406ab0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions LuaRules/Gadgets/ai/EvoRTS/behaviours.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
shard_include "taskqueues"
shard_include "taskqueuebehaviour"
shard_include "attackerbehaviour"
shard_include "capturerbehaviour"
--require "missingfactorybehaviour"
--require "engineerturretbehaviour"
--require "autoreclaimbehaviour"
Expand Down Expand Up @@ -79,6 +80,9 @@ function defaultBehaviours(unit)
if IsAttacker(unit) then
table.insert(b,AttackerBehaviour)
end
if IsCapturer(unit) then
table.insert(b,CapturerBehaviour)
end
end

return b
Expand Down
4 changes: 2 additions & 2 deletions modinfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ return {
modtype=1,
depend = {
"Spring Features v1.9",
-- "Shard LuaAI $VERSION",
-- "Evolution RTS Shard LuaAI $VERSION",
-- "Shard LuaAI $VERSION",
-- "Evolution RTS Shard LuaAI $VERSION",
},
}

0 comments on commit 0406ab0

Please sign in to comment.