Kingdoms of Amalur: Reckoning

Increase inventory limit: lua player_inventory_manager.increase_inventory_limit(1000)

Choose any destiny for the player: lua destiny_manager.set_current_title("Archmage")

Article information

Added on

Edited on

Written by

tmt01

4 comments

  1. Measuring
    Measuring
    • premium
    • 0 kudos
    See how a function is triggered (arguments + return value).
    Use like:
    printhook(PLAYER, 'get_total_armor_value')

    CODE:
    function printhook(owner, funcName, funcCondition)
    local old = owner[funcName]
    if type(old) ~= 'function' then
    print('Tried to hook non-function: {*2' .. funcName .. '}')
    return
    end

    funcCondition = funcCondition or function(...) return true end
    owner[funcName] = function(...)
    local result = old(...)
    if funcCondition(...) then
    local args = {...}
    for k,v in ipairs(args) do
    args[k] = tostring(v)
    end
    print('{*1' .. funcName .. '}({*2' .. table.concat(args, ', ') .. '}) => {*3' .. tostring(result) .. '}')
    end
    return result
    end
    end
    1. Lucifer2166
      Lucifer2166
      • member
      • 1 kudos
      A full list of commands would be nice.
  2. LimeJello24
    LimeJello24
    • premium
    • 14 kudos
    Stash Increase -----> lua player_stash_manager.increase_stash_limit(1000)
    1. Measuring
      Measuring
      • premium
      • 0 kudos
      Alternative for player inventory (should have made separate post..):
      lua player_inventory_manager.set_inventory_limit(1000)