forked from Apancore.Studio/simple-makes-complex
Minor changes
This commit is contained in:
@@ -29,7 +29,7 @@ local CraftSystem = {
|
||||
---@field output string
|
||||
---@field recipe CraftSystem.Craft.Recipe
|
||||
---@field return table? TODO: доделать тут тип
|
||||
---@field craftFunc (fun(self, ...):boolean)?
|
||||
---@field craftFunc (fun(self, ...):boolean)?
|
||||
|
||||
---@class CraftSystem.ShapelessCraft : CraftSystem.BaseCraft
|
||||
---@field craftFunc shapelessCraftFunc?
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
name = smc__ui__formspec
|
||||
depends = smc__api__api_loader
|
||||
|
||||
@@ -32,7 +32,7 @@ function Formspec:new(def)
|
||||
return instance
|
||||
end
|
||||
|
||||
local version = ('formspec_version[%s]'):format( def.version or 10) -- Formspec version 10 (5.13.0)
|
||||
local version = ('formspec_version[%s]'):format( def.version or 10) -- formspec version 10 (5.13.0)
|
||||
|
||||
local size = ('size[%s,%s,%s]'):format(def.size.x, def.size.y, def.size.fixed_size or true)
|
||||
|
||||
@@ -461,4 +461,5 @@ function Formspec:set_focus()
|
||||
end
|
||||
|
||||
|
||||
return Formspec
|
||||
return Formspec
|
||||
|
||||
|
||||
Reference in New Issue
Block a user