diff --git a/mods/ITEMS/mcl_potions/init.lua b/mods/ITEMS/mcl_potions/init.lua index ddc3e13b7..d78a5fda5 100644 --- a/mods/ITEMS/mcl_potions/init.lua +++ b/mods/ITEMS/mcl_potions/init.lua @@ -106,31 +106,6 @@ local potion_image = function(colorstring, opacity) return "mcl_potions_potion_overlay.png^[colorize:"..colorstring..":"..tostring(opacity).."^mcl_potions_potion_bottle.png" end - - --- Cauldron fill up rules: --- Adding any water increases the water level by 1, preserving the current water type -local cauldron_levels = { - -- start = { add water, add river water } - { "", "_1", "_1r" }, - { "_1", "_2", "_2" }, - { "_2", "_3", "_3" }, - { "_1r", "_2r", "_2r" }, - { "_2r", "_3r", "_3r" }, -} -local fill_cauldron = function(cauldron, water_type) - local base = "mcl_cauldrons:cauldron" - for i=1, #cauldron_levels do - if cauldron == base .. cauldron_levels[i][1] then - if water_type == "mclx_core:river_water_source" then - return base .. cauldron_levels[i][3] - else - return base .. cauldron_levels[i][2] - end - end - end -end - -- Itemstring of potions is “mcl_potions:” minetest.register_craftitem("mcl_potions:water", {