mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-24 11:31:09 +01:00
12 lines
456 B
Lua
12 lines
456 B
Lua
local modname = minetest.get_current_modname()
|
|
local S = minetest.get_translator(modname)
|
|
local mod = vl_tuning
|
|
|
|
mod.keep_inventory = vl_tuning.setting("gamerule:keepInventory", "bool", {
|
|
default = minetest.settings:get_bool("mcl_keepInventory", false),
|
|
})
|
|
mod.respawn_blocks_explode = vl_tuning.setting("gamerule:respawnBlocksExplode", "bool", {
|
|
description = S("Prevents beds/respawn anchors from exploding in other dimensions."),
|
|
default = true,
|
|
})
|
|
|