1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Add no_texture.png as fallback for unspecified textures

This commit is contained in:
Wuzzy
2021-10-20 19:50:16 +00:00
committed by GitHub
parent c82ec8b210
commit 86b44ecd82
11 changed files with 68 additions and 23 deletions

View File

@@ -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", {})