Commit Graph

68 Commits

Author SHA1 Message Date
Wuzzy 5fe79310b3 Remove list of example mods from README.md 2023-06-20 09:26:49 +02:00
Wuzzy 1ef5d93ffc Update mod.conf 2023-06-20 09:25:51 +02:00
Wuzzy 397286e12f Remove empty depends.txt 2023-06-20 09:25:19 +02:00
Wuzzy e058592e3a Add .mailmap file for Wuzzy 2023-06-20 09:24:54 +02:00
Wuzzy 22324f3a6c Replace minetest.debug with minetest.log 2023-06-20 09:24:35 +02:00
Wuzzy e1bc0e23c8 Reduce debug log level for autosaving debug msgs 2019-06-23 13:09:16 +02:00
Wuzzy f8d70283d1 This mod is finished 2019-02-22 01:42:50 +01:00
Wuzzy 51547f2e70 Fix slowregen example 2017-08-06 16:40:01 +02:00
Wuzzy a043aadeff Add standadized group names 2017-08-06 16:15:29 +02:00
Wuzzy c87592a9cf Fix typo in examples.lua 2017-08-06 15:52:52 +02:00
Wuzzy 0f02d5e54b Add mod.conf 2016-11-13 18:25:41 +01:00
Wuzzy 8049f6d64b Version 1.2.0 2016-11-13 18:10:49 +01:00
Wuzzy 33819f6aae Add MIT License 2016-11-12 20:43:39 +01:00
Wuzzy 860358bcd1 Fix accidental using of global variable “all” 2016-08-11 18:24:22 +02:00
Wuzzy e1a72e8206 Add playereffects.has_effect_type 2016-08-11 18:23:30 +02:00
Wuzzy fb04c57da9 Remove commented out lines 2015-02-08 01:19:22 +01:00
Wuzzy 14612701ab Fix another leaking variable 2015-02-08 01:14:09 +01:00
Wuzzy 3b860c74ae Increment patch version number 2015-02-08 01:01:45 +01:00
Wuzzy 22e10bf31a Fix leaked local variable 2015-02-08 01:01:03 +01:00
Wuzzy cd93a1e92f Bump version to 1.1.0 2014-07-19 15:32:41 +02:00
Wuzzy 87699ab3b2 New effect type: repeating effects 2014-07-19 00:59:19 +02:00
Wuzzy aa5f78ef95 Update state of example in README.md 2014-07-18 07:43:17 +02:00
Wuzzy 82291549c4 Cleanup settings, disable examples by default 2014-07-18 07:31:01 +02:00
Wuzzy f51c9fb26b Bump version to 1.0.0. 2014-07-18 07:25:05 +02:00
Wuzzy 342c8c98c5 Bump version to 0.4.0 2014-07-18 07:08:32 +02:00
Wuzzy 5461e148e5 Less log file spam 2014-07-17 18:44:15 +02:00
Wuzzy 1397ba542f Remove buggy get_passed_effect_time 2014-07-17 18:38:29 +02:00
Wuzzy a97ddfd942 Add API functions to get the current effect time 2014-07-17 18:36:06 +02:00
Wuzzy 7bfd30ce39 Use random time for stress test effects 2014-07-17 18:12:27 +02:00
Wuzzy 5bc2ba600c Slight performance improvements 2014-07-17 18:06:49 +02:00
Wuzzy a942264256 Further performance optimizations 2014-07-17 17:42:31 +02:00
Wuzzy 6d27ae23a7 Remove arbitrary limit for stresstest 2014-07-17 17:06:47 +02:00
Wuzzy dcc930c499 Rewrite the way HUD IDs are handled 2014-07-17 17:06:06 +02:00
Wuzzy 54b18385c8 Add “player” argument to the cancel callback 2014-07-17 16:07:44 +02:00
Wuzzy 86ed00c7c8 Add a known bug to the README file 2014-07-15 17:20:02 +02:00
Wuzzy afeb8dc3d8 Change version number to SemVer 2014-07-15 01:57:43 +02:00
Wuzzy 418cf9f365 Recolor HUD text for effects you keep on death
The color is a light purple.
2014-07-15 00:50:31 +02:00
Wuzzy c400ac1ed9 Add cancel_on_death parameter for effect types.
This optional parameter controls wheather the effect shall be cancelled
when the player dies. By default, this is true.
2014-07-15 00:38:01 +02:00
Wuzzy 7a411df76e Rename 1st param of register func for consistency 2014-07-15 00:12:05 +02:00
Wuzzy 39c11c143c Add README.md file with (hopefully) full API spec 2014-07-15 00:00:31 +02:00
Wuzzy c01b53e349 Show effect ID for the examples, on success 2014-07-14 19:06:37 +02:00
Wuzzy 735dce5a7b Fix effect cancelling after applying 2014-07-14 19:06:10 +02:00
Wuzzy 0ea070a3bd Add “cancelall” example (cancels user’s effects) 2014-07-14 18:29:22 +02:00
Wuzzy 4ef959c78e Make apply_effect_type return effect_id on success 2014-07-14 18:13:31 +02:00
Wuzzy 1dd5c5527a Check for correct player in apply_effect_type 2014-07-14 18:10:31 +02:00
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 a91e4c79ce Add autosave functionality 2014-07-14 00:43:16 +02:00
Wuzzy 3f2a23889f Clean up debug and log messages 2014-07-13 22:09:57 +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