mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Animate banners
This commit is contained in:
parent
55f7496afc
commit
3063553bb2
3 changed files with 3 additions and 0 deletions
|
@ -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.
BIN
mods/ITEMS/mcl_banners/models/amc_banner_hanging.b3d
Normal file
BIN
mods/ITEMS/mcl_banners/models/amc_banner_hanging.b3d
Normal file
Binary file not shown.
Loading…
Reference in a new issue