torches now use animated textures instead of particles
This commit is contained in:
parent
549899ae12
commit
15ec77dd72
@ -295,6 +295,7 @@ minetest.register_abm( -- papyrus grows
|
||||
end,
|
||||
})
|
||||
|
||||
--[[ TORCH FLAME IS VERY, VERY SLOW, THERE ARE NOW ANIMATIONS INSTEAD
|
||||
minetest.register_abm( -- torch flame
|
||||
{
|
||||
nodenames = {"default:torch", "default:torch_weak"},
|
||||
@ -319,6 +320,7 @@ minetest.register_abm( -- torch flame
|
||||
})
|
||||
end
|
||||
})
|
||||
--]]
|
||||
|
||||
minetest.register_abm( -- weak torchs burn out and die after ~3 minutes
|
||||
{
|
||||
|
@ -1039,7 +1039,7 @@ minetest.register_node(
|
||||
drawtype = "nodebox",
|
||||
tiles ={
|
||||
{
|
||||
name = "default_torch_3d_ends.png",
|
||||
name = "default_torch_3d_ends_animated.png",
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
@ -1057,7 +1057,7 @@ minetest.register_node(
|
||||
},
|
||||
},
|
||||
{
|
||||
name = "default_torch_3d.png",
|
||||
name = "default_torch_3d_animated.png",
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
@ -1091,7 +1091,7 @@ minetest.register_node(
|
||||
drawtype = "nodebox",
|
||||
tiles ={
|
||||
{
|
||||
name = "default_torch_3d_ends.png",
|
||||
name = "default_torch_3d_ends_animated.png",
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
@ -1109,7 +1109,7 @@ minetest.register_node(
|
||||
},
|
||||
},
|
||||
{
|
||||
name = "default_torch_3d.png",
|
||||
name = "default_torch_3d_animated.png",
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 480 B After Width: | Height: | Size: 480 B |
Binary file not shown.
BIN
mods/default/textures/default_torch_3d_animated.png
Normal file
BIN
mods/default/textures/default_torch_3d_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 628 B |
BIN
mods/default/textures/default_torch_3d_animated.xcf
Normal file
BIN
mods/default/textures/default_torch_3d_animated.xcf
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 403 B |
Binary file not shown.
BIN
mods/default/textures/default_torch_3d_ends_animated.png
Normal file
BIN
mods/default/textures/default_torch_3d_ends_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 394 B |
BIN
mods/default/textures/default_torch_3d_ends_animated.xcf
Normal file
BIN
mods/default/textures/default_torch_3d_ends_animated.xcf
Normal file
Binary file not shown.
@ -188,7 +188,7 @@ minetest.register_abm(
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_abm(
|
||||
--[[minetest.register_abm(
|
||||
{
|
||||
nodenames = {"air"},
|
||||
interval = 2,
|
||||
@ -223,7 +223,7 @@ minetest.register_abm(
|
||||
end
|
||||
end
|
||||
end,
|
||||
})
|
||||
})--]]
|
||||
|
||||
minetest.register_node(
|
||||
"weather:snow",
|
||||
|
Loading…
Reference in New Issue
Block a user