add a unique use for spore tree hypahe

This commit is contained in:
FaceDeer 2018-06-05 22:55:21 -06:00
parent 97c7e93be4
commit 99d99b2b5e
2 changed files with 42 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

View File

@ -57,12 +57,12 @@ minetest.register_craft({
minetest.register_craft({
type = "fuel",
recipe = "dfcaverns:spore_tree_hyphae",
burntime = 1,
burntime = 2,
})
minetest.register_craft({
type = "fuel",
recipe = "dfcaverns:spore_tree_fruiting_body",
burntime = 1,
burntime = 2,
})
minetest.register_craft({
type = "fuel",
@ -77,7 +77,7 @@ minetest.register_node("dfcaverns:spore_tree_hyphae", {
waving = 1,
tiles = {"dfcaverns_spore_tree.png"},
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, spore_tree_hyphae = 1},
walkable = false,
climbable = true,
@ -103,7 +103,7 @@ minetest.register_node("dfcaverns:spore_tree_fruiting_body", {
waving = 1,
tiles = {"dfcaverns_spore_tree.png"},
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1, spore_tree_hyphae = 1},
walkable = false,
climbable = true,
@ -282,3 +282,41 @@ minetest.register_abm{
end,
}
minetest.register_craft({
output = 'dfcaverns:spore_tree_ladder 2',
recipe = {
{'group:spore_tree_hyphae'},
}
})
minetest.register_craft({
type = "fuel",
recipe = "dfcaverns:spore_tree_ladder",
burntime = 1,
})
minetest.register_node("dfcaverns:spore_tree_ladder", {
description = S("Spore Tree Ladder"),
drawtype = "signlike",
tiles = {"dfcaverns_spore_tree_ladder.png"},
inventory_image = "dfcaverns_spore_tree_ladder.png",
wield_image = "dfcaverns_spore_tree_ladder.png",
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
walkable = false,
climbable = true,
is_ground_content = false,
selection_box = {
type = "wallmounted",
--wall_top = = <default>
--wall_bottom = = <default>
--wall_side = = <default>
},
groups = {choppy = 2, oddly_breakable_by_hand = 3, flammable = 2},
legacy_wallmounted = true,
sounds = default.node_sound_wood_defaults(),
})