c30c3336c6
Fixes #102
11 lines
317 B
Lua
11 lines
317 B
Lua
local CharacterData = Object:extend()
|
|
local charutils = require "game.utils.characters"
|
|
|
|
function CharacterData:getCommonData()
|
|
self.data = charutils.getCharacterData(self.simplename)
|
|
self.name = self.data.name
|
|
self.fullname = self.data.fullname
|
|
self.turns = self.data.turns
|
|
end
|
|
|
|
return CharacterData
|