use mesh nodes for chandeliers

This commit is contained in:
Vanessa Ezekowitz 2015-04-27 00:38:23 -04:00
parent 7f7ba92bc8
commit c0bb7fc784
10 changed files with 1655 additions and 10 deletions

View File

@ -17,7 +17,7 @@ minetest.register_node("chains:chain", {
description = "Hanging chain (wrought iron)", description = "Hanging chain (wrought iron)",
drawtype = "mesh", drawtype = "mesh",
mesh = "chains.obj", mesh = "chains.obj",
tiles = {"wrought_iron.png"}, tiles = {"chains_wrought_iron.png"},
walkable = false, walkable = false,
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,
@ -31,7 +31,7 @@ minetest.register_node("chains:chain_brass", {
description = "Hanging chain (brass)", description = "Hanging chain (brass)",
drawtype = "mesh", drawtype = "mesh",
mesh = "chains.obj", mesh = "chains.obj",
tiles = {"brass.png"}, tiles = {"chains_brass.png"},
walkable = false, walkable = false,
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,
@ -45,7 +45,7 @@ minetest.register_node("chains:chain_top", {
description = "Hanging chain (ceiling mount, wrought iron)", description = "Hanging chain (ceiling mount, wrought iron)",
drawtype = "mesh", drawtype = "mesh",
mesh = "top_chains.obj", mesh = "top_chains.obj",
tiles = {"wrought_iron.png"}, tiles = {"chains_wrought_iron.png"},
walkable = false, walkable = false,
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,
@ -59,7 +59,7 @@ minetest.register_node("chains:chain_top_brass", {
description = "Hanging chain (ceiling mount, brass)", description = "Hanging chain (ceiling mount, brass)",
drawtype = "mesh", drawtype = "mesh",
mesh = "top_chains.obj", mesh = "top_chains.obj",
tiles = {"brass.png"}, tiles = {"chains_brass.png"},
walkable = false, walkable = false,
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,
@ -77,9 +77,21 @@ minetest.register_node("chains:chandelier", {
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
tiles = { {name="chains_chandelier.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}}, tiles = {
inventory_image = "chains_chandelier_inv.png", "chains_wrought_iron.png",
drawtype = "plantlike", "chains_candle.png",
{
name="chains_candle_flame.png",
animation={
type="vertical_frames",
aspect_w=16,
aspect_h=16,
length=3.0
}
}
},
drawtype = "mesh",
mesh = "chains_chandelier.obj",
groups = {cracky=3}, groups = {cracky=3},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
@ -92,9 +104,21 @@ minetest.register_node("chains:chandelier_brass", {
climbable = true, climbable = true,
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
tiles = { {name="chains_chandelier_brass.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}}, tiles = {
inventory_image = "chains_chandelier_brass_inv.png", "chains_brass.png",
drawtype = "plantlike", "chains_candle.png",
{
name="chains_candle_flame.png",
animation={
type="vertical_frames",
aspect_w=16,
aspect_h=16,
length=3.0
}
}
},
drawtype = "mesh",
mesh = "chains_chandelier.obj",
groups = {cracky=3}, groups = {cracky=3},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })

File diff suppressed because it is too large Load Diff

View File

Before

Width:  |  Height:  |  Size: 801 B

After

Width:  |  Height:  |  Size: 801 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

View File

Before

Width:  |  Height:  |  Size: 926 B

After

Width:  |  Height:  |  Size: 926 B