Compare commits

5 Commits

Author SHA1 Message Date
5fe79310b3 Remove list of example mods from README.md 2023-06-20 09:26:49 +02:00
1ef5d93ffc Update mod.conf 2023-06-20 09:25:51 +02:00
397286e12f Remove empty depends.txt 2023-06-20 09:25:19 +02:00
e058592e3a Add .mailmap file for Wuzzy 2023-06-20 09:24:54 +02:00
22324f3a6c Replace minetest.debug with minetest.log 2023-06-20 09:24:35 +02:00
5 changed files with 8 additions and 6 deletions

2
.mailmap Normal file
View File

@ -0,0 +1,2 @@
Wuzzy <Wuzzy@disroot.org> <Wuzzy2@mail.ru>
Wuzzy <Wuzzy@disroot.org> <almikes@aol.com>

View File

@ -14,9 +14,7 @@ This is an framework for assigning temporary status effects to players. This mod
This mod alone is not aimed directly at players. Briefly, the point of this mod is to help other mods to implement temporary status effects for players in a clean and consistant way.
Here is the information which may be relevant to you: Your current status effects are shown on the HUD on the right side, along with a timer which shows the time until the effect gets disabled. It is possible for the server to disable this feature entirely. Some status effects may also be hidden and are never exposed to the HUD.
You only have to install this mod iff you have a mod which implements Player Effects. Here is a list of known mods which do:
* Magic Beans—Wuzzys Fork [`magicbeans_w`]
You only have to install this mod iff you have a mod which implements Player Effects.
## Information for server operators
By default, this mod stores the effects into the file `playereffects.mt` in the current world path every 10 seconds. On a regular server shutdown, this file is also written to. The data in this file is read when the mod is started.

View File

View File

@ -56,10 +56,10 @@ do
if(string ~= nil) then
local savetable = minetest.deserialize(string)
playereffects.inactive_effects = savetable.inactive_effects
minetest.debug("[playereffects] playereffects.mt successfully read.")
minetest.debug("[playereffects] inactive_effects = "..dump(playereffects.inactive_effects))
minetest.log("action", "[playereffects] playereffects.mt successfully read.")
minetest.log("verbose", "[playereffects] inactive_effects = "..dump(playereffects.inactive_effects))
playereffects.last_effect_id = savetable.last_effect_id
minetest.debug("[playereffects] last_effect_id = "..dump(playereffects.last_effect_id))
minetest.log("verbose", "[playereffects] last_effect_id = "..dump(playereffects.last_effect_id))
end
end

View File

@ -1 +1,3 @@
name = playereffects
title = Player Effects
description = Framework for temporary effects for players.