mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-10-31 07:35:22 +01:00 
			
		
		
		
	Remove unnecessary "air" fallback recipe for hoes to avoid this showing in crafting guides.
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
| farming.register_hoe(":farming:hoe_wood", {
 | |
| 	description = "Wooden Hoe",
 | |
| 	inventory_image = "farming_tool_woodhoe.png",
 | |
| 	max_uses = 30,
 | |
| 	material = "group:wood",
 | |
| 	groups = {flammable = 2},
 | |
| })
 | |
| 
 | |
| farming.register_hoe(":farming:hoe_stone", {
 | |
| 	description = "Stone Hoe",
 | |
| 	inventory_image = "farming_tool_stonehoe.png",
 | |
| 	max_uses = 90,
 | |
| 	material = "group:stone"
 | |
| })
 | |
| 
 | |
| farming.register_hoe(":farming:hoe_steel", {
 | |
| 	description = "Steel Hoe",
 | |
| 	inventory_image = "farming_tool_steelhoe.png",
 | |
| 	max_uses = 500,
 | |
| 	material = "default:steel_ingot"
 | |
| })
 | |
| 
 | |
| -- The following are deprecated by removing the 'material' field to prevent
 | |
| -- crafting and removing from creative inventory, to cause them to eventually
 | |
| -- disappear from worlds. The registrations should be removed in a future
 | |
| -- release.
 | |
| 
 | |
| farming.register_hoe(":farming:hoe_bronze", {
 | |
| 	description = "Bronze Hoe",
 | |
| 	inventory_image = "farming_tool_bronzehoe.png",
 | |
| 	max_uses = 220,
 | |
| 	groups = {not_in_creative_inventory = 1},
 | |
| })
 | |
| 
 | |
| farming.register_hoe(":farming:hoe_mese", {
 | |
| 	description = "Mese Hoe",
 | |
| 	inventory_image = "farming_tool_mesehoe.png",
 | |
| 	max_uses = 350,
 | |
| 	groups = {not_in_creative_inventory = 1},
 | |
| })
 | |
| 
 | |
| farming.register_hoe(":farming:hoe_diamond", {
 | |
| 	description = "Diamond Hoe",
 | |
| 	inventory_image = "farming_tool_diamondhoe.png",
 | |
| 	max_uses = 500,
 | |
| 	groups = {not_in_creative_inventory = 1},
 | |
| })
 |