diff options
author | Wuzzy <wuzzy2@mail.ru> | 2020-05-26 00:17:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 00:17:52 +0200 |
commit | 083b285f4319c470f307f0b52f03a2fb68facd38 (patch) | |
tree | bdd02540ad58756a38606f03a995ab837a176709 /games/devtest/mods/initial_message | |
parent | b546e8938d41aa9e3101fb9d4d5b02924ed73b60 (diff) | |
download | minetest-083b285f4319c470f307f0b52f03a2fb68facd38.tar.gz minetest-083b285f4319c470f307f0b52f03a2fb68facd38.tar.bz2 minetest-083b285f4319c470f307f0b52f03a2fb68facd38.zip |
Rename “Minimal development test” to “Development Test” (#9928)
Diffstat (limited to 'games/devtest/mods/initial_message')
-rw-r--r-- | games/devtest/mods/initial_message/init.lua | 9 | ||||
-rw-r--r-- | games/devtest/mods/initial_message/mod.conf | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/games/devtest/mods/initial_message/init.lua b/games/devtest/mods/initial_message/init.lua new file mode 100644 index 000000000..59e9f5f4b --- /dev/null +++ b/games/devtest/mods/initial_message/init.lua @@ -0,0 +1,9 @@ +minetest.register_on_joinplayer(function(player) + local cb = function(player) + if not player or not player:is_player() then + return + end + minetest.chat_send_player(player:get_player_name(), "This is the \"Development Test\" [devtest], meant only for testing and development. Use Minetest Game for the real thing.") + end + minetest.after(2.0, cb, player) +end) diff --git a/games/devtest/mods/initial_message/mod.conf b/games/devtest/mods/initial_message/mod.conf new file mode 100644 index 000000000..32aa2ac4e --- /dev/null +++ b/games/devtest/mods/initial_message/mod.conf @@ -0,0 +1,2 @@ +name = initial_message +description = Show message to joining players explaining what this testing game is about |