2016-05-17 23:40:05 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
local S = minetest.get_translator("ethereal")
|
2016-06-09 17:08:34 +03:00
|
|
|
|
2023-06-08 18:06:57 +03:00
|
|
|
-- Spore Grass
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2023-06-08 18:06:57 +03:00
|
|
|
minetest.register_node("ethereal:spore_grass", {
|
|
|
|
description = S("Spore Grass"),
|
|
|
|
drawtype = "plantlike",
|
|
|
|
tiles = {"ethereal_spore_grass.png"},
|
|
|
|
inventory_image = "ethereal_spore_grass.png",
|
|
|
|
wield_image = "ethereal_spore_grass.png",
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
waving = 1,
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
groups = {snappy = 3, flora = 1, attached_node = 1},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16}
|
2023-06-08 18:06:57 +03:00
|
|
|
}
|
|
|
|
})
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- Firethorn (poisonous when eaten raw, must be crushed and washed water 1st)
|
|
|
|
|
2018-09-03 22:43:00 +03:00
|
|
|
minetest.register_node("ethereal:firethorn", {
|
|
|
|
description = S("Firethorn Shrub"),
|
|
|
|
drawtype = "plantlike",
|
|
|
|
tiles = {"ethereal_firethorn.png"},
|
|
|
|
inventory_image = "ethereal_firethorn.png",
|
|
|
|
wield_image = "ethereal_firethorn.png",
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
waving = 1,
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
groups = {snappy = 3, flora = 1, attached_node = 1},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16}
|
2021-04-02 23:06:43 +03:00
|
|
|
}
|
2018-09-03 22:43:00 +03:00
|
|
|
})
|
|
|
|
|
2015-10-25 14:56:28 +03:00
|
|
|
-- Fire Flower
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2015-10-25 14:56:28 +03:00
|
|
|
minetest.register_node("ethereal:fire_flower", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Fire Flower"),
|
2015-10-25 14:56:28 +03:00
|
|
|
drawtype = "plantlike",
|
|
|
|
tiles = { "ethereal_fire_flower.png" },
|
|
|
|
inventory_image = "ethereal_fire_flower.png",
|
|
|
|
wield_image = "ethereal_fire_flower.png",
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = 5,
|
|
|
|
sunlight_propagates = true,
|
|
|
|
walkable = false,
|
2016-05-17 23:40:05 +03:00
|
|
|
buildable_to = true,
|
2015-10-25 14:56:28 +03:00
|
|
|
damage_per_second = 2,
|
|
|
|
groups = {snappy = 1, oddly_breakable_by_hand = 3, igniter = 2},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 1 / 2, 5 / 16}
|
2015-10-25 14:56:28 +03:00
|
|
|
},
|
2016-05-17 23:40:05 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
on_punch = function(pos, node, puncher) -- hurts when punched
|
2016-01-21 17:59:28 +03:00
|
|
|
|
2015-10-25 14:56:28 +03:00
|
|
|
puncher:punch(puncher, 1.0, {
|
2024-08-16 13:05:33 +03:00
|
|
|
full_punch_interval = 1.0, damage_groups = {fleshy = 2}}, nil)
|
2021-04-02 23:06:43 +03:00
|
|
|
end
|
2015-10-25 14:56:28 +03:00
|
|
|
})
|
|
|
|
|
2015-12-13 14:31:15 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "ethereal:fire_flower",
|
2021-04-02 23:06:43 +03:00
|
|
|
burntime = 20
|
2015-12-13 14:31:15 +03:00
|
|
|
})
|
|
|
|
|
2015-12-10 01:33:33 +03:00
|
|
|
-- Fire Dust
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2015-12-10 01:33:33 +03:00
|
|
|
minetest.register_craftitem("ethereal:fire_dust", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Fire Dust"),
|
2021-04-02 23:06:43 +03:00
|
|
|
inventory_image = "ethereal_fire_dust.png"
|
2015-12-10 01:33:33 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:fire_dust 2",
|
2021-11-27 13:54:46 +03:00
|
|
|
recipe = {{"ethereal:fire_flower"}}
|
2015-12-10 01:33:33 +03:00
|
|
|
})
|
|
|
|
|
2015-12-13 14:31:15 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "ethereal:fire_dust",
|
2021-04-02 23:06:43 +03:00
|
|
|
burntime = 10
|
2016-05-17 23:40:05 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
-- vines
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
minetest.register_node("ethereal:vine", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Vine"),
|
2016-05-17 23:40:05 +03:00
|
|
|
drawtype = "signlike",
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_vine.png"},
|
|
|
|
inventory_image = "ethereal_vine.png",
|
|
|
|
wield_image = "ethereal_vine.png",
|
2016-05-17 23:40:05 +03:00
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
walkable = false,
|
|
|
|
climbable = true,
|
|
|
|
is_ground_content = false,
|
2024-08-16 13:05:33 +03:00
|
|
|
selection_box = {type = "wallmounted"},
|
2018-01-04 12:56:50 +03:00
|
|
|
groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
|
2016-05-17 23:40:05 +03:00
|
|
|
legacy_wallmounted = true,
|
2021-04-02 23:06:43 +03:00
|
|
|
sounds = default.node_sound_leaves_defaults()
|
2015-12-13 14:31:15 +03:00
|
|
|
})
|
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:vine 2",
|
|
|
|
recipe = {
|
2017-09-05 21:56:02 +03:00
|
|
|
{"group:leaves", "", "group:leaves"},
|
|
|
|
{"", "group:leaves", ""},
|
2021-04-02 23:06:43 +03:00
|
|
|
{"group:leaves", "", "group:leaves"}
|
2016-05-17 23:40:05 +03:00
|
|
|
}
|
|
|
|
})
|
2016-01-23 00:06:03 +03:00
|
|
|
|
|
|
|
-- light strings (glowing vine)
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2016-01-23 00:06:03 +03:00
|
|
|
minetest.register_node("ethereal:lightstring", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Light String Vine"),
|
2016-01-23 00:06:03 +03:00
|
|
|
drawtype = "signlike",
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_lightstring.png"},
|
|
|
|
inventory_image = "ethereal_lightstring.png",
|
|
|
|
wield_image = "ethereal_lightstring.png",
|
2016-01-23 00:06:03 +03:00
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "wallmounted",
|
|
|
|
light_source = 10,
|
|
|
|
walkable = false,
|
|
|
|
climbable = true,
|
|
|
|
is_ground_content = false,
|
2024-08-16 13:05:33 +03:00
|
|
|
selection_box = {type = "wallmounted"},
|
2018-01-04 12:56:50 +03:00
|
|
|
groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
|
2016-01-23 00:06:03 +03:00
|
|
|
legacy_wallmounted = true,
|
2021-04-02 23:06:43 +03:00
|
|
|
sounds = default.node_sound_leaves_defaults()
|
2016-01-23 00:06:03 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "ethereal:lightstring 8",
|
|
|
|
recipe = {
|
|
|
|
{"ethereal:vine", "ethereal:vine", "ethereal:vine"},
|
|
|
|
{"ethereal:vine", "ethereal:fire_dust", "ethereal:vine"},
|
2021-04-02 23:06:43 +03:00
|
|
|
{"ethereal:vine", "ethereal:vine", "ethereal:vine"}
|
|
|
|
}
|
2016-01-23 00:06:03 +03:00
|
|
|
})
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- Boston Fern
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2014-11-09 22:17:41 +03:00
|
|
|
minetest.register_node("ethereal:fern", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Fern"),
|
2014-11-09 22:17:41 +03:00
|
|
|
drawtype = "plantlike",
|
2017-02-12 14:44:46 +03:00
|
|
|
visual_scale = 1.4,
|
2021-04-02 23:06:43 +03:00
|
|
|
tiles = {"ethereal_fern.png"},
|
|
|
|
inventory_image = "ethereal_fern.png",
|
|
|
|
wield_image = "ethereal_fern.png",
|
2014-11-09 22:17:41 +03:00
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
waving = 1,
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
drop = {
|
|
|
|
max_items = 1,
|
|
|
|
items = {
|
2015-07-04 14:22:39 +03:00
|
|
|
{items = {"ethereal:fern_tubers"}, rarity = 6},
|
|
|
|
{items = {"ethereal:fern"}}
|
2014-11-09 22:17:41 +03:00
|
|
|
}
|
|
|
|
},
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.67, 5 / 16}
|
2021-04-02 23:06:43 +03:00
|
|
|
}
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- Boston Ferns sometimes drop edible Tubers
|
|
|
|
|
2014-11-09 22:17:41 +03:00
|
|
|
minetest.register_craftitem("ethereal:fern_tubers", {
|
2024-07-27 10:54:20 +03:00
|
|
|
description = S("Fern Tubers"),
|
2021-04-02 23:06:43 +03:00
|
|
|
inventory_image = "ethereal_fern_tubers.png",
|
2024-07-27 10:54:20 +03:00
|
|
|
groups = {food_tuber = 1},
|
2021-04-02 23:06:43 +03:00
|
|
|
on_use = minetest.item_eat(1)
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2024-07-27 10:54:20 +03:00
|
|
|
ethereal.add_eatable("ethereal:fern_tubers", 1)
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2014-11-09 22:17:41 +03:00
|
|
|
-- Red Shrub (not flammable)
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2014-11-09 22:17:41 +03:00
|
|
|
minetest.register_node("ethereal:dry_shrub", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Fiery Dry Shrub"),
|
2014-11-09 22:17:41 +03:00
|
|
|
drawtype = "plantlike",
|
|
|
|
tiles = {"ethereal_dry_shrub.png"},
|
|
|
|
inventory_image = "ethereal_dry_shrub.png",
|
|
|
|
wield_image = "ethereal_dry_shrub.png",
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
waving = 1,
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
2018-09-02 23:38:46 +03:00
|
|
|
groups = {snappy = 3, flora = 1, attached_node = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16}
|
2021-04-02 23:06:43 +03:00
|
|
|
}
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
-- Grey Shrub (not Flammable - too cold to burn)
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2014-11-09 22:17:41 +03:00
|
|
|
minetest.register_node("ethereal:snowygrass", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Snowy Grass"),
|
2014-11-09 22:17:41 +03:00
|
|
|
drawtype = "plantlike",
|
|
|
|
visual_scale = 0.9,
|
|
|
|
tiles = {"ethereal_snowygrass.png"},
|
|
|
|
inventory_image = "ethereal_snowygrass.png",
|
|
|
|
wield_image = "ethereal_snowygrass.png",
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
waving = 1,
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {snappy = 3, flora = 1, attached_node = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16}
|
2021-04-02 23:06:43 +03:00
|
|
|
}
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
-- Crystal Shrub (not Flammable - too cold to burn)
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2014-11-09 22:17:41 +03:00
|
|
|
minetest.register_node("ethereal:crystalgrass", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S("Crystal Grass"),
|
2014-11-09 22:17:41 +03:00
|
|
|
drawtype = "plantlike",
|
|
|
|
visual_scale = 0.9,
|
|
|
|
tiles = {"ethereal_crystalgrass.png"},
|
|
|
|
inventory_image = "ethereal_crystalgrass.png",
|
|
|
|
wield_image = "ethereal_crystalgrass.png",
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
waving = 1,
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
2015-07-04 14:22:39 +03:00
|
|
|
groups = {snappy = 3, flora = 1, attached_node = 1},
|
2014-11-09 22:17:41 +03:00
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 5 / 16, 5 / 16}
|
2021-04-02 23:06:43 +03:00
|
|
|
}
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- tall lilac
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2022-11-07 14:04:56 +03:00
|
|
|
minetest.register_node("ethereal:lilac", {
|
2022-12-06 14:18:53 +03:00
|
|
|
description = S("Lilac"),
|
2022-11-07 14:04:56 +03:00
|
|
|
drawtype = "plantlike",
|
|
|
|
visual_scale = 1.9,
|
|
|
|
tiles = {"ethereal_lilac.png"},
|
|
|
|
inventory_image = "ethereal_lilac.png",
|
|
|
|
wield_image = "ethereal_lilac.png",
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
waving = 1,
|
|
|
|
walkable = false,
|
|
|
|
buildable_to = true,
|
|
|
|
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.67, 5 / 16}
|
2022-11-07 14:04:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "dye:magenta 2",
|
|
|
|
recipe = {{"ethereal:lilac"}}
|
|
|
|
})
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- moss helper function
|
2022-11-07 14:04:56 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
local function add_moss(typ, descr, texture, receipe_item)
|
2016-01-21 17:59:28 +03:00
|
|
|
|
|
|
|
minetest.register_node("ethereal:" .. typ .. "_moss", {
|
2016-06-09 17:08:34 +03:00
|
|
|
description = S(descr .. " Moss"),
|
2015-07-04 14:22:39 +03:00
|
|
|
tiles = {texture},
|
|
|
|
groups = {crumbly = 3},
|
2016-12-04 13:58:20 +03:00
|
|
|
sounds = default.node_sound_dirt_defaults({
|
|
|
|
footstep = {name = "default_grass_footstep", gain = 0.4}})
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-04-02 23:06:43 +03:00
|
|
|
output = "ethereal:" .. typ .. "_moss",
|
2022-09-30 19:26:44 +03:00
|
|
|
recipe = {{"default:dirt", receipe_item}}
|
2014-11-09 22:17:41 +03:00
|
|
|
})
|
|
|
|
end
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- add moss types (has grass texture on all sides)
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
add_moss("crystal", "Crystal", "ethereal_grass_crystal_top.png", "ethereal:frost_leaves")
|
2023-06-08 18:06:57 +03:00
|
|
|
add_moss("mushroom", "Mushroom", "ethereal_grass_mushroom_top.png", "ethereal:spore_grass")
|
2022-09-30 19:26:44 +03:00
|
|
|
add_moss("fiery", "Fiery", "ethereal_grass_fiery_top.png", "ethereal:dry_shrub")
|
|
|
|
add_moss("gray", "Gray", "ethereal_grass_gray_top.png", "ethereal:snowygrass")
|
|
|
|
add_moss("green", "Green", "default_grass.png", "default:jungleleaves")
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- shroom helper function
|
2015-07-04 14:22:39 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
local function add_shroom(name, desc, ad)
|
2014-11-09 22:17:41 +03:00
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
minetest.register_node("ethereal:illumishroom" .. ad, {
|
|
|
|
description = S(desc .. " Illumishroom"),
|
|
|
|
drawtype = "plantlike",
|
|
|
|
tiles = {"ethereal_illumishroom_" .. name .. ".png"},
|
|
|
|
inventory_image = "ethereal_illumishroom_" .. name .. ".png",
|
|
|
|
wield_image = "ethereal_illumishroom_" .. name .. ".png",
|
|
|
|
paramtype = "light",
|
|
|
|
light_source = 5,
|
|
|
|
sunlight_propagates = true,
|
|
|
|
walkable = false,
|
|
|
|
groups = {dig_immediate = 3, attached_node = 1, flammable = 3},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
selection_box = {
|
2024-08-16 13:05:33 +03:00
|
|
|
type = "fixed", fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.47, 6 / 16}
|
2022-09-30 19:26:44 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
2014-11-09 22:17:41 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- add illuminated cave shrooms
|
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
add_shroom("red", "Red", "")
|
|
|
|
add_shroom("green", "Green", "2")
|
|
|
|
add_shroom("cyan", "Cyan", "3")
|
2024-08-20 10:37:40 +03:00
|
|
|
|
|
|
|
-- poppy
|
|
|
|
|
|
|
|
if not minetest.get_modpath("xanadu") then
|
|
|
|
|
|
|
|
minetest.register_node(":xanadu:poppy", {
|
|
|
|
description = S("Poppy"),
|
|
|
|
tiles = {"ethereal_poppy.png"},
|
|
|
|
inventory_image = "ethereal_poppy.png",
|
|
|
|
wield_image = "ethereal_poppy.png",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
buildable_to = true,
|
|
|
|
waving = 1,
|
|
|
|
drawtype = "plantlike",
|
|
|
|
paramtype = "light",
|
|
|
|
walkable = false,
|
|
|
|
groups = {flower = 1, flora = 1, snappy = 3, attached_node = 1, flammable = 3},
|
|
|
|
selection_box = {
|
|
|
|
type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}
|
|
|
|
},
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
-- craft dye from plant
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "dye:red 4",
|
|
|
|
recipe = {{"xanadu:poppy"}}
|
|
|
|
})
|
|
|
|
end
|