CraftSystem: return alt recipes, add player crafts cache, support learned recipes

This commit is contained in:
Van
2026-07-03 22:44:35 +03:00
parent a41817cc3d
commit b40b8c97c0
12 changed files with 220 additions and 65 deletions

View File

@@ -64,6 +64,14 @@ function Smc.requireFormspec()
return class
end
---@return ProgressionSystem
function Smc.requireProgressionSystem()
---@type ProgressionSystem
local class = Mod.getInfo('smc__core__progression_system').require('ProgressionSystem')
return class
end
---@return CraftSystem
function Smc.requireCraftSystem()
---@type CraftSystem