mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-19 16:10:24 +02:00
Updated homedecor (with meshes)
- Updated homedecor - Used script to get the meshes back
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
print("[Chains] v1.3")
|
||||
|
||||
local chains_sbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.1, -0.625, -0.1, 0.1, 0.5, 0.1 }
|
||||
@ -17,7 +15,7 @@ minetest.register_node("chains:chain", {
|
||||
description = "Hanging chain (wrought iron)",
|
||||
drawtype = "mesh",
|
||||
mesh = "chains.obj",
|
||||
tiles = {"wrought_iron.png"},
|
||||
tiles = {"chains_wrought_iron.png"},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
sunlight_propagates = true,
|
||||
@ -31,7 +29,7 @@ minetest.register_node("chains:chain_brass", {
|
||||
description = "Hanging chain (brass)",
|
||||
drawtype = "mesh",
|
||||
mesh = "chains.obj",
|
||||
tiles = {"brass.png"},
|
||||
tiles = {"chains_brass.png"},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
sunlight_propagates = true,
|
||||
@ -45,7 +43,7 @@ minetest.register_node("chains:chain_top", {
|
||||
description = "Hanging chain (ceiling mount, wrought iron)",
|
||||
drawtype = "mesh",
|
||||
mesh = "top_chains.obj",
|
||||
tiles = {"wrought_iron.png"},
|
||||
tiles = {"chains_wrought_iron.png"},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
sunlight_propagates = true,
|
||||
@ -59,7 +57,7 @@ minetest.register_node("chains:chain_top_brass", {
|
||||
description = "Hanging chain (ceiling mount, brass)",
|
||||
drawtype = "mesh",
|
||||
mesh = "top_chains.obj",
|
||||
tiles = {"brass.png"},
|
||||
tiles = {"chains_brass.png"},
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
sunlight_propagates = true,
|
||||
@ -77,9 +75,21 @@ minetest.register_node("chains:chandelier", {
|
||||
climbable = true,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
tiles = { {name="chains_chandelier.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}},
|
||||
inventory_image = "chains_chandelier_inv.png",
|
||||
drawtype = "plantlike",
|
||||
tiles = {
|
||||
"chains_wrought_iron.png",
|
||||
"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},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
@ -92,9 +102,21 @@ minetest.register_node("chains:chandelier_brass", {
|
||||
climbable = true,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
tiles = { {name="chains_chandelier_brass.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}},
|
||||
inventory_image = "chains_chandelier_brass_inv.png",
|
||||
drawtype = "plantlike",
|
||||
tiles = {
|
||||
"chains_brass.png",
|
||||
"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},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
Reference in New Issue
Block a user