mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-11-04 05:55:28 +01:00 
			
		
		
		
	add test if ropes mod is installed for craft fishing:pole with ropes:rope
This commit is contained in:
		@@ -29,7 +29,7 @@ minetest.register_craft({
 | 
			
		||||
		{"default:stick",	"",					"moreblocks:rope"},
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
if minetest.get_modpath("ropes") ~= nil then
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
	output = "fishing:pole",
 | 
			
		||||
	recipe = { 
 | 
			
		||||
@@ -38,7 +38,7 @@ minetest.register_craft({
 | 
			
		||||
		{"default:stick",	"",					"ropes:rope"   	},
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
-----------------------------------------------------------------------------------------------
 | 
			
		||||
-- Roasted Fish
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user