yl_cinema/config.lua

24 lines
1.4 KiB
Lua

-- Setting a configuration, switch the order in which the settings shall take precedence. First valid one taken.
yl_cinema.settings = {}
-- yl_cinema.external_value = "mod_default" or minetest.settings:get("yl_cinema.external_value") or "default"
yl_cinema.settings.save_path = minetest.settings:get("yl_cinema.save_path") or "yl_cinema_movies"
yl_cinema.settings.admin_priv = minetest.settings:get("yl_cinema.admin_priv") or "server"
yl_cinema.settings.enable_movieitems = minetest.settings:get("yl_cinema.enable_movieitems") or true
yl_cinema.settings.enable_screens = minetest.settings:get("yl_cinema.enable_screens") or true
yl_cinema.settings.enable_craft_screens = minetest.settings:get("yl_cinema.enable_craft_screens") or true
yl_cinema.settings.enable_craft_bigscreen_recipe = minetest.settings:get("yl_cinema.enable_craft_bigscreen_recipe") or
"wool:grey,wool:grey,wool:grey,wool:grey,wool:grey,wool:grey,wool:black,,wool:black"
yl_cinema.settings.enable_craft_flatscreen_recipe = minetest.settings:get("yl_cinema.enable_craft_flatscreen_recipe") or
"wool:grey,wool:grey,wool:grey,wool:grey,wool:grey,wool:grey,wool:black,,wool:black"
yl_cinema.settings.enable_craft_moviereel_recipe = minetest.settings:get("yl_cinema.enable_craft_moviereel_recipe") or
"default:steel_ingot,cottages:wagon_wheel,default:steel_ingot,default:mese_crystal_fragment,basic_materials:empty_spool,default:paper,default:steel_ingot,cottages:wagon_wheel,default:steel_ingot"