added cmsg info for pets
This commit is contained in:
parent
a117fc3b68
commit
22f4dd542a
2
mods/pets/depends.txt
Normal file
2
mods/pets/depends.txt
Normal file
@ -0,0 +1,2 @@
|
||||
default
|
||||
central_message
|
2
mods/pets/depends.txt~
Normal file
2
mods/pets/depends.txt~
Normal file
@ -0,0 +1,2 @@
|
||||
default
|
||||
central_message
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user