Skip to content
Snippets Groups Projects
Commit 481f8864 authored by dg's avatar dg
Browse files

scheme

git-svn-id: http://svn.net-core.org/repos/t-engine4@2369 51575b47-30f0-44d4-a5cc-537603b46e54
parent 04b545aa
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ function _M:init(t, no_default)
ActorAI.init(self, t)
-- Grab default image name if none is set
if not self.image then self.image = "npc/"..(self.subtype or "unknown").."_"..(self.name or "unknown"):lower():gsub("[^a-z0-9]", "_")..".png" end
if not self.image then self.image = "npc/"..(self.type or "unknown").."_"..(self.subtype or "unknown").."_"..(self.name or "unknown"):lower():gsub("[^a-z0-9]", "_")..".png" end
end
function _M:act()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment