diff --git a/LICENSE b/LICENSE index 9978c20..5876bbe 100644 --- a/LICENSE +++ b/LICENSE @@ -20,3 +20,8 @@ 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. + +====== Textures +- troll_eye.png and troll_shit.png come from the original troll mod and are assumed to be CC-0 (as per the ContentDB media license) +- troll_smoke.png comes from MTG's tnt mod (tnt_smoke.png) and is licensed under CC-BY-SA +- the emoji in the screenshot is the trolley emoji from Twemoji, licensed under CC-BY 4.0 diff --git a/README.md b/README.md index 6091668..a1a6914 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,5 @@ Troll your friends and foes nicely with this mod! All commands require the `troll` privilege to be used. See /help in-game for a list of available commands and usage. + +Based on the old [`troll`](https://github.com/Niwla23/troll) mod by Niwla23. diff --git a/init.lua b/init.lua index 4f8321e..2f5e74e 100644 --- a/init.lua +++ b/init.lua @@ -21,7 +21,7 @@ end -- Check for troll commands that require things found in primarily MTG local function has_default() - return default ~= nil + return minetest.global_exists("default") end register_troll("t-ban", { diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..61db2a8 Binary files /dev/null and b/screenshot.png differ