mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-03 16:40:42 +02:00
compatability and legacy mostly done. schema recipes are all messed up for some reason.
This commit is contained in:
12
stairsplus/craft_schemas/micro_8_all.lua
Normal file
12
stairsplus/craft_schemas/micro_8_all.lua
Normal file
@ -0,0 +1,12 @@
|
||||
local api = stairsplus.api
|
||||
local register_craft_schema = api.register_craft_schema
|
||||
|
||||
for shape, shape_def in pairs(api.registered_shapes) do
|
||||
if shape ~= "micro_8" then
|
||||
register_craft_schema({
|
||||
type = "shapeless",
|
||||
output = ("micro_8 %i"):format(shape_def.eighths),
|
||||
recipe = {shape},
|
||||
})
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user