added cmsg info for pets

This commit is contained in:
cale 2016-01-15 16:34:24 +01:00
parent a117fc3b68
commit 22f4dd542a
4 changed files with 6 additions and 0 deletions

2
mods/pets/depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
central_message

2
mods/pets/depends.txt~ Normal file
View File

@ -0,0 +1,2 @@
default
central_message

View File

@ -25,6 +25,7 @@ minetest.register_entity("pets:pig", {
return
end
self.pl = puncher
cmsg.push_message_player(puncher, "[pet] pig")
end,
on_step = function(self, dtime)

View File

@ -25,6 +25,7 @@ minetest.register_entity("pets:pig", {
return
end
self.pl = puncher
cmsg.push_message_player(puncher, "[pet] pig")
end,
on_step = function(self, dtime)