2017-03-31 08:58:28 +02:00
|
|
|
hopper.config = {}
|
|
|
|
|
|
|
|
-- settings
|
2017-06-18 22:23:21 +02:00
|
|
|
hopper.config.texture_resolution = minetest.settings:get("hopper_texture_size")
|
2017-03-31 08:58:28 +02:00
|
|
|
if hopper.config.texture_resolution == nil then
|
|
|
|
hopper.config.texture_resolution = "16"
|
|
|
|
end
|
|
|
|
|
2017-06-18 22:23:21 +02:00
|
|
|
hopper.config.single_craftable_item = minetest.settings:get_bool("hopper_single_craftable_item")
|
2017-03-31 08:58:28 +02:00
|
|
|
if hopper.config.single_craftable_item == nil then
|
|
|
|
hopper.config.single_craftable_item = true
|
|
|
|
end
|
|
|
|
|
2017-06-18 22:23:21 +02:00
|
|
|
hopper.config.eject_button_enabled = minetest.settings:get_bool("hopper_eject_button")
|
2017-03-31 08:58:28 +02:00
|
|
|
if hopper.config.eject_button_enabled == nil then
|
|
|
|
hopper.config.eject_button_enabled = true
|
|
|
|
end
|