mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
devtest: Add sam to testentities (#14882)
This commit is contained in:
parent
c6c2c4f60f
commit
5b19d315b3
7
games/devtest/mods/testentities/models/LICENSE.txt
Normal file
7
games/devtest/mods/testentities/models/LICENSE.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Original model by MirceaKitsune (CC BY-SA 3.0).
|
||||||
|
Various alterations and fixes by kilbith, sofar, xunto, Rogier-5, TeTpaAka, Desour,
|
||||||
|
stujones11, An0n3m0us (CC BY-SA 3.0):
|
||||||
|
testentities_sam.b3d
|
||||||
|
|
||||||
|
Jordach (CC BY-SA 3.0):
|
||||||
|
testentities_sam.png
|
BIN
games/devtest/mods/testentities/models/testentities_sam.b3d
Normal file
BIN
games/devtest/mods/testentities/models/testentities_sam.b3d
Normal file
Binary file not shown.
BIN
games/devtest/mods/testentities/models/testentities_sam.png
Normal file
BIN
games/devtest/mods/testentities/models/testentities_sam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
@ -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
|
-- Advanced visual tests
|
||||||
|
|
||||||
-- An entity for testing animated and yaw-modulated sprites
|
-- An entity for testing animated and yaw-modulated sprites
|
||||||
|
Loading…
Reference in New Issue
Block a user