diff --git a/basis/liquid_lib.lua b/basis/liquid_lib.lua index f01695c..0cd37a3 100644 --- a/basis/liquid_lib.lua +++ b/basis/liquid_lib.lua @@ -182,13 +182,7 @@ end local function empty_on_punch(pos, nvm, full_container, item_count) nvm.liquid = nvm.liquid or {} nvm.liquid.amount = nvm.liquid.amount or 0 - local lqd_def - -- handle legacy items - if IsLiquid[full_container] then - lqd_def = {inv_item = full_container, size = (item_count or 1), container = ""} - else - lqd_def = get_liquid_def(full_container) - end + local lqd_def = get_liquid_def(full_container) local ndef_lqd = LQD(pos) if lqd_def and ndef_lqd then local tank_size = ndef_lqd.capa or 0 diff --git a/items/baborium.lua b/items/baborium.lua index 55176ea..28f3a30 100644 --- a/items/baborium.lua +++ b/items/baborium.lua @@ -43,8 +43,9 @@ minetest.register_ore({ y_max = -250, }) -techage.furnace.register_recipe({ +minetest.register_craft({ + type = 'cooking', output = 'techage:baborium_ingot', - recipe = {'techage:baborium_lump'}, - time = 3, -}) + recipe = 'techage:baborium_lump', + cooktime = 5, +}) \ No newline at end of file diff --git a/items/hydrogen.lua b/items/hydrogen.lua index a4e3826..c64c4a6 100644 --- a/items/hydrogen.lua +++ b/items/hydrogen.lua @@ -31,7 +31,6 @@ minetest.register_craftitem("techage:cylinder_large_hydrogen", { stack_max = 1, }) -techage.register_liquid("techage:hydrogen", "", 1, "techage:hydrogen") techage.register_liquid("techage:cylinder_small_hydrogen", "techage:ta3_cylinder_small", 1, "techage:hydrogen") techage.register_liquid("techage:cylinder_large_hydrogen", "techage:ta3_cylinder_large", 6, "techage:hydrogen") diff --git a/items/oil.lua b/items/oil.lua index 61828d8..a36ff1a 100644 --- a/items/oil.lua +++ b/items/oil.lua @@ -132,6 +132,5 @@ minetest.register_craftitem("techage:ta3_canister_oil", { }) techage.register_liquid("techage:bucket_oil", "bucket:bucket_empty", 1, "techage:oil_source") -techage.register_liquid("techage:oil_source", "", 1, "techage:oil_source") techage.register_liquid("techage:ta3_barrel_oil", "techage:ta3_barrel_empty", 10, "techage:oil_source") techage.register_liquid("techage:ta3_canister_oil", "techage:ta3_canister_empty", 1, "techage:oil_source")