mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-11-04 05:55:28 +01:00 
			
		
		
		
	Add Mese_dragon to death message + add a global message when a group of players kil la Mese Dragon
This commit is contained in:
		@@ -149,6 +149,7 @@ local monsters = {
 | 
			
		||||
	["mobs:shark_md"] = "medium shark",
 | 
			
		||||
	["mobs:pumpking"] = "pumpking",
 | 
			
		||||
	["mobs:pumpboom"] = "pumpboom",
 | 
			
		||||
	["mobs:mese_dragon"] = "mese_dragon",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
local function broadcast_death(msg)
 | 
			
		||||
 
 | 
			
		||||
@@ -75,6 +75,9 @@ mobs:register_mob("mobs:mese_dragon", {
 | 
			
		||||
		punch_start = 140,
 | 
			
		||||
		punch_end = 170,
 | 
			
		||||
	},
 | 
			
		||||
	on_die = function(self)
 | 
			
		||||
		minetest.chat_send_all("A group of players killed a Mese Dragon!")
 | 
			
		||||
	end
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- mese_dragon_fireball (weapon)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user