mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 23:10:18 +01:00
add option to disable crafting schemata
This commit is contained in:
parent
635f0af8e2
commit
7414e274af
|
@ -42,6 +42,9 @@ stairsplus.legacy_mode (legacy mode) bool true
|
|||
# automatically try to rotate nodes when placed. the mechanic is sometimes confusing.
|
||||
stairsplus.legacy_place_mechanic (use legacy place mecahnic) bool true
|
||||
|
||||
# allows crafting shaped nodes in addition to cutting them
|
||||
stairsplus.crafting_schemata_enabled (enable crafting schemata) bool true
|
||||
|
||||
# enable registering stairsplus nodes for basic_materials
|
||||
stairsplus_legacy.basic_materials () bool true
|
||||
|
||||
|
|
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user