Animate banners

This commit is contained in:
Wuzzy 2017-07-31 03:02:29 +02:00
parent 55f7496afc
commit 3063553bb2
3 changed files with 3 additions and 0 deletions

View File

@ -264,6 +264,9 @@ minetest.register_entity("mcl_banners:standing_banner", {
self._base_color = inp._base_color
self._layers = inp._layers
self.object:set_properties({textures = make_banner_texture(self._base_color, self._layers)})
-- Make banner slowly swing
self.object:set_animation({x=0, y=80}, 25)
end
self.object:set_armor_groups({immortal=1})
end,

Binary file not shown.