mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-10-31 12:35:22 +01:00 
			
		
		
		
	Added returnmirror mod (without mana for the moment)
- Added return mirror mod, mana will follow - Added a drop of mirrors in mese_monsters' definitions - Fixed a line return in areas
This commit is contained in:
		| @@ -140,8 +140,7 @@ function areas:canPlayerAddArea(pos1, pos2, name) | ||||
| 		end | ||||
| 	end | ||||
| 	if count >= self.self_protection_max_areas  | ||||
| 	   and minetest.get_player_privs(name)["megabuilder"] ==  | ||||
| false then | ||||
| 	   and minetest.get_player_privs(name)["megabuilder"] == false then | ||||
| 		return false, "You have reached the maximum amount of" | ||||
| 				.." areas that you are allowed to  protect." | ||||
| 	end | ||||
|   | ||||
| @@ -43,6 +43,10 @@ mobs:register_mob("mobs:mese_monster", { | ||||
| 		chance = 2, | ||||
| 		min = 2, | ||||
| 		max = 5,}, | ||||
| 		{name = "returnmirror:mirror_inactive", | ||||
| 		chance = 5, | ||||
| 		min = 1, | ||||
| 		max = 5,}, | ||||
| 	}, | ||||
| 	light_resistant = true, | ||||
| 	armor = 80, | ||||
|   | ||||
							
								
								
									
										1
									
								
								mods/returnmirror
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								mods/returnmirror
									
									
									
									
									
										Submodule
									
								
							 Submodule mods/returnmirror added at f24fc2b04e
									
								
							
		Reference in New Issue
	
	Block a user