diff options
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 4ca81d5d3..2733e9462 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -7970,6 +7970,16 @@ These ItemGrids are available in the API and can be manipulated by the plugins, }, Notes = "Returns the specified hotbar slot contents. Note that the returned item is read-only", }, + GetShieldSlot = + { + Returns = + { + { + Type = "cItem", + }, + }, + Notes = "Returns current item in shield slot.", + }, GetInventoryGrid = { Returns = @@ -8177,6 +8187,17 @@ These ItemGrids are available in the API and can be manipulated by the plugins, }, Notes = "Sets the specified hotbar slot contents", }, + SetShieldSlot = + { + Params = + { + { + Name = "Item", + Type = "cItem", + }, + }, + Notes = "Sets the shield slot content", + }, SetInventorySlot = { Params = @@ -8234,6 +8255,14 @@ These ItemGrids are available in the API and can be manipulated by the plugins, { Notes = "Starting slot number of the main inventory part", }, + invShieldCount = + { + Notes = "Number of slots in the Shield part", + }, + invShieldOffset = + { + Notes = "Starting slot number of the Shield part", + }, invNumSlots = { Notes = "Total number of slots in a cInventory", |