Add move_resistance

This commit is contained in:
Wuzzy 2024-11-27 21:20:01 +01:00
parent 28bcc8b73b
commit db294b3bc0

View File

@ -667,6 +667,9 @@ doc.add_category("nodes", {
datastring = datastring .. S("You can not jump while inside this block.").."\n"
end
end
if data.def.move_resistance and data.def.move_resistance >= 1 then
datastring = datastring .. S("This block slows down your movement.").."\n"
end
if data.def.climbable == true then
if data.def.groups.disable_jump == 1 and data.def.groups.disable_descend == 1 then
datastring = datastring .. S("This block can be climbed, but only horizontally.").."\n"