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:
@@ -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,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user