1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 10:25:21 +02:00

devtest: Add sam to testentities (#14882)

This commit is contained in:
Lars Müller
2024-08-11 20:18:30 +02:00
committed by GitHub
parent c6c2c4f60f
commit 5b19d315b3
4 changed files with 20 additions and 0 deletions

View File

@@ -66,6 +66,19 @@ minetest.register_entity("testentities:mesh_unshaded", {
},
})
minetest.register_entity("testentities:sam", {
initial_properties = {
visual = "mesh",
mesh = "testentities_sam.b3d",
textures = {
"testentities_sam.png"
},
},
on_activate = function(self)
self.object:set_animation({x = 0, y = 219}, 30, 0, true)
end,
})
-- Advanced visual tests
-- An entity for testing animated and yaw-modulated sprites