diff --git a/games/devtest/mods/testentities/models/LICENSE.txt b/games/devtest/mods/testentities/models/LICENSE.txt new file mode 100644 index 000000000..4317d68d3 --- /dev/null +++ b/games/devtest/mods/testentities/models/LICENSE.txt @@ -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 diff --git a/games/devtest/mods/testentities/models/testentities_sam.b3d b/games/devtest/mods/testentities/models/testentities_sam.b3d new file mode 100644 index 000000000..3e0827e40 Binary files /dev/null and b/games/devtest/mods/testentities/models/testentities_sam.b3d differ diff --git a/games/devtest/mods/testentities/models/testentities_sam.png b/games/devtest/mods/testentities/models/testentities_sam.png new file mode 100644 index 000000000..05021781e Binary files /dev/null and b/games/devtest/mods/testentities/models/testentities_sam.png differ diff --git a/games/devtest/mods/testentities/visuals.lua b/games/devtest/mods/testentities/visuals.lua index e382ec44c..8e26a883e 100644 --- a/games/devtest/mods/testentities/visuals.lua +++ b/games/devtest/mods/testentities/visuals.lua @@ -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