From 1db8158509612c353b53cb1bdc3ec87dc51071eb Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 6 Aug 2019 22:02:33 -0600 Subject: [PATCH] add a recipe for cooking oil into paraffin --- oil/depends.txt | 3 ++- oil/init.lua | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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