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

На главную


craft.DiceCraftGetLockedSlots()

Возвращает список слотов, которые заблокированы от изменений при реролле.

-- библиотека
craft

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

-- параметры
нет

-- возвращаемые значения
table или nil - nil, если режим крафтинга не включён; иначе список номеров (integer) слотов (ключи начинаются с 0)

-- пример использования
local lockedSlots = craft.DiceCraftGetLockedSlots()

Search: "CategoryLuaApi" "CategoryCraft"

CategoryCraft
EnumDiceCraftCmdType
EventDiceCraftCanceled
EventDiceCraftCmdFailed
EventDiceCraftFinished
EventDiceCraftNotEnoughComponents
EventDiceCraftPrepared
EventDiceCraftRecipesChanged
EventDiceCraftScoreChanged
EventDiceCraftSlotChanged
EventDiceCraftStatusChanged
FunctionCraftDiceCraftEmptySlot
FunctionCraftDiceCraftGetCurrentDices
FunctionCraftDiceCraftGetCurrentRecipe
FunctionCraftDiceCraftGetDiceValues
FunctionCraftDiceCraftGetInspirationLevels
FunctionCraftDiceCraftGetInspiredRecipes
FunctionCraftDiceCraftGetLockedSlots
FunctionCraftDiceCraftGetPlacedItems
FunctionCraftDiceCraftGetRecipeInspiration
FunctionCraftDiceCraftGetRecipes
FunctionCraftDiceCraftIsJoker
FunctionCraftDiceCraftPutItem
FunctionCraftDiceCraftRecipeIsSameItem
FunctionCraftDiceCraftState
FunctionCraftDiceCraftUseInspiration
FunctionCraftGetDiceCraftRecipeResults
FunctionCraftGetItemSlotsCount


CategoryLuaApi CategoryFunction CategoryCraft

На главную