mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			439 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			439 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
-- This code adds dummy items that are supposed to be used in formspecs
 | 
						|
-- for testing item_image formspec elements.
 | 
						|
 | 
						|
core.register_node("testformspec:node", {
 | 
						|
	description = "Formspec Test Node",
 | 
						|
	tiles = { "testformspec_node.png" },
 | 
						|
	groups = { dig_immediate = 3, dummy = 1 },
 | 
						|
})
 | 
						|
 | 
						|
core.register_craftitem("testformspec:item", {
 | 
						|
	description = "Formspec Test Item",
 | 
						|
	inventory_image = "testformspec_item.png",
 | 
						|
	groups = { dummy = 1 },
 | 
						|
})
 |