From 84bdba345d9b34a59337009d0880aa74d3b2d689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Beltr=C3=A1n?= Date: Wed, 24 May 2017 08:09:58 +0200 Subject: Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) Fixes #3714. --- Server/Plugins/APIDump/APIDesc.lua | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'Server/Plugins/APIDump') 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", -- cgit v1.2.3