if (yl_cinema.settings.enable_bigscreen and (yl_cinema.settings.enable_bigscreen == true) and yl_cinema.settings.enable_craft_bigscreen and (yl_cinema.settings.enable_craft_bigscreen == true)) then local recipe = yl_cinema.string_to_recipe(yl_cinema.settings.enable_craft_bigscreen_recipe) if type(recipe) == "table" then minetest.register_craft({ type = "shaped", output = "yl_cinema:bigscreen_base", recipe = recipe }) else yl_cinema.warn("Cannot register crafting recipe for bigscreen: " .. dump(yl_cinema.settings.enable_craft_bigscreen_recipe)) end end