mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-17 23:30:35 +02:00
add option to disable crafting schemata
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
local api = stairsplus.api
|
||||
local register_craft_schema = api.register_craft_schema
|
||||
|
||||
|
||||
---- panel_8
|
||||
|
||||
register_craft_schema({
|
||||
|
@ -35,7 +35,10 @@ stairsplus.dofile("api", "init")
|
||||
|
||||
stairsplus.dofile("shapes", "init")
|
||||
stairsplus.dofile("groups", "init")
|
||||
stairsplus.dofile("craft_schemas", "init")
|
||||
|
||||
if stairsplus.settings.crafting_schemata_enabled then
|
||||
stairsplus.dofile("craft_schemas", "init")
|
||||
end
|
||||
|
||||
stairsplus.dofile("resources", "init")
|
||||
stairsplus.dofile("circular_saw")
|
||||
|
@ -26,4 +26,6 @@ stairsplus.settings = {
|
||||
|
||||
legacy_mode = s:get_bool("stairsplus.legacy_mode", true),
|
||||
legacy_place_mechanic = s:get_bool("stairsplus.legacy_place_mechanic", true),
|
||||
|
||||
crafting_schemata_enabled = s:get_bool("stairsplus.crafting_schemata_enabled", true),
|
||||
}
|
||||
|
Reference in New Issue
Block a user