mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
Rename minetest.*
to core.*
in devtest
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
-- This code adds dummy items that are supposed to be used in formspecs
|
||||
-- for testing item_image formspec elements.
|
||||
|
||||
minetest.register_node("testformspec:node", {
|
||||
core.register_node("testformspec:node", {
|
||||
description = "Formspec Test Node",
|
||||
tiles = { "testformspec_node.png" },
|
||||
groups = { dig_immediate = 3, dummy = 1 },
|
||||
})
|
||||
|
||||
minetest.register_craftitem("testformspec:item", {
|
||||
core.register_craftitem("testformspec:item", {
|
||||
description = "Formspec Test Item",
|
||||
inventory_image = "testformspec_item.png",
|
||||
groups = { dummy = 1 },
|
||||
|
Reference in New Issue
Block a user