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

devtest: Improve tool and formspec usability

also fix the yawsprite test entity
This commit is contained in:
sfan5
2020-06-08 17:15:02 +02:00
parent 0ab580810c
commit a21f9bb7e6
3 changed files with 6 additions and 4 deletions

View File

@@ -66,9 +66,9 @@ minetest.register_entity("testentities:yawsprite", {
textures = {"testentities_dungeon_master.png^[makealpha:128,0,0^[makealpha:128,128,0"},
spritediv = {x=6, y=5},
initial_sprite_basepos = {x=0, y=0},
on_activate = function(self, staticdata)
self.object:set_sprite({x=0, y=0}, 1, 0, true)
end,
},
on_activate = function(self, staticdata)
self.object:set_sprite({x=0, y=0}, 1, 0, true)
end,
})