Пользовательские дополнения
На главную
craft.DiceCraftGetInspiredRecipes()
Возвращает список рецептов, для которых накоплено вдохновение. Доступна только во время сессии крафтинга (по механике dice craft).
-- библиотека
craft
-- объявление:
function DiceCraftGetInspiredRecipes()
-- параметры
нет
-- возвращаемые значения
table или nil - если ошибка, то nil; иначе cписок (индексируется от 0) RecipeId, соответствующих рецептам, у которых есть ненулевое вдохновение
-- пример использования
local recipes = craft.DiceCraftGetInspiredRecipes()
if recipes and recipes[0] then
LogInfo( craft.DiceCraftGetRecipeInspiration(recipes[0]) )
end
См. также:
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
На главную