mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
devtest: Add sam to testentities (#14882)
This commit is contained in:
parent
c6c2c4f60f
commit
5b19d315b3
4 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue