require "character" function love.load() -- PlayerFaction = Faction -- Hero1 = Character:create("Petya", 10) -- Hero2 = Character:create("Andrysha", 12) -- PlayerFaction.characters = { Hero1, Hero2 } end function love.update(dt) end function love.draw() end local Level = {} Level.kakaya_ta_hren = 10 Level.map = {} Faction = {} Faction.name = "" Faction.characters = {} Faction.style = {} -- Faction -> Character -- calculate_order()