Add move_resistance
This commit is contained in:
parent
28bcc8b73b
commit
db294b3bc0
3
init.lua
3
init.lua
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user