mirror of
				https://github.com/blert2112/mobs_water.git
				synced 2025-10-31 08:05:29 +01:00 
			
		
		
		
	name changes for compatability
This commit is contained in:
		
							
								
								
									
										21
									
								
								mobs_jellyfish/License.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								mobs_jellyfish/License.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| Licenses | ||||
|  | ||||
| Model/Textures:	WTFPL | ||||
| Author: blert2112 | ||||
|  | ||||
| *************** | ||||
|  | ||||
|             DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||||
|                     Version 2, December 2004 | ||||
|  | ||||
|  Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> | ||||
|  | ||||
|  Everyone is permitted to copy and distribute verbatim or modified | ||||
|  copies of this license document, and changing it is allowed as long | ||||
|  as the name is changed. | ||||
|  | ||||
|             DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | ||||
|    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||||
|  | ||||
|   0. You just DO WHAT THE FUCK YOU WANT TO. | ||||
|   | ||||
							
								
								
									
										3
									
								
								mobs_jellyfish/depends.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								mobs_jellyfish/depends.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| default | ||||
|  | ||||
| mobs | ||||
							
								
								
									
										39
									
								
								mobs_jellyfish/init.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								mobs_jellyfish/init.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
|  | ||||
| if mobs.mod and mobs.mod == "redo" then | ||||
|  | ||||
| 	mobs:register_mob("mobs_jellyfish:jellyfish", { | ||||
| 		type = "animal", | ||||
| 		attack_type = "dogfight", | ||||
| 		damage = 5, | ||||
| 		hp_min = 5, | ||||
| 		hp_max = 10, | ||||
| 		armor = 100, | ||||
| 		collisionbox = {-0.25, -0.25, -0.25, 0.25, 0.25, 0.25}, | ||||
| 		visual = "mesh", | ||||
| 		mesh = "jellyfish.b3d", | ||||
| 		textures = { | ||||
| 			{"jellyfish.png"} | ||||
| 		}, | ||||
| 		makes_footstep_sound = false, | ||||
| 		walk_velocity = 0.1, | ||||
| 		run_velocity = 0.1, | ||||
| 		fly = true, | ||||
| 		fly_in = "default:water_source", | ||||
| 		fall_speed = 0, | ||||
| 		view_range = 10, | ||||
| 		water_damage = 0, | ||||
| 		lava_damage = 5, | ||||
| 		light_damage = 0, | ||||
| 		on_rightclick = function(self, clicker) | ||||
| 			mobs:capture_mob(self, clicker, 80, 100, 0, true, nil) | ||||
| 		end | ||||
| 	}) | ||||
| 	--name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height | ||||
| 	mobs:spawn_specific("mobs_jellyfish:jellyfish", | ||||
| 		{"default:water_source"}, | ||||
| 		{"default:water_flowing","default:water_source"}, | ||||
| 		5, 20, 30, 10000, 1, -31000, 0) | ||||
| 	mobs:register_egg("mobs_jellyfish:jellyfish", "Jellyfish", "jellyfish_inv.png", 0) | ||||
|  | ||||
| end | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								mobs_jellyfish/models/jellyfish.b3d
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mobs_jellyfish/models/jellyfish.b3d
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								mobs_jellyfish/textures/jellyfish.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mobs_jellyfish/textures/jellyfish.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										
											BIN
										
									
								
								mobs_jellyfish/textures/jellyfish_inv.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mobs_jellyfish/textures/jellyfish_inv.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.7 KiB | 
		Reference in New Issue
	
	Block a user