GE Lua Documentation

Press F to search!

getButtonLimitsAndCounts

Definition


-- @/lua/ge/extensions/core/recoveryPrompt.lua:609

local function getButtonLimitsAndCounts()
  local ret = {}
  for id, o in pairs(buttonOptions) do
    ret[id] = {limit = o.limit, count = o.count}
  end
  return ret
end

Callers

@/lua/ge/extensions/flowgraph/nodes/gameplay/recoveryPrompt/getRecoveryPromptButtonLimitAndCount.lua
function C:workOnce(args)
  local data = core_recoveryPrompt.getButtonLimitsAndCounts()
  self.pinOut.limit.value = nil