SUPPORTIVE_RECTANGLE

you can call all render.* functions inside of this callback

this callback is called every time the hack renders the supportive rectangle, it can be used to replace supportive rectangle

local function on_supportive_rectangle(screen_pos, size, mood, phrase)
    --[[
        returning false -> renders everything without change
        returning true -> renders only the rectangle and line connector allowing you to add your own expressions

        mood -> "neutral", "happy", "wink"
        phrase -> "good job", "good luck", ... or nil 
    ]]
    return true
end

callbacks.add(e_callbacks.SUPPORTIVE_RECTANGLE, on_supportive_rectangle)

Last updated