1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 00:08:25 +01:00

[mobs] Alert when a Pupmking is killed

This commit is contained in:
LeMagnesium 2015-10-07 21:21:12 +02:00
parent 069b2d5dcf
commit ca47db2324

View File

@ -45,6 +45,9 @@ mobs:register_mob("mobs:pumpking", {
p, "mobs:pumpboom") p, "mobs:pumpboom")
self.shoot_interval = self.shoot_interval - 45 self.shoot_interval = self.shoot_interval - 45
end end
end,
on_die = function(self)
minetest.chat_send_all("A group of players killed a Pumpking!")
end end
}) })