summaryrefslogtreecommitdiff
path: root/init.lua
AgeCommit message (Collapse)Author
2016-08-11Fix accidental using of global variable “all”Wuzzy
2016-08-11Add playereffects.has_effect_typeWuzzy
2015-02-08Remove commented out linesWuzzy
2015-02-08Fix another leaking variableWuzzy
2015-02-08Fix leaked local variableWuzzy
2014-07-19New effect type: repeating effectsWuzzy
2014-07-18Cleanup settings, disable examples by defaultWuzzy
2014-07-17Less log file spamWuzzy
2014-07-17Remove buggy get_passed_effect_timeWuzzy
2014-07-17Add API functions to get the current effect timeWuzzy
2014-07-17Slight performance improvementsWuzzy
2014-07-17Further performance optimizationsWuzzy
2014-07-17Rewrite the way HUD IDs are handledWuzzy
2014-07-17Add “player” argument to the cancel callbackWuzzy
2014-07-15Recolor HUD text for effects you keep on deathWuzzy
The color is a light purple.
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-15Rename 1st param of register func for consistencyWuzzy
2014-07-14Fix effect cancelling after applyingWuzzy
2014-07-14Make apply_effect_type return effect_id on successWuzzy
2014-07-14Check for correct player in apply_effect_typeWuzzy
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-14Add autosave functionalityWuzzy
2014-07-13Clean up debug and log messagesWuzzy
2014-07-13Add support for hidden effectsWuzzy
Hidden effects are effects which are not exposed to the player’s HUD.
2014-07-13Add setting use_hud, used to control player HUDsWuzzy
2014-07-13Add playereffects.cancel_effect_typeWuzzy
2014-07-07Show 20 effects at max on the screenWuzzy
This has been done to avoid having on_globalstep calling hud_update so often.
2014-07-07Add stresstest example use globalstep less oftenWuzzy
2014-07-07Add support for HUD icons; improve HUD alignmentWuzzy
2014-07-06Clean up dead codeWuzzy
2014-07-06Show duration on first HUD addWuzzy
2014-07-06Save status into playereffects.mt on shutdownWuzzy
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.
2014-07-06Remove playereffects.hudidsWuzzy
2014-07-06Move examples to its own file; it is not loadedWuzzy
2014-07-06Add new example effect: grant fly privilegeWuzzy
2014-07-06Implement HUD timers and a proper effect listWuzzy
2014-07-06on_joinplayer workaroundWuzzy
2014-07-06Add basic player join and leave handlingWuzzy
2014-07-06New debug messageWuzzy
2014-07-06Fix alignmentWuzzy
2014-07-06Initial commitWuzzy
The basic stuff works now