mirror of
				https://codeberg.org/tenplus1/farming.git
				synced 2025-11-04 16:25:30 +01:00 
			
		
		
		
	added hemp block
This commit is contained in:
		
							
								
								
									
										17
									
								
								hemp.lua
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								hemp.lua
									
									
									
									
									
								
							@@ -94,6 +94,23 @@ minetest.register_craft( {
 | 
			
		||||
	replacements = {{ "bucket:bucket_river_water", "bucket:bucket_empty"}}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- hemp block
 | 
			
		||||
minetest.register_node("farming:hemp_block", {
 | 
			
		||||
	description = S("Hemp Block"),
 | 
			
		||||
	tiles = {"farming_hemp_block.png"},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	groups = {snappy = 1, oddly_breakable_by_hand = 1, flammable = 2}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft( {
 | 
			
		||||
	output = "farming:hemp_block",
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"},
 | 
			
		||||
		{"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"},
 | 
			
		||||
		{"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"}
 | 
			
		||||
	},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- paper
 | 
			
		||||
minetest.register_craft( {
 | 
			
		||||
	output = "default:paper",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								textures/farming_hemp_block.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								textures/farming_hemp_block.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 149 B  | 
		Reference in New Issue
	
	Block a user