This is not possible anyway since entities do not support animated textures. Otherwise, you should be able to use 'override' on armor items, just as you can any other.GreenDimond wrote:I'd like to set an armor texture to a vertical frames animation, but the `gsub` on L229 in the api.lua prevents me. Is there some way I can use minetest.override_item to set `self.textures[name].armor` to the texture I want?
This doesn't work:Code: Select all
minetest.override_item("mymod:shield_mymod", { self.textures[name].armor = { { name = "mymod_shield_mymod_anim.png", animation = { type = "vertical_frames", aspect_w = 3, aspect_h = 3, length = 1, }, }, },) })
@bell07 Thanks, I have replied in the issue tracker.bell07 wrote:ok, tenplus closed the issue without changes. Seems the inventory_plus requires sfinv for creative.
Now I created new issue on 3d_armor site with solution proposal: https://github.com/stujones11/minetest- ... issues/134