From 22324f3a6c77e24cad4f7c572695d6aa4d6b33ea Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 20 Jun 2023 09:24:35 +0200 Subject: [PATCH 1/5] Replace minetest.debug with minetest.log --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 95aa1ea..c3a67e8 100644 --- a/init.lua +++ b/init.lua @@ -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 From e058592e3ae0e126060e2160f85de3f6de317ff6 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 20 Jun 2023 09:24:54 +0200 Subject: [PATCH 2/5] Add .mailmap file for Wuzzy --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .mailmap diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..3d78b58 --- /dev/null +++ b/.mailmap @@ -0,0 +1,2 @@ +Wuzzy +Wuzzy From 397286e12f2de9789bb8435d4866d1ef33c9da8c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 20 Jun 2023 09:25:19 +0200 Subject: [PATCH 3/5] Remove empty depends.txt --- depends.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 depends.txt diff --git a/depends.txt b/depends.txt deleted file mode 100644 index e69de29..0000000 From 1ef5d93ffc7a70ca70fc4b0de7e51828de95e0ea Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 20 Jun 2023 09:25:51 +0200 Subject: [PATCH 4/5] Update mod.conf --- mod.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod.conf b/mod.conf index 20e8a4d..bdf73f2 100644 --- a/mod.conf +++ b/mod.conf @@ -1 +1,3 @@ name = playereffects +title = Player Effects +description = Framework for temporary effects for players. From 5fe79310b378900ebf7c43a5421d8a98508eac3f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 20 Jun 2023 09:26:49 +0200 Subject: [PATCH 5/5] Remove list of example mods from README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 151a501..556bce1 100644 --- a/README.md +++ b/README.md @@ -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—Wuzzy’s 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.