mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-12-05 02:43:49 +01:00
Added support for animated textures
This commit is contained in:
parent
16a968bcba
commit
6250f2577a
12
init.lua
12
init.lua
@ -439,7 +439,11 @@ end
|
||||
-- lucky block itself
|
||||
minetest.register_node('lucky_block:lucky_block', {
|
||||
description = "Lucky Block",
|
||||
tiles = {"lucky_block.png"},
|
||||
--tiles = {"lucky_block.png"},
|
||||
tiles = {{
|
||||
name="lucky_block_animated.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1},
|
||||
}},
|
||||
inventory_image = minetest.inventorycube("lucky_block.png"),
|
||||
sunlight_propagates = false,
|
||||
is_ground_content = false,
|
||||
@ -466,7 +470,11 @@ minetest.register_craft({
|
||||
-- super lucky block
|
||||
minetest.register_node('lucky_block:super_lucky_block', {
|
||||
description = "Super Lucky Block (use Pick)",
|
||||
tiles = {"lucky_block_super.png"},
|
||||
--tiles = {"lucky_block_super.png"},
|
||||
tiles = {{
|
||||
name="lucky_block_super_animated.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1},
|
||||
}},
|
||||
inventory_image = minetest.inventorycube("lucky_block_super.png"),
|
||||
sunlight_propagates = false,
|
||||
is_ground_content = false,
|
||||
|
BIN
textures/lucky_block_animated.png
Normal file
BIN
textures/lucky_block_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 175 B |
BIN
textures/lucky_block_super_animated.png
Normal file
BIN
textures/lucky_block_super_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 150 B |
Loading…
Reference in New Issue
Block a user