diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-10-20 19:50:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 21:50:16 +0200 |
commit | 86b44ecd8280d8304aa26a600fc004d40a970020 (patch) | |
tree | c355bd74f3dd0321094bc03b80b2c010386d916a /games/devtest/mods/broken/init.lua | |
parent | c82ec8b210f613fcd5bb386a14f0a8f88591253a (diff) | |
download | minetest-86b44ecd8280d8304aa26a600fc004d40a970020.tar.gz minetest-86b44ecd8280d8304aa26a600fc004d40a970020.tar.bz2 minetest-86b44ecd8280d8304aa26a600fc004d40a970020.zip |
Add no_texture.png as fallback for unspecified textures
Diffstat (limited to 'games/devtest/mods/broken/init.lua')
-rw-r--r-- | games/devtest/mods/broken/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/devtest/mods/broken/init.lua b/games/devtest/mods/broken/init.lua new file mode 100644 index 000000000..04993ca16 --- /dev/null +++ b/games/devtest/mods/broken/init.lua @@ -0,0 +1,11 @@ +-- Register stuff with empty definitions to test if Minetest fallback options +-- for these things work properly. + +-- The itemstrings are deliberately kept descriptive to keep them easy to +-- recognize. + +minetest.register_node("broken:node_with_empty_definition", {}) +minetest.register_tool("broken:tool_with_empty_definition", {}) +minetest.register_craftitem("broken:craftitem_with_empty_definition", {}) + +minetest.register_entity("broken:entity_with_empty_definition", {}) |