config.lua 593 B

123456789101112131415161718
  1. hopper.config = {}
  2. -- settings
  3. hopper.config.texture_resolution = minetest.settings:get("hopper_texture_size")
  4. if hopper.config.texture_resolution == nil then
  5. hopper.config.texture_resolution = "32"
  6. end
  7. hopper.config.single_craftable_item = minetest.settings:get_bool("hopper_single_craftable_item")
  8. if hopper.config.single_craftable_item == nil then
  9. hopper.config.single_craftable_item = true
  10. end
  11. hopper.config.eject_button_enabled = minetest.settings:get_bool("hopper_eject_button")
  12. if hopper.config.eject_button_enabled == nil then
  13. hopper.config.eject_button_enabled = true
  14. end