mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2025-04-26 07:00:22 +02: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()
|
||||
|
||||
print("rat pos", pos.x, pos.y, pos.z, dtime)
|
||||
|
||||
return false -- return but skip doing rest of API
|
||||
end,
|
||||
]]
|
||||
--[[
|
||||
|
Loading…
x
Reference in New Issue
Block a user