mirror of
https://github.com/minetest-mods/hopper.git
synced 2024-12-22 13:22:28 +01:00
c691f370b4
This aims to reduce spammed log files and corrects nonsense translations to the terminal
20 lines
680 B
Lua
20 lines
680 B
Lua
hopper.config = {}
|
|
|
|
-- settings
|
|
hopper.config.texture_resolution = minetest.settings:get("hopper_texture_size")
|
|
if hopper.config.texture_resolution == nil then
|
|
hopper.config.texture_resolution = "16"
|
|
end
|
|
|
|
hopper.config.single_craftable_item = minetest.settings:get_bool("hopper_single_craftable_item")
|
|
if hopper.config.single_craftable_item == nil then
|
|
hopper.config.single_craftable_item = true
|
|
end
|
|
|
|
hopper.config.eject_button_enabled = minetest.settings:get_bool("hopper_eject_button")
|
|
if hopper.config.eject_button_enabled == nil then
|
|
hopper.config.eject_button_enabled = true
|
|
end
|
|
|
|
hopper.config.inv_log_level = minetest.settings:get("hopper_inventory_log_level") or "info"
|