aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testformspec/dummy_items.lua
blob: 2037ae9cfdfaae5b3afd49ae132f50a5868e4b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- 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 },
})