Add different textures for weak torch

This commit is contained in:
Wuzzy 2019-08-29 05:17:50 +02:00
parent 50e8b7b90a
commit 07ef0ef491
7 changed files with 8 additions and 14 deletions

View File

@ -1155,15 +1155,9 @@ minetest.register_node(
description = S("Dead Torch"),
drawtype = "nodebox",
tiles = {
{
name = "default_torch_ends.png",
},
{
name = "default_torch_ends.png",
},
{
name = "default_torch_base.png",
},
"default_torch_ends.png",
"default_torch_ends.png",
"default_torch_base.png",
},
inventory_image = "default_torch_dead_inventory.png",
wield_image = "default_torch_dead_inventory.png",
@ -1201,7 +1195,7 @@ minetest.register_node(
},
overlay_tiles = {
{
name = "default_torch_ends_overlay.png",
name = "default_torch_weak_ends_overlay.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
@ -1210,7 +1204,7 @@ minetest.register_node(
},
},
{
name = "default_torch_ends_overlay.png",
name = "default_torch_weak_ends_overlay.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
@ -1219,7 +1213,7 @@ minetest.register_node(
},
},
{
name = "default_torch_overlay.png",
name = "default_torch_weak_overlay.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
@ -1228,8 +1222,8 @@ minetest.register_node(
},
},
},
inventory_image = "default_torch_inventory.png",
wield_image = "default_torch_inventory.png",
inventory_image = "default_torch_weak_inventory.png",
wield_image = "default_torch_weak_inventory.png",
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 987 B

Binary file not shown.