summaryrefslogtreecommitdiff
path: root/examples.lua
AgeCommit message (Collapse)Author
2014-07-19New effect type: repeating effectsWuzzy
2014-07-17Use random time for stress test effectsWuzzy
2014-07-17Slight performance improvementsWuzzy
2014-07-17Further performance optimizationsWuzzy
2014-07-17Remove arbitrary limit for stresstestWuzzy
2014-07-17Add “player” argument to the cancel callbackWuzzy
2014-07-15Add cancel_on_death parameter for effect types.Wuzzy
This optional parameter controls wheather the effect shall be cancelled when the player dies. By default, this is true.
2014-07-14Show effect ID for the examples, on successWuzzy
2014-07-14Add “cancelall” example (cancels user’s effects)Wuzzy
2014-07-14Add effect failureWuzzy
The apply function of effects can return false, in that case, the effect is not applied
2014-07-14Add effect metadataWuzzy
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-13Add support for hidden effectsWuzzy
Hidden effects are effects which are not exposed to the player’s HUD.
2014-07-13Add comments to examples.luaWuzzy
2014-07-07Add stresstest example use globalstep less oftenWuzzy
2014-07-07Add support for HUD icons; improve HUD alignmentWuzzy
2014-07-06Move examples to its own file; it is not loadedWuzzy