From 1e70b582d494a5a348b10c6bfb471268c2422558 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Thu, 10 Sep 2015 22:54:26 +0200 Subject: [PATCH] :boom: --- .gitignore | 3 +++ LICENSE.txt | 1 + README.md | 1 + init.lua | 11 +++++++++++ 4 files changed, 16 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 init.lua diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b38e58 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +## Generic ignorable patterns and files +*~ +debug.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..4c29878 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1 @@ +see posts at https://forum.minetest.net/viewtopic.php?p=182724#p182724 diff --git a/README.md b/README.md new file mode 100644 index 0000000..644778d --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +https://forum.minetest.net/viewtopic.php?p=182724#p182724 diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..47f1aac --- /dev/null +++ b/init.lua @@ -0,0 +1,11 @@ +local load_time_start = os.clock() + + + +local time = math.floor(tonumber(os.clock()-load_time_start)*100+0.5)/100 +local msg = "[member_mod] loaded after ca. "..time +if time > 0.05 then + print(msg) +else + minetest.log("info", msg) +end