Пользовательские дополнения

На главную


depositeBox.IsChangeTypeItem( inventorySlot )

Проверяет, является ли предмет модификатором хранилища.

-- библиотека:
depositeBox

-- объявление:
function IsChangeTypeItem( inventorySlot )

-- параметры:
inventorySlot: number( int ) - индекс слота с предметом в инвентаре [0..]

-- возвращаемые значения:
boolean - является ли предмет модификатором хранилища

-- пример:
if depositeBox.IsChangeTypeItem( 0 ) then
 depositeBox.ChangeTypeByItem( 0 )
end

Search: "CategoryLuaApi" "CategoryDepositeBox"

EventDepositeBoxChanged
EventDepositeBoxItemEffect
EventDepositeBoxSizeChanged
FunctionAvatarArrangeContainerItems
FunctionAvatarIsItemsStackable
FunctionDepositeBoxChangeTypeByItem
FunctionDepositeBoxGetDepositeBoxItemId
FunctionDepositeBoxGetItemId
FunctionDepositeBoxGetSlotCount
FunctionDepositeBoxIsChangeTypeItem
FunctionDepositeBoxIsChangeTypeItemById
FunctionDepositeBoxIsItemEnabled
FunctionDepositeBoxIsMoveModified
FunctionDepositeBoxMove
FunctionDepositeBoxPutItemIn
FunctionDepositeBoxTakeFrom


CategoryLuaApi CategoryFunction CategoryDepositeBox

На главную