Skip to content

v0.2.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Jan 19:52

Example:

local lib = require("tes3_lua")

local plugin = lib.load_plugin("Path/To/Morrowind.esm")

-- You can use `ipairs` instead if your version of lua supports the `__ipairs` metamethod.
for i = 1, #plugin.objects do
    local object = plugin.objects[i]

    if object.id == "fargoth" then
        print(object)
        break
    end

end