diff --git a/oil/depends.txt b/oil/depends.txt index e8875d0..e3df8e9 100644 --- a/oil/depends.txt +++ b/oil/depends.txt @@ -1,4 +1,5 @@ default dynamic_liquid? bucket? -doc? \ No newline at end of file +doc? +basic_materials? \ No newline at end of file diff --git a/oil/init.lua b/oil/init.lua index 999ff1f..a385304 100644 --- a/oil/init.lua +++ b/oil/init.lua @@ -200,4 +200,13 @@ if minetest.get_modpath("bucket") then burntime = 370, -- same as coalblock replacements = {{"oil:oil_bucket", "bucket:bucket_empty"}}, }) + + if minetest.get_modpath("basic_materials") then + minetest.register_craft({ + type = "cooking", + output = "basic_materials:paraffin", + recipe = "oil:oil_bucket", + replacements = {{"oil:oil_bucket", "bucket:bucket_empty"}}, + }) + end end \ No newline at end of file