juicer.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. -- Juicer
  2. local S = minetest.get_translator("default")
  3. minetest.register_craft({
  4. output = 'technic_farming:lv_juice_press',
  5. recipe = {
  6. {'basic_materials:motor', 'technic_farming:wooden_screw', 'group:wood'},
  7. {'technic_farming:wooden_plate', 'technic:machine_casing', 'technic_farming:cotton_filter'},
  8. {'group:wood', 'technic:lv_cable', 'group:wood'},
  9. }
  10. })
  11. technic.register_base_machine("technic_farming:lv_juice_press", {
  12. typename = "juicer",
  13. description = S("@1 Juicer", S("LV")),
  14. insert_object = technic.insert_object_unique_stack,
  15. can_insert = technic.can_insert_unique_stack,
  16. tier = "LV",
  17. speed = 1,
  18. demand = {200}
  19. })
  20. minetest.register_craft({
  21. output = 'technic_farming:mv_juice_press',
  22. recipe = {
  23. {'technic:stainless_steel_ingot', 'technic_farming:lv_juice_press', 'technic:stainless_steel_ingot'},
  24. {'pipeworks:tube_1', 'technic:mv_transformer', 'technic_farming:plastic_filter'},
  25. {'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot'},
  26. }
  27. })
  28. technic.register_base_machine("technic_farming:mv_juice_press", {
  29. typename = "juicer",
  30. description = S("@1 Juicer", S("MV")),
  31. insert_object = technic.insert_object_unique_stack,
  32. can_insert = technic.can_insert_unique_stack,
  33. tier = "MV",
  34. speed = 1.5,
  35. upgrade = 1,
  36. tube = 1,
  37. demand = {2000, 1800, 900}
  38. })
  39. minetest.register_craft({
  40. output = 'technic_farming:hv_juice_press',
  41. recipe = {
  42. {'technic:copper_plate', 'technic_farming:mv_juice_press', 'technic:copper_plate'},
  43. {'pipeworks:tube_1', 'technic:hv_transformer', 'technic_farming:carbon_filter'},
  44. {'technic:stainless_steel_ingot', 'technic:hv_cable', 'technic:stainless_steel_ingot'},
  45. }
  46. })
  47. technic.register_base_machine("technic_farming:hv_juice_press", {
  48. typename = "juicer",
  49. description = S("@1 Juicer", S("HV")),
  50. insert_object = technic.insert_object_unique_stack,
  51. can_insert = technic.can_insert_unique_stack,
  52. tier = "HV",
  53. speed = 2,
  54. upgrade = 1,
  55. tube = 1,
  56. demand = {3000, 2200, 1500}
  57. })