mirror of
https://github.com/louisroyer/minetest-toolranks-extras.git
synced 2024-11-05 07:03:47 +01:00
Add settingtypes to allow disabling of some tools
This commit is contained in:
parent
d167f8d2cf
commit
b1b0b972db
4
init.lua
4
init.lua
@ -1,3 +1,5 @@
|
||||
local MP = minetest.get_modpath("toolranks_extras")
|
||||
|
||||
dofile(MP.."/hoe.lua")
|
||||
if minetest.settings:get_bool("toolranks_extra.farming", true) then
|
||||
dofile(MP.."/hoe.lua")
|
||||
end
|
||||
|
1
settingtypes.txt
Normal file
1
settingtypes.txt
Normal file
@ -0,0 +1 @@
|
||||
toolranks_extra.farming (Enable toolranks on farming tools) bool true
|
Loading…
Reference in New Issue
Block a user