Code: Select all
-- require require etc
module(..., package.seeall, class.inherit(UISet, TooltipsData))
local move_handle = {core.display.loadImage("/data/gfx/ui/move_handle.png"):glTexture()}
local frames_colors = {
ok = {0.3, 0.6, 0.3},
sustain = {0.6, 0.6, 0},
cooldown = {0.6, 0, 0},
disabled = {0.65, 0.65, 0.65},
}
-- Load the various shaders used to display resources
air_c = {0x92/255, 0xe5, 0xe8}
-- ...
Code: Select all
local _M = loadPrevious(...)
local move_handle = _M.move_handle
The best I can come up with is recreating the object:
Code: Select all
local _M = loadPrevious(...)
local move_handle = {core.display.loadImage("/data/gfx/ui/move_handle.png"):glTexture()}