Skip to content

Commit

Permalink
fix InvSlot TLO (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
aquietone authored May 3, 2024
1 parent 3701efa commit 39e9e80
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion mq/mq.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ function mq.imgui.destroy(name) end
---@field Ini any
---@field Int any
---@field Inventory inventory
---@field InvSlot any
---@field Irc any
---@field ItemTarget ground # Gives access to the ground item that is previously targeted using /itemtarget.
---@field LastSpawn any
Expand Down Expand Up @@ -267,6 +266,15 @@ function TLO.Heading(y, x) end
---@return heading
function TLO.Heading(north, west) end

---Return the invslot specified by name
---@param name string
---@return invslot
function TLO.InvSlot(name) end

---Return the invslot specified by id
---@param id number
---@return invslot
function TLO.InvSlot(id) end
---@diagnostic enable: duplicate-set-field

---Returns a Plugin by index, starting with 1 and stopping whenever the list runs out of plugins.
Expand Down

0 comments on commit 39e9e80

Please sign in to comment.