Files
VoxelEngine/res/content/base/scripts/drop.lua
T

8 lines
147 B
Lua

function on_despawn()
print("despawn")
end
function on_grounded()
entity.transform:set_rot(mat4.rotate({0, 1, 0}, math.random()*360))
end