From ccf94fb78bec84485958ab835741a9cbf57b6988 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 13 Oct 2019 14:13:10 +0200 Subject: [PATCH] Make inventory images use textures available in Minetest Game 5.0.0 This closes #9. --- CHANGELOG.md | 6 ++++++ nodes.lua | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc99b70..25e5664 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Map Tools nodes/items can no longer be dropped to prevent them from falling into bad hands. +### Fixed + +- The inventory images of `no_interact`, `no_build`, `ignore_like_no_clip` + and `ignore_like_no_point` now use textures that are available in + Minetest Game 5.0.0. + ## [1.1.0] - 2019-03-23 ### Changed diff --git a/nodes.lua b/nodes.lua index 200107f..08aa914 100644 --- a/nodes.lua +++ b/nodes.lua @@ -128,7 +128,7 @@ minetest.register_node("maptools:ignore_like_no_clip", { description = S("Ignore-like (no clip)"), range = 12, stack_max = 10000, - inventory_image = "default_steel_block.png^dye_purple.png", + inventory_image = "default_steel_block.png^dye_violet.png", tiles = {"invisible.png"}, paramtype = "light", walkable = false, @@ -143,7 +143,7 @@ minetest.register_node("maptools:ignore_like_no_point", { description = S("Ignore-like (no point)"), range = 12, stack_max = 10000, - inventory_image = "default_steel_block.png^dye_purple.png", + inventory_image = "default_steel_block.png^dye_violet.png", tiles = {"invisible.png"}, paramtype = "light", pointable = false, @@ -283,7 +283,7 @@ minetest.register_node("maptools:nobuild", { description = S("Build Prevention"), range = 12, stack_max = 10000, - inventory_image = "default_steel_block.png^bones_bones.png", + inventory_image = "default_steel_block.png^default_flint.png", drawtype = "airlike", walkable = false, pointable = false, @@ -298,7 +298,7 @@ minetest.register_node("maptools:nointeract", { description = S("Interact Prevention"), range = 12, stack_max = 10000, - inventory_image = "default_steel_block.png^default_scorched_stuff.png", + inventory_image = "default_steel_block.png^default_bush_stem.png", drawtype = "airlike", walkable = false, paramtype = "light",