forked from mtcontrib/riesenpilz
add fly agaric nodebox
This commit is contained in:
parent
6f6b3d6272
commit
3850aa4a61
23
init.lua
23
init.lua
@ -114,23 +114,22 @@ local BOX_BROWN = {
|
||||
fixed = {
|
||||
{-0.15, -0.2, -0.15, 0.15, -0.1, 0.15},
|
||||
{-0.2, -0.3, -0.2, 0.2, -0.2, 0.2},
|
||||
{-0.05, -0.5, -0.05, 0.05, -0.3, 0.05},
|
||||
{-0.05, -0.5, -0.05, 0.05, -0.3, 0.05}
|
||||
},
|
||||
}
|
||||
|
||||
local BOX_FLY_AGARIC = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.05, -0.5, -0.05, 0.05, 1/20, 0.05},
|
||||
{-3/20, -6/20, -3/20, 3/20, 0, 3/20},
|
||||
{-4/20, -2/20, -4/20, 4/20, -4/20, 4/20},
|
||||
},
|
||||
}
|
||||
|
||||
pilz("brown", "Brown Mushroom", BOX_BROWN)
|
||||
pilz("red", "Red Mushroom", BOX_RED)
|
||||
|
||||
minetest.register_node("riesenpilz:fly_agaric", {
|
||||
description = "Fly Agaric",
|
||||
tile_images = {"riesenpilz_fly_agaric_side.png"},
|
||||
inventory_image = "riesenpilz_fly_agaric_side.png",
|
||||
walkable = false,
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike",
|
||||
groups = {snappy=3,flammable=2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
pilz("fly_agaric", "Fly Agaric", BOX_FLY_AGARIC)
|
||||
|
||||
|
||||
|
||||
|
BIN
textures/riesenpilz_fly_agaric_bottom.png
Normal file
BIN
textures/riesenpilz_fly_agaric_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 327 B |
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 298 B |
BIN
textures/riesenpilz_fly_agaric_top.png
Normal file
BIN
textures/riesenpilz_fly_agaric_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 235 B |
Loading…
Reference in New Issue
Block a user