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:
parent
069b2d5dcf
commit
ca47db2324
@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user