1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-23 01:10:25 +01:00

updated rat do_custom example

This commit is contained in:
TenPlus1 2016-06-11 08:39:26 +01:00
parent 7b106ab859
commit 23ffc0d0da

View File

@ -41,6 +41,8 @@ mobs:register_mob("mobs_animal:rat", {
local pos = self.object:getpos() local pos = self.object:getpos()
print("rat pos", pos.x, pos.y, pos.z, dtime) print("rat pos", pos.x, pos.y, pos.z, dtime)
return false -- return but skip doing rest of API
end, end,
]] ]]
--[[ --[[