2020-05-24 15:46:26 +02:00
|
|
|
-- This code adds dummy items that are supposed to be used in formspecs
|
|
|
|
-- for testing item_image formspec elements.
|
|
|
|
|
2024-10-28 15:57:54 +01:00
|
|
|
core.register_node("testformspec:node", {
|
2020-05-24 15:46:26 +02:00
|
|
|
description = "Formspec Test Node",
|
|
|
|
tiles = { "testformspec_node.png" },
|
|
|
|
groups = { dig_immediate = 3, dummy = 1 },
|
|
|
|
})
|
|
|
|
|
2024-10-28 15:57:54 +01:00
|
|
|
core.register_craftitem("testformspec:item", {
|
2020-05-24 15:46:26 +02:00
|
|
|
description = "Formspec Test Item",
|
|
|
|
inventory_image = "testformspec_item.png",
|
|
|
|
groups = { dummy = 1 },
|
|
|
|
})
|