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:
parent
7b106ab859
commit
23ffc0d0da
2
rat.lua
2
rat.lua
@ -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,
|
||||||
]]
|
]]
|
||||||
--[[
|
--[[
|
||||||
|
Loading…
Reference in New Issue
Block a user