Added animation for iron chandelier, added inv images for a few nodes and working on wall glass lamp

master
Andrey2470T 2018-12-29 01:11:28 +03:00
parent 476ee751a3
commit c2711a7e78
13 changed files with 36 additions and 1 deletions

View File

@ -140,6 +140,7 @@ minetest.register_node("luxury_decor:decorative_wooden_chair", {
description = "Decorative Wooden Chair",
visual_scale = 0.5,
mesh = "decorative_wooden_chair.obj",
inventory_image = "decorative_chair_inv.png",
tiles = {"dark_wood_material2.png"},
paramtype = "light",
paramtype2 = "facedir",

View File

@ -2,6 +2,7 @@ minetest.register_node("luxury_decor:luxury_desk_lamp_off", {
description = "Luxury Desk Lamp",
visual_scale = 0.5,
mesh = "luxury_desk_lamp.obj",
inventory_image = "luxury_desk_lamp_inv.png",
tiles = {"luxury_desk_lamp.png"},
paramtype = "light",
paramtype2 = "facedir",
@ -32,6 +33,7 @@ minetest.register_node("luxury_decor:luxury_desk_lamp_on", {
description = "Luxury Desk Lamp",
visual_scale = 0.5,
mesh = "luxury_desk_lamp.obj",
inventory_image = "luxury_desk_lamp_inv.png",
tiles = {"luxury_desk_lamp.png"},
paramtype = "light",
paramtype2 = "facedir",
@ -64,7 +66,11 @@ minetest.register_node("luxury_decor:iron_chandelier", {
description = "Iron Chandelier",
visual_scale = 0.5,
mesh = "iron_chandelier.obj",
tiles = {"iron_chandelier.png"},
inventory_image = "iron_chandelier_inv.png",
tiles = {{
name = "iron_chandelier_animated.png",
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, lenght = 3.4}
}},
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 2.5},

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,6 +2,7 @@ minetest.register_node("luxury_decor:grand_piano", {
description = "Grand Piano",
visual_scale = 0.5,
mesh = "grand_piano.obj",
inventory_image = "grand_piano_inv.png",
tiles = {"grand_piano.png"},
--inventory_image = "simple_wooden_table_inv.png",
paramtype = "light",

View File

@ -38,4 +38,31 @@ minetest.register_node("luxury_decor:simple_flowerpot", {
},
sounds = default.node_sound_wood_defaults()
})
minetest.register_node("luxury_decor:luxury_flowerpot", {
description = "Luxury Flowerpot",
visual_scale = 0.5,
mesh = "luxury_flowerpot.obj",
inventory_image = "luxury_flowerpot_inv.png",
tiles = {"luxury_flowerpot.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 2},
drawtype = "mesh",
collision_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
--[[{-0.65, -0.3, -1.46, 0.65, 1.4, -1.66},
{-0.65, -0.3, 0.46, 0.65, 1.4, 0.66}]]
}
},
selection_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
}
},
sounds = default.node_sound_wood_defaults()
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB