mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	Dye: Remove type="shapeless" from single-item recipes
This commit is contained in:
		@@ -35,26 +35,29 @@ for _, row in ipairs(dye.dyes) do
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	minetest.register_craft({
 | 
			
		||||
		type = "shapeless",
 | 
			
		||||
		output = "dye:" .. name .. " 4",
 | 
			
		||||
		recipe = {"group:flower,color_" .. name},
 | 
			
		||||
		recipe = {
 | 
			
		||||
			{"group:flower,color_" .. name}
 | 
			
		||||
		},
 | 
			
		||||
	})
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
-- Manually add coal -> black dye
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	type = "shapeless",
 | 
			
		||||
	output = "dye:black 4",
 | 
			
		||||
	recipe = {"group:coal"},
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{"group:coal"}
 | 
			
		||||
	},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- Manually add blueberries->violet dye
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	type = "shapeless",
 | 
			
		||||
	output = "dye:violet 2",
 | 
			
		||||
	recipe = {"default:blueberries"},
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{"default:blueberries"}
 | 
			
		||||
	},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- Mix recipes
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user