Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

LUA code correction - findNearestItem()


The code should read:

local item = self:findNearestItem()
if item then
    -- Move to the position of the item.
    local pos = item.pos
    local x = pos.x
    local y = pos.y

Where would one submit a patch for the help included with Thangs ?


Functions are also undocumented. I could write documentation based on what works in game and what the manuals are saying about functions if I knew where to add the definition.