Rename some things

This commit renames `tnt_griefing` to `explosions_griefing` to better reflect what this setting now does.
This commit is contained in:
FossFanatic 2023-03-09 14:05:25 +00:00 committed by Johannes Fritz
parent b1a52a3243
commit 6304502173
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
local S = minetest.get_translator(minetest.get_current_modname()) local S = minetest.get_translator(minetest.get_current_modname())
local tnt_griefing = minetest.settings:get_bool("mcl_tnt_griefing", true) local explosions_griefing = minetest.settings:get_bool("mcl_explosions_griefing", true)
tnt = {} tnt = {}
@ -61,7 +61,7 @@ if minetest.get_modpath("mesecons") then
end end
local longdesc local longdesc
if tnt_griefing then if explosions_griefing then
longdesc = S("An explosive device. When it explodes, it will hurt living beings and destroy blocks around it. TNT has an explosion radius of @1. With a small chance, blocks may drop as an item (as if being mined) rather than being destroyed. TNT can be ignited by tools, explosions, fire, lava and redstone signals." longdesc = S("An explosive device. When it explodes, it will hurt living beings and destroy blocks around it. TNT has an explosion radius of @1. With a small chance, blocks may drop as an item (as if being mined) rather than being destroyed. TNT can be ignited by tools, explosions, fire, lava and redstone signals."
, TNT_RANGE) , TNT_RANGE)
else else