1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-08-02 19:50:17 +02:00

use mesh node for former-"3dforniture" torch

This commit is contained in:
Vanessa Ezekowitz
2015-03-30 14:59:39 -04:00
parent a33b296b09
commit f565fb666a
9 changed files with 443 additions and 18 deletions

View File

@ -60,11 +60,10 @@ homedecor.register("chains", {
homedecor.register("torch_wall", {
description = S("Wall Torch"),
mesh = "forniture_torch.obj",
tiles = {
"forniture_torch_wall_s.png",
"forniture_torch_wall_i.png",
{
name="forniture_torch_wall_anim.png",
name="forniture_torch_flame.png",
animation={
type="vertical_frames",
aspect_w=40,
@ -72,22 +71,11 @@ homedecor.register("torch_wall", {
length=1.0,
},
},
"forniture_black_metal.png",
"forniture_metal.png",
"forniture_coal.png",
},
inventory_image="3dforniture_inv_torch_wall.png",
node_box = {
type = "fixed",
fixed = {
{ -0.05, -0.45, 0.45, 0.05, -0.35, 0.50, },
{ -0.05, -0.35, 0.40, 0.05, -0.25, 0.50, },
{ -0.05, -0.25, 0.35, 0.05, -0.15, 0.45, },
{ -0.05, -0.15, 0.30, 0.05, -0.05, 0.40, },
{ -0.05, -0.05, 0.25, 0.05, 0.00, 0.35, },
{ -0.10, 0.00, 0.20, 0.10, 0.05, 0.40, },
{ -0.15, 0.05, 0.15, 0.15, 0.15, 0.45, },
{ -0.10, 0.15, 0.20, 0.10, 0.25, 0.40, },
{ -0.05, 0.25, 0.25, 0.05, 0.35, 0.35, },
},
},
inventory_image="forniture_torch_inv.png",
sunlight_propagates = true,
walkable = false,
light_source = 14,