Add different torch textures top vs bottom
This commit is contained in:
parent
79f2ad3bbc
commit
3205562996
BIN
mods/default/textures/default_torch_bottom.png
Normal file
BIN
mods/default/textures/default_torch_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 216 B |
Binary file not shown.
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 121 B |
Binary file not shown.
@ -117,7 +117,7 @@ local function register_torch(subname, description, tiles, overlay_tiles, overla
|
||||
|
||||
end
|
||||
|
||||
local tiles_base = {"default_torch_ends.png","default_torch_ends.png","default_torch_base.png"}
|
||||
local tiles_base = {"default_torch_ends.png","default_torch_bottom.png","default_torch_base.png"}
|
||||
local overlay_tiles_weak = {
|
||||
{
|
||||
name = "default_torch_weak_ends_overlay.png",
|
||||
@ -184,9 +184,9 @@ local overlayR90_normal = {
|
||||
},
|
||||
}
|
||||
|
||||
register_torch("torch_dead", S("Dead Torch"), {"default_torch_ends.png","default_torch_ends.png","default_torch_base.png"}, nil, nil, "default_torch_dead_inventory.png")
|
||||
register_torch("torch_weak", S("Weak Torch"), {"default_torch_ends.png","default_torch_ends.png","default_torch_base.png"}, overlay_tiles_weak, overlayR90_weak, "default_torch_weak_inventory.png", default.LIGHT_MAX-4)
|
||||
register_torch("torch", S("Torch"), {"default_torch_ends.png","default_torch_ends.png","default_torch_base.png"}, overlay_tiles_normal, overlayR90_normal, "default_torch_inventory.png", default.LIGHT_MAX-1)
|
||||
register_torch("torch_dead", S("Dead Torch"), {"default_torch_ends.png","default_torch_bottom.png","default_torch_base.png"}, nil, nil, "default_torch_dead_inventory.png")
|
||||
register_torch("torch_weak", S("Weak Torch"), {"default_torch_ends.png","default_torch_bottom.png","default_torch_base.png"}, overlay_tiles_weak, overlayR90_weak, "default_torch_weak_inventory.png", default.LIGHT_MAX-4)
|
||||
register_torch("torch", S("Torch"), {"default_torch_ends.png","default_torch_bottom.png","default_torch_base.png"}, overlay_tiles_normal, overlayR90_normal, "default_torch_inventory.png", default.LIGHT_MAX-1)
|
||||
|
||||
minetest.register_lbm({
|
||||
label = "Upgrade wall torches",
|
||||
|
Loading…
Reference in New Issue
Block a user