yl_cinema/config.lua
2023-06-02 14:12:46 +02:00

18 lines
955 B
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_bigscreen = minetest.settings:get("yl_cinema.enable_bigscreen") or true
yl_cinema.settings.enable_craft_bigscreen = minetest.settings:get("yl_cinema.enable_craft_bigscreen") 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"