add stairs for primordial wood types. Also bump mycelial soil light sensitivity to 13

This commit is contained in:
FaceDeer 2022-07-11 22:13:25 -06:00
parent dbd12b2237
commit d4f12d19ec
5 changed files with 9 additions and 3 deletions

View File

@ -122,7 +122,7 @@ minetest.register_node("df_primordial_items:dirt_with_mycelium", {
_doc_items_longdesc = df_primordial_items.doc.dirt_with_mycelium_desc,
_doc_items_usagehelp = df_primordial_items.doc.dirt_with_mycelium_usage,
tiles = {"dfcaverns_mush_soil.png"},
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 12},
groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 13},
_dfcaverns_dead_node = df_primordial_items.node_names.dirt,
is_ground_content = false,
paramtype = "light",

View File

@ -146,6 +146,8 @@ minetest.register_craft({
}
})
df_trees.register_all_stairs("fern_wood")
minetest.register_node("df_primordial_items:giant_fern_leaves", {
description = S("Giant Fern Leaves"),
_doc_items_longdesc = df_primordial_items.doc.giant_fern_desc,

View File

@ -80,7 +80,7 @@ minetest.register_craft({
recipe = { "group:primordial_mushroom_cap"},
})
-- Note: no wood-making recipe for the trunk, it's pretty useless
-- Note: no wood-making recipe for the trunk, it's deliberately pretty useless since the cap is edible
minetest.register_craft({
type = "fuel",
recipe = "df_primordial_items:jungle_mushroom_trunk",

View File

@ -115,6 +115,8 @@ minetest.register_craft({
}
})
df_trees.register_all_stairs("primordial_mush_trunk_wood")
minetest.register_node("df_primordial_items:primordial_mush_cap_wood", {
description = S("Primordial Cap Wood"),
_doc_items_longdesc = df_primordial_items.doc.giant_mushroom_desc,
@ -133,6 +135,8 @@ minetest.register_craft({
}
})
df_trees.register_all_stairs("primordial_mush_cap_wood")
------
-- Schematics:
-- Originally created by ClockGen, released under CC-BY 4.0

View File

@ -13,7 +13,7 @@ dofile(modpath.."/aliases.lua")
local S = df_trees.S
df_trees.register_all_stairs = function(name, override_def)
local mod = "df_trees"
local mod = minetest.get_current_modname()
local node_def = minetest.registered_nodes[mod..":"..name]
override_def = override_def or {}