Pova

Gives mod makers a set of functions to safely apply player physics overrides.

API / Library Player Effects / Power Ups

Download (14 KB)
For Luanti 5.0 and above

How do I install this?

Gives mod makers a set of functions to safely apply player physics overrides.

Add a named override which can be used to add or subtract from speed, jump and gravity effects, or set custom overrides for "default", "min", "max", "force".

pova.add_override (player_name, item, def)

Remove the override for the item named:

pova.del_override(player_name, item)

Returns a table containing {speed, jump, gravity} setting for the item added:

pova.get_override(player_name, item)

Calculates and sets new override instantly:

pova.do_override(player)

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Used By