Node Drawtypes: Add anchor to firelike section
This commit is contained in:
parent
a37d84524c
commit
d7597d7c7e
@ -447,6 +447,7 @@ Plantlike nodes draw their tiles in an X like pattern.
|
|||||||
minetest.register_node("default:papyrus", {
|
minetest.register_node("default:papyrus", {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
|
|
||||||
|
-- Only one texture used
|
||||||
tiles = {"default_papyrus.png"},
|
tiles = {"default_papyrus.png"},
|
||||||
|
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -461,7 +462,6 @@ minetest.register_node("default:papyrus", {
|
|||||||
Firelike is similar to plantlike, except that it is designed to "cling" to walls
|
Firelike is similar to plantlike, except that it is designed to "cling" to walls
|
||||||
and ceilings.
|
and ceilings.
|
||||||
|
|
||||||
|
|
||||||
<figure>
|
<figure>
|
||||||
<img src="{{ page.root }}/static/drawtype_firelike.png" alt="Firelike nodes">
|
<img src="{{ page.root }}/static/drawtype_firelike.png" alt="Firelike nodes">
|
||||||
<figcaption>
|
<figcaption>
|
||||||
@ -470,18 +470,10 @@ and ceilings.
|
|||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
{% highlight lua %}
|
{% highlight lua %}
|
||||||
minetest.register_node("fire:basic_flame", {
|
minetest.register_node("mymod:clingere", {
|
||||||
drawtype = "firelike",
|
drawtype = "firelike",
|
||||||
tiles = {
|
|
||||||
{
|
-- Only one texture used
|
||||||
name = "fire_basic_flame_animated.png",
|
tiles = { "mymod:clinger" },
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 1
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user