forked from mtcontrib/mobs_animal
		
	Rats and Bee's when caught return standard craftitem, not special egg
This commit is contained in:
		
							
								
								
									
										2
									
								
								bee.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bee.lua
									
									
									
									
									
								
							| @@ -37,7 +37,7 @@ mobs:register_mob("mobs_animal:bee", { | |||||||
| 		walk_end = 65, | 		walk_end = 65, | ||||||
| 	}, | 	}, | ||||||
| 	on_rightclick = function(self, clicker) | 	on_rightclick = function(self, clicker) | ||||||
| 		mobs:capture_mob(self, clicker, 25, 80, 0, true, nil) | 		mobs:capture_mob(self, clicker, 50, 90, 0, true, "mobs_animal:bee") | ||||||
| 	end, | 	end, | ||||||
| }) | }) | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								rat.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								rat.lua
									
									
									
									
									
								
							| @@ -29,7 +29,7 @@ mobs:register_mob("mobs_animal:rat", { | |||||||
| 	light_damage = 0, | 	light_damage = 0, | ||||||
| 	fear_height = 2, | 	fear_height = 2, | ||||||
| 	on_rightclick = function(self, clicker) | 	on_rightclick = function(self, clicker) | ||||||
| 		mobs:capture_mob(self, clicker, 25, 80, 0, true, nil) | 		mobs:capture_mob(self, clicker, 50, 90, 0, true, "mobs_animal:rat") | ||||||
| 	end, | 	end, | ||||||
| --[[ | --[[ | ||||||
| 	do_custom = function(self, dtime) | 	do_custom = function(self, dtime) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user