add pitter patter of spore tree spores, alternate paper recipe

This commit is contained in:
FaceDeer 2020-02-06 18:56:47 -07:00
parent 239d4569e2
commit 18051ce3a6
7 changed files with 16 additions and 3 deletions

View File

@ -1 +1,2 @@
dfcaverns_fungus_footstep are from https://freesound.org/people/jakeh111/sounds/60853/ under CC-BY-SA 3.0 in 2008 by jakeh111
dfcaverns_fungus_footstep are from https://freesound.org/people/jakeh111/sounds/60853/ under CC-BY-SA 3.0 in 2008 by jakeh111
dfcaverns_spore_tree_pitter_patter are from https://freesound.org/people/martinimeniscus/sounds/199332/ by martinimeniscus under the CC0 public domain license

View File

@ -296,7 +296,12 @@ minetest.register_abm{
vertical = false,
texture = "dfcaverns_spore_tree_spores.png",
})
if math.random() < 0.025 then
minetest.sound_play("dfcaverns_spore_tree_pitter_patter", {
pos = pos,
gain = 0.2,
})
end
end,
}
@ -336,4 +341,3 @@ minetest.register_node("df_trees:spore_tree_ladder", {
legacy_wallmounted = true,
sounds = default.node_sound_wood_defaults(),
})

View File

@ -133,6 +133,14 @@ minetest.register_craft({
}
})
-- Paper
minetest.register_craft({
output = "default:paper 3",
type = "shapeless",
recipe = {'df_trees:tunnel_tube', 'bucket:bucket_water'},
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}},
})
minetest.register_node("df_trees:tunnel_tube_wood", {
description = S("Tunnel Tube Plies"),
_doc_items_longdesc = df_trees.doc.tunnel_tube_desc,