Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The color is a light purple.
|
|
This optional parameter controls wheather the effect shall be cancelled
when the player dies. By default, this is true.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The apply function of effects can return false, in that case, the effect
is not applied
|
|
Effect metadata is a means to store additional user-defined data for the effect,
which can be reused when the cancel function of the effect is called.
This commit also adds a new example (blind) to demonstrate usage of that.
|
|
|
|
|
|
Hidden effects are effects which are not exposed to the player’s HUD.
|
|
|
|
|
|
|
|
This has been done to avoid having on_globalstep calling hud_update so often.
|
|
|
|
|
|
|
|
|
|
The file is stored in the world path. It is loaded again when the server starts again.
If the file does not exist, playereffects starts with an empty set of effects.
|
|
|