mirror of
				https://github.com/minetest-mods/moreblocks.git
				synced 2025-11-03 23:25:24 +01:00 
			
		
		
		
	Adjust shelf recipies.
- The math of returning glass framents will never work when cleaning a shelf because we would need to return 1.5 fragments so just return glass bottles instead. - Removed the recipe for a vessels:shelf from group:vessels because it doesn't make sense to return glass bottles if, for example, the shelf was crafted from steel bottles.
This commit is contained in:
		@@ -185,8 +185,7 @@ minetest.register_craft({
 | 
			
		||||
	output = "moreblocks:empty_shelf",
 | 
			
		||||
	type = "shapeless",
 | 
			
		||||
	recipe = {"moreblocks:sweeper", "vessels:shelf"},
 | 
			
		||||
	replacements = {{"vessels:shelf", "vessels:glass_fragments 4"}},
 | 
			
		||||
	-- When obtaining an empty shelf, return four glass_fragment pieces
 | 
			
		||||
	replacements = {{"vessels:shelf", "vessels:glass_bottle 3"}},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
@@ -195,12 +194,6 @@ minetest.register_craft({
 | 
			
		||||
	recipe = {"moreblocks:empty_shelf", "default:book", "default:book", "default:book"},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	type = "shapeless",
 | 
			
		||||
	output = "vessels:shelf",
 | 
			
		||||
	recipe = {"moreblocks:empty_shelf", "group:vessel", "group:vessel", "group:vessel"},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	output = "moreblocks:empty_shelf",
 | 
			
		||||
	recipe = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user