Initial files

master
Mikita Wiśniewski 2022-04-03 12:13:50 +07:00
parent 18e6188da8
commit 7013da0749
2 changed files with 22 additions and 0 deletions

20
init.lua Normal file
View File

@ -0,0 +1,20 @@
minetest.override_item("default:torch", {
drawtype = "torchlike",
mesh = "",
})
minetest.override_item("default:torch_wall", {
drawtype = "torchlike",
mesh = "",
tiles = {{
name = "default_torch_animated.png",
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3}
}},
})
minetest.override_item("default:torch_ceiling", {
drawtype = "torchlike",
mesh = "",
tiles = {{
name = "default_torch_on_ceiling_animated.png",
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3}
}},
})

2
mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = 2d_torches
depends = default