CraftSystem (and other): Changing the approach to the crafting system. Adding crafting types, correcting calls to the crafting system

This commit is contained in:
Van
2026-05-03 22:31:50 +03:00
parent 35699c1489
commit c143e95b27
10 changed files with 204 additions and 123 deletions

View File

@@ -71,19 +71,3 @@ function Smc.requireCraftSystem()
return class
end
---@return CraftSystem.PrimitiveCraftHandler
function Smc.requireCraftSystemPrimitiveCraftHandler()
---@type CraftSystem.PrimitiveCraftHandler
local class = Mod.getInfo('smc__core__craft_system').require('CraftSystem.PrimitiveCraftHandler')
return class
end
---@return CraftSystem.ImmersiveCraftHandler
function Smc.requireCraftSystemImmersiveCraftHandler()
---@type CraftSystem.ImmersiveCraftHandler
local class = Mod.getInfo('smc__core__craft_system').require('CraftSystem.ImmersiveCraftHandler')
return class
end