mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-10-31 12:35:22 +01:00 
			
		
		
		
	Merge branch 'master' of github.com:Ombridride/minetest-minetestforfun-server
This commit is contained in:
		| @@ -610,7 +610,7 @@ function mobs:register_mob(name, def) | ||||
| 												--activate_if_tnt(n.name, np, pos, 3) -- Pas de module TNT sur le serveur donc inutile | ||||
| 												minetest.remove_node(np) | ||||
| 												nodeupdate(np) | ||||
| 												if n.name ~= "tnt:tnt" and math.random() > 0.9 then | ||||
| 											--[[	if n.name ~= "tnt:tnt" and math.random() > 0.9 then | ||||
| 													local drop = minetest.get_node_drops(n.name, "") | ||||
| 													for _,item in ipairs(drop) do | ||||
| 														if type(item) == "string" then | ||||
| @@ -619,7 +619,7 @@ function mobs:register_mob(name, def) | ||||
| 															end | ||||
| 														end | ||||
| 													end | ||||
| 												end | ||||
| 												end ]] | ||||
| 											end | ||||
| 										end | ||||
| 									end | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								mods/mobs/sounds/tnt_explode.ogg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mods/mobs/sounds/tnt_explode.ogg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -25,7 +25,7 @@ function pyramids.fill_chest(pos) | ||||
| 			if math.random(1,10) < 7 then return end | ||||
| 			local stacks = {} | ||||
| 			if minetest.get_modpath("treasurer") ~= nil then | ||||
| 				stacks = treasurer.select_random_treasures(3,7,9,{"minetool", "food", "crafting_component"}) | ||||
| 				stacks = treasurer.select_random_treasures() | ||||
| 			else | ||||
| 				for i=0,2,1 do | ||||
| 					local stuff = chest_stuff[math.random(1,#chest_stuff)] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user