coffeemaker.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -- Juicer
  2. local S = minetest.get_translator("default")
  3. minetest.register_craft({
  4. output = 'tf_coffee:lv_coffeemaker',
  5. recipe = {
  6. {'basic_materials:motor', "vessels:steel_bottle", 'basic_materials:plastic_sheet'},
  7. {'basic_materials:heating_element', 'technic:machine_casing', 'technic_farming:cotton_filter'},
  8. {'basic_materials:plastic_sheet', 'technic:lv_cable', 'basic_materials:plastic_sheet'},
  9. }
  10. })
  11. technic.register_base_machine("tf_coffee:lv_coffeemaker", {
  12. typename = "brew",
  13. description = S("@1 Coffee Brewer", 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 = "tf_coffee:mv_coffeemaker",
  22. recipe = {
  23. {'technic:stainless_steel_ingot', 'tf_coffee:lv_coffeemaker', '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("tf_coffee:mv_coffeemaker", {
  29. typename = "brew",
  30. description = S("@1 Coffee Brewer", 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 = {1800, 1500, 900}
  38. })