settings.lua 1.2 KB

1234567891011121314151617181920
  1. --
  2. -- The settings section for seeder
  3. --
  4. --
  5. --
  6. farmingNG.havetech = minetest.get_modpath("technic") -- Is technic mod present ? If not use wearout tool instead
  7. --
  8. --
  9. farmingNG.seeder_max_charge = minetest.settings:get("farmingNG_seeder_max_charge") or 900000 -- Maximum charge of the seeder
  10. farmingNG.seeder_charge_per_node = minetest.settings:get("farmingNG_seeder_charge_per_node") or 1800 -- How much it costs to place a seed
  11. --
  12. farmingNG.chaton = minetest.settings:get_bool("farmingNG_chaton", false) -- more verbose chat messages
  13. farmingNG.easy = minetest.settings:get_bool("farmingNG_easy", false) -- easy recipe if technic mod is present
  14. --
  15. farmingNG.harvester_max_charge = minetest.settings:get("farmingNG_harvester_max_charge") or 650000 -- Maximum charge of the harvester
  16. farmingNG.harvester_charge_per_node = minetest.settings:get("farmingNG_harvester_charge_per_node") or 1300 -- Costs of harvesting one node
  17. farmingNG.harvester_machine = minetest.settings:get_bool("farmingNG_harvester_machine", true) -- make the tool available
  18. farmingNG.harvester_nofullg = minetest.settings:get_bool("farmingNG_harvester_nofullg", true) -- harvests also wheat_7, rice_7 etc no need to wait until full grown