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

На главную


craft.DiceCraftGetCurrentDices()

Значения костей на данный момент.

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

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

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

-- возвращаемые значения
table или nil - nil, если режим крафтинга не включён или мини-игра не начата, или список значений костей пуст; иначе таблица (начинается от 0) текущих значений костей
  ключ: number (int) - номер слота кости
  значения: number (int) - текущее значение, выпавшее для кости в этом слоте

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

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

На главную