2021-04-22 18:11:11 +02:00
|
|
|
local CharacterData = Object:extend()
|
|
|
|
|
|
|
|
function CharacterData:getCommonData()
|
2021-05-15 21:43:15 +02:00
|
|
|
self.data = core.datas:get("characters", self.simplename)
|
2021-04-22 18:11:11 +02:00
|
|
|
self.name = self.data.name
|
|
|
|
self.fullname = self.data.fullname
|
|
|
|
self.turns = self.data.turns
|
|
|
|
end
|
|
|
|
|
|
|
|
return CharacterData
|