1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Some code style changes for climb_factor stuff

This commit is contained in:
Wuzzy 2024-12-28 14:36:19 +01:00
parent e3aa419695
commit 31adcec585
4 changed files with 16 additions and 19 deletions

View file

@ -9842,13 +9842,6 @@ Used by `core.register_node`.
climbable = false, -- If true, can be climbed on like a ladder
move_resistance = 0,
-- Slows down movement of players through this node (max. 7).
-- If this is nil, it will be equal to liquid_viscosity.
-- Note: If liquid movement physics apply to the node
-- (see `liquid_move_physics`), the movement speed will also be
-- affected by the `movement_liquid_*` settings.
climb_factor = 1.0,
-- The speed at which a climbable node can be climbed up and down
-- is multiplied by this number. Must not be negative. No effect if
@ -9856,6 +9849,13 @@ Used by `core.register_node`.
-- Note: The base climbing speed is controlled by the setting
-- `movement_speed_climb` multiplied by the physics override `speed_climb`.
move_resistance = 0,
-- Slows down movement of players through this node (max. 7).
-- If this is nil, it will be equal to liquid_viscosity.
-- Note: If liquid movement physics apply to the node
-- (see `liquid_move_physics`), the movement speed will also be
-- affected by the `movement_liquid_*` settings.
buildable_to = false, -- If true, placed nodes can replace this node
floodable = false,