dummy_items.lua 439 B

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