Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Illuna-Minetest
mycastle
Commits
9451e483
Commit
9451e483
authored
Jul 23, 2016
by
ezhh
Browse files
Added chandelier and chain
parent
fa834232
Changes
4
Hide whitespace changes
Inline
Side-by-side
textures/castle_chandelier.png
0 → 100644
View file @
9451e483
360 Bytes
textures/castle_chandelier_chain.png
0 → 100644
View file @
9451e483
169 Bytes
textures/castle_chandelier_wield.png
0 → 100644
View file @
9451e483
316 Bytes
town_item.lua
View file @
9451e483
...
...
@@ -313,3 +313,53 @@ minetest.register_node("castle:light2",{
groups
=
{
cracky
=
2
},
paramtype
=
"light"
,
})
minetest
.
register_node
(
"castle:chandelier"
,
{
drawtype
=
"plantlike"
,
description
=
"Chandelier"
,
paramtype
=
"light"
,
wield_image
=
"castle_chandelier_wield.png"
,
inventory_image
=
"castle_chandelier_wield.png"
,
groups
=
{
cracky
=
2
},
sounds
=
default
.
node_sound_glass_defaults
(),
sunlight_propagates
=
true
,
light_source
=
14
,
tiles
=
{
{
name
=
"castle_chandelier.png"
,
animation
=
{
type
=
"vertical_frames"
,
aspect_w
=
16
,
aspect_h
=
16
,
length
=
1
.
0
},
},
},
selection_box
=
{
type
=
"fixed"
,
fixed
=
{
{
0
.
35
,
-
0
.
375
,
0
.
35
,
-
0
.
35
,
0
.
5
,
-
0
.
35
},
},
},
})
minetest
.
register_node
(
"castle:chandelier_chain"
,
{
drawtype
=
"plantlike"
,
description
=
"Chandelier Chain"
,
paramtype
=
"light"
,
wield_image
=
"castle_chandelier_chain.png"
,
inventory_image
=
"castle_chandelier_chain.png"
,
groups
=
{
cracky
=
2
},
sounds
=
default
.
node_sound_glass_defaults
(),
sunlight_propagates
=
true
,
tiles
=
{
"castle_chandelier_chain.png"
},
selection_box
=
{
type
=
"fixed"
,
fixed
=
{
{
0
.
1
,
-
0
.
5
,
0
.
1
,
-
0
.
1
,
0
.
5
,
-
0
.
1
},
},
},
})
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment