sonic-radiance/sonic-radiance.love/game/abstractmobs/character/datas.lua

11 lines
269 B
Lua
Raw Normal View History

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