10 lines
269 B
Lua
10 lines
269 B
Lua
local CharacterData = Object:extend()
|
|
|
|
function CharacterData:getCommonData()
|
|
self.data = core.datas:get("characters", self.simplename)
|
|
self.name = self.data.name
|
|
self.fullname = self.data.fullname
|
|
self.turns = self.data.turns
|
|
end
|
|
|
|
return CharacterData
|