add basic setting

This commit is contained in:
AFCMS 2021-03-25 22:07:38 +01:00
parent b9301f12ce
commit e4a6244fdd
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,8 @@ local F = minetest.formspec_escape
local color_red = mcl_colors.RED
local command_blocks_activated = minetest.settings:get_bool("mcl_enable_commandblocks", true)
local function construct(pos)
local meta = minetest.get_meta(pos)

View File

@ -129,6 +129,9 @@ mcl_superflat_classic (Classic superflat map generation) bool false
# If disabled, no ores will be generated.
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
# specifies the detail level of particles, with higher levels being
# more CPU demanding.