mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add no_texture.png as fallback for unspecified textures
This commit is contained in:
parent
c82ec8b210
commit
86b44ecd82
11 changed files with 68 additions and 23 deletions
11
games/devtest/mods/broken/init.lua
Normal file
11
games/devtest/mods/broken/init.lua
Normal 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", {})
|
2
games/devtest/mods/broken/mod.conf
Normal file
2
games/devtest/mods/broken/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = broken
|
||||
description = Register items and an entity with empty definitions to test fallback
|
Loading…
Add table
Add a link
Reference in a new issue