forked from mtcontrib/mobs_animal
		
	add white rat, replace sounds
This commit is contained in:
		| @@ -20,7 +20,10 @@ mobs:register_mob("mobs_animal:chicken", { | ||||
| 	}, | ||||
| 	child_texture = {{"mobs_chick.png"}}, | ||||
| 	makes_footstep_sound = true, | ||||
| 	sounds = {random = "mobs_chicken"}, | ||||
| 	sounds = { | ||||
| 		random = "mobs_chicken", | ||||
| 		replace = "default_dig_crumbly" | ||||
| 	}, | ||||
| 	walk_velocity = 1, | ||||
| 	run_velocity = 3, | ||||
| 	runaway = true, | ||||
|   | ||||
							
								
								
									
										5
									
								
								cow.lua
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								cow.lua
									
									
									
									
									
								
							| @@ -21,7 +21,10 @@ mobs:register_mob("mobs_animal:cow", { | ||||
| 		{"mobs_cow2.png"} | ||||
| 	}, | ||||
| 	makes_footstep_sound = true, | ||||
| 	sounds = {random = "mobs_cow"}, | ||||
| 	sounds = { | ||||
| 		random = "mobs_cow", | ||||
| 		replace = "default_dig_crumbly" | ||||
| 	}, | ||||
| 	walk_velocity = 1, | ||||
| 	run_velocity = 2, | ||||
| 	jump = true, | ||||
|   | ||||
							
								
								
									
										3
									
								
								rat.lua
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								rat.lua
									
									
									
									
									
								
							| @@ -15,7 +15,8 @@ mobs:register_mob("mobs_animal:rat", { | ||||
| 	mesh = "mobs_rat.b3d", | ||||
| 	textures = { | ||||
| 		{"mobs_rat.png"}, | ||||
| 		{"mobs_rat2.png"} | ||||
| 		{"mobs_rat2.png"}, | ||||
| 		{"mobs_rat3.png"} | ||||
| 	}, | ||||
| 	makes_footstep_sound = false, | ||||
| 	sounds = {random = "mobs_rat"}, | ||||
|   | ||||
| @@ -90,7 +90,10 @@ for _, col in ipairs(all_colours) do | ||||
| 		}, | ||||
| 		gotten_texture = {"mobs_sheep_base.png^mobs_sheep_shaved.png"}, | ||||
| 		makes_footstep_sound = true, | ||||
| 		sounds = {random = "mobs_sheep"}, | ||||
| 		sounds = { | ||||
| 			random = "mobs_sheep", | ||||
| 			replace = "default_dig_crumbly" | ||||
| 		}, | ||||
| 		walk_velocity = 1, | ||||
| 		run_velocity = 2, | ||||
| 		runaway = true, | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 675 B | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 788 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/mobs_rat3.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								textures/mobs_rat3.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 827 B | 
		Reference in New Issue
	
	Block a user