add basic setting
This commit is contained in:
parent
b9301f12ce
commit
e4a6244fdd
|
@ -3,6 +3,8 @@ local F = minetest.formspec_escape
|
||||||
|
|
||||||
local color_red = mcl_colors.RED
|
local color_red = mcl_colors.RED
|
||||||
|
|
||||||
|
local command_blocks_activated = minetest.settings:get_bool("mcl_enable_commandblocks", true)
|
||||||
|
|
||||||
local function construct(pos)
|
local function construct(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
|
||||||
|
|
|
@ -129,6 +129,9 @@ mcl_superflat_classic (Classic superflat map generation) bool false
|
||||||
# If disabled, no ores will be generated.
|
# If disabled, no ores will be generated.
|
||||||
mcl_generate_ores (Generate Ores) bool true
|
mcl_generate_ores (Generate Ores) bool true
|
||||||
|
|
||||||
|
# If disabled, command blocks will be unusuable (but still present).
|
||||||
|
mcl_enable_commandblocks (Enable Command Blocks) bool true
|
||||||
|
|
||||||
# Make some blocks emit decorative particles like flames. This setting
|
# Make some blocks emit decorative particles like flames. This setting
|
||||||
# specifies the detail level of particles, with higher levels being
|
# specifies the detail level of particles, with higher levels being
|
||||||
# more CPU demanding.
|
# more CPU demanding.
|
||||||
|
|
Loading…
Reference in New Issue