add settings for features
This commit is contained in:
parent
a5b613f1e0
commit
1ded3063f4
@ -15,6 +15,15 @@ Fully compatible with Skyblock
|
||||
|
||||
Mod Dependencies: unified_inventory
|
||||
|
||||
|
||||
Settings
|
||||
=======
|
||||
|
||||
Features can be toggled with the following settings (true per default):
|
||||
* `unified_inventory_plus.enable_craft_all`
|
||||
* `unified_inventory_plus.enable_craft_organize`
|
||||
* `unified_inventory_plus.enable_craft_rotate`
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
|
15
init.lua
15
init.lua
@ -37,7 +37,14 @@ unified_inventory_plus = {
|
||||
dofile(modpath.."/functions.lua")
|
||||
|
||||
-- Functionalities are independants.
|
||||
-- Comment the following lines to disable those you don't want
|
||||
dofile(modpath.."/craft_all.lua")
|
||||
dofile(modpath.."/craft_organize.lua")
|
||||
dofile(modpath.."/craft_rotate.lua")
|
||||
if minetest.settings:get_bool("unified_inventory_plus.enable_craft_all", true) then
|
||||
dofile(modpath.."/craft_all.lua")
|
||||
end
|
||||
|
||||
if minetest.settings:get_bool("unified_inventory_plus.enable_craft_organize", true) then
|
||||
dofile(modpath.."/craft_organize.lua")
|
||||
end
|
||||
|
||||
if minetest.settings:get_bool("unified_inventory_plus.enable_craft_rotate", true) then
|
||||
dofile(modpath.."/craft_rotate.lua")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user