mirror of
https://github.com/dragonfireclient/dragonfireclient.git
synced 2024-11-23 19:24:01 -05:00
14 lines
447 B
Lua
14 lines
447 B
Lua
-- This code adds dummy items that are supposed to be used in formspecs
|
|
-- for testing item_image formspec elements.
|
|
|
|
minetest.register_node("testformspec:node", {
|
|
description = "Formspec Test Node",
|
|
tiles = { "testformspec_node.png" },
|
|
groups = { dig_immediate = 3, dummy = 1 },
|
|
})
|
|
|
|
minetest.register_craftitem("testformspec:item", {
|
|
description = "Formspec Test Item",
|
|
inventory_image = "testformspec_item.png",
|
|
groups = { dummy = 1 },
|
|
})
|