2
0

dummy_items.lua 447 B

1234567891011121314
  1. -- This code adds dummy items that are supposed to be used in formspecs
  2. -- for testing item_image formspec elements.
  3. minetest.register_node("testformspec:node", {
  4. description = "Formspec Test Node",
  5. tiles = { "testformspec_node.png" },
  6. groups = { dig_immediate = 3, dummy = 1 },
  7. })
  8. minetest.register_craftitem("testformspec:item", {
  9. description = "Formspec Test Item",
  10. inventory_image = "testformspec_item.png",
  11. groups = { dummy = 1 },
  12. })