From bec7b3bb72a812e668b6119eec9ff4a588d61328 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Sat, 11 May 2019 00:38:48 -0400 Subject: [PATCH] add transitional mod from glooptest --- .../glooptest_missing/LICENSE.txt | 21 +++++++++++++++++++ .../mods-stopgap/glooptest_missing/README.md | 11 ++++++++++ .../glooptest_missing/depends.txt | 2 ++ .../mods-stopgap/glooptest_missing/init.lua | 9 ++++++++ 4 files changed, 43 insertions(+) create mode 100644 patches/mods-stopgap/glooptest_missing/LICENSE.txt create mode 100644 patches/mods-stopgap/glooptest_missing/README.md create mode 100644 patches/mods-stopgap/glooptest_missing/depends.txt create mode 100644 patches/mods-stopgap/glooptest_missing/init.lua diff --git a/patches/mods-stopgap/glooptest_missing/LICENSE.txt b/patches/mods-stopgap/glooptest_missing/LICENSE.txt new file mode 100644 index 0000000..797cc4e --- /dev/null +++ b/patches/mods-stopgap/glooptest_missing/LICENSE.txt @@ -0,0 +1,21 @@ +# MIT License +Copyright 2019 Poikilos (Jake Gustafson) + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/patches/mods-stopgap/glooptest_missing/README.md b/patches/mods-stopgap/glooptest_missing/README.md new file mode 100644 index 0000000..c97259d --- /dev/null +++ b/patches/mods-stopgap/glooptest_missing/README.md @@ -0,0 +1,11 @@ +Bucket_Game mod: gloopblocks_missing +==================================== +This mod provides a transition from glooptest. + +Authors of source code +---------------------- +poikilos (github.com/poikilos) + +Authors of media (textures) +--------------------------- +(no media) diff --git a/patches/mods-stopgap/glooptest_missing/depends.txt b/patches/mods-stopgap/glooptest_missing/depends.txt new file mode 100644 index 0000000..5ee0d45 --- /dev/null +++ b/patches/mods-stopgap/glooptest_missing/depends.txt @@ -0,0 +1,2 @@ +glooptest? +moreblocks? diff --git a/patches/mods-stopgap/glooptest_missing/init.lua b/patches/mods-stopgap/glooptest_missing/init.lua new file mode 100644 index 0000000..3f4aad6 --- /dev/null +++ b/patches/mods-stopgap/glooptest_missing/init.lua @@ -0,0 +1,9 @@ +-- mossy stone etc (not cobblestone): +-- if minetest.get_modpath("gloopblocks") == nil then +if not minetest.registered_nodes["gloopblocks:stone_mossy"] then + minetest.register_alias("gloopblocks:stone_mossy", "default:stone") + minetest.register_alias("gloopblocks:stone_brick_mossy", "default:stonebrick") + if minetest.get_modpath("moreblocks") ~= nil then + minetest.register_alias("gloopblocks:stair_stone_brick_mossy", "moreblocks:stair_stonebrick") + end +end