1
0
mirror of https://repo.or.cz/minetest_playereffects.git synced 2024-11-15 21:00:18 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Wuzzy
15daa210c4 Add effect failure
The apply function of effects can return false, in that case, the effect
is not applied
2014-07-14 17:55:48 +02:00
Wuzzy
21f053270f Add effect metadata
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.
2014-07-14 17:28:51 +02:00
Wuzzy
85fbd146b1 Add support for hidden effects
Hidden effects are effects which are not exposed to the player’s HUD.
2014-07-13 22:07:04 +02:00
Wuzzy
3385987106 Add comments to examples.lua 2014-07-13 21:19:02 +02:00
Wuzzy
050be27a3b Add stresstest example use globalstep less often 2014-07-07 10:39:21 +02:00
Wuzzy
bbc90ad630 Add support for HUD icons; improve HUD alignment 2014-07-07 09:38:55 +02:00
Wuzzy
c796ef7876 Move examples to its own file; it is not loaded 2014-07-06 18:37:32 +02:00