diff --git a/df_trees/black_cap.lua b/df_trees/black_cap.lua index 27a6468..0a9905e 100644 --- a/df_trees/black_cap.lua +++ b/df_trees/black_cap.lua @@ -81,6 +81,15 @@ minetest.register_craft({ } }) +if minetest.get_modpath("basic_materials") then + minetest.register_craft({ + type = "cooking", + output = "basic_materials:paraffin", + recipe = "df_trees:black_cap_gills", + cooktime = 5, + }) +end + minetest.register_node("df_trees:black_cap_wood", { description = S("Black Cap Planks"), _doc_items_longdesc = df_trees.doc.black_cap_desc, diff --git a/df_trees/depends.txt b/df_trees/depends.txt index 03415c0..9542636 100644 --- a/df_trees/depends.txt +++ b/df_trees/depends.txt @@ -3,4 +3,5 @@ intllib? doc? moreblocks? stairs? -vessels? \ No newline at end of file +vessels? +basic_materials? \ No newline at end of file diff --git a/df_trees/mod.conf b/df_trees/mod.conf index 902b5ef..c277cc2 100644 --- a/df_trees/mod.conf +++ b/df_trees/mod.conf @@ -1,4 +1,4 @@ name = df_trees description = Adds various types of underground fungal "trees". Light kills their saplings, they only grow in the dark. depends = default -optional_depends = intllib, doc, moreblocks, stairs, vessels \ No newline at end of file +optional_depends = intllib, doc, moreblocks, stairs, vessels, basic_materials \ No newline at end of file diff --git a/oil/init.lua b/oil/init.lua index a385304..e0ae561 100644 --- a/oil/init.lua +++ b/oil/init.lua @@ -206,6 +206,7 @@ if minetest.get_modpath("bucket") then type = "cooking", output = "basic_materials:paraffin", recipe = "oil:oil_bucket", + cooktime = 5, replacements = {{"oil:oil_bucket", "bucket:bucket_empty"}}, }) end