bump changes 25.12

This commit is contained in:
Van
2025-12-25 14:31:11 +03:00
parent 3646ec78cd
commit 3e9996e6a0
5 changed files with 76 additions and 49 deletions

View File

@@ -1 +1,2 @@
name = smc__core__craft_system
depends = smc__api__api_loader

View File

@@ -3,8 +3,6 @@ local HASH_SPLITTER = '&'
local modInfo = Mod.getInfo('smc__core__craft_system')
local require = modInfo.require
local CraftTypes = require('CraftSystem.CraftTypes')
---@alias CraftSystem.shapelessCraftsList table<CraftSystem.Craft.Group, table<string, CraftSystem.ShapelessCraft[]>>
---@alias CraftSystem.processualCraftsList table<CraftSystem.Craft.Group, table<string, CraftSystem.ProcessualCraft[]>>
@@ -60,7 +58,7 @@ end
---@param group CraftSystem.Craft.Group
---@return table<string, table>
local function getCraftGroup(type, group)
local craftList = getCraftList(CraftTypes.type)
local craftList = getCraftList(type)
---@type table<string, table>?
local craftGroup = craftList[group]