forked from nalc/witchcraft
		
	La dent s'obtient aléatoirement en ramassant du sable
This commit is contained in:
		
							
								
								
									
										24
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								init.lua
									
									
									
									
									
								
							| @@ -397,14 +397,26 @@ minetest.register_craft({ | ||||
| }) | ||||
|  | ||||
| --teeth from sand, maybe fossilised? | ||||
| minetest.register_craft({ | ||||
| 	output = 'witchcraft:tooth 1', | ||||
| 	recipe = { | ||||
| 		{'default:desert_sand'}, | ||||
| 	}, | ||||
| minetest.override_item("default:sand", { | ||||
|   drop = { | ||||
| 	  max_items = 1, | ||||
| 	  items = { | ||||
| 		  { | ||||
| 			  items = {"witchcraft:tooth"}, | ||||
| 			  rarity = 30, | ||||
| 		  }, | ||||
| 		  { | ||||
| 			  items = {"default:sand"}, | ||||
| 		  } | ||||
| 	  } | ||||
|   }, | ||||
| }) | ||||
|  | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	type = "shapeless", | ||||
| 	output = "default:sand", | ||||
| 	recipe = {"witchcraft:tooth"}, | ||||
| }) | ||||
|  | ||||
| --splash potions crafting | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user