1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Add per-node climb speed modifier

This commit is contained in:
Wuzzy 2024-12-23 14:20:22 +01:00
parent c49ff76955
commit a76bfcc6ac
7 changed files with 68 additions and 7 deletions

View file

@ -9849,6 +9849,13 @@ Used by `core.register_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 is multiplied
-- with this number. Must not be negative. No effect if node isn't
-- climbable.
-- Note: To set the base climbing speed in your game,
-- change the setting "movement_speed_climb".
buildable_to = false, -- If true, placed nodes can replace this node
floodable = false,