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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@467 51575b47-30f0-44d4-a5cc-537603b46e54
parent 2b8070db
No related branches found
No related tags found
No related merge requests found
...@@ -36,25 +36,26 @@ function _M:init(t, no_default) ...@@ -36,25 +36,26 @@ function _M:init(t, no_default)
FEET = 1, FEET = 1,
TOOL = 1, TOOL = 1,
} }
mod.class.Actor.init(self, t, no_default) t.display=t.display or '@'
engine.interface.PlayerHotkeys.init(self, t) t.color_r=t.color_r or 230
self.player = true t.color_g=t.color_g or 230
self.type = self.type or "humanoid" t.color_b=t.color_b or 230
self.subtype = self.subtype or "player"
self.faction = self.faction or "players" t.player = true
t.type = t.type or "humanoid"
t.subtype = t.subtype or "player"
t.faction = t.faction or "players"
self.display=self.display or '@' if t.fixed_rating == nil then t.fixed_rating = true end
self.color_r=self.color_r or 230
self.color_g=self.color_g or 230
self.color_b=self.color_b or 230
self.fixed_rating = true t.unused_stats = 6
t.unused_talents = 2
t.move_others=true
self.unused_stats = 6 t.lite = t.lite or 0
self.unused_talents = 2
self.move_others=true
self.lite = self.lite or 0 mod.class.Actor.init(self, t, no_default)
engine.interface.PlayerHotkeys.init(self, t)
self.descriptor = {} self.descriptor = {}
end end
......
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