default.lua 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. stations.dual_register_recipe('woodworking', {
  2. input = {
  3. ['group:wood'] = 6,
  4. ['furniture:hinge'] = 2,
  5. },
  6. output = 'default:chest',
  7. })
  8. stations.dual_register_recipe('woodworking', {
  9. input = {
  10. ['group:wood'] = 6,
  11. ['furniture:hinge'] = 2,
  12. ['furniture:lock'] = 1,
  13. },
  14. output = 'default:chest_locked',
  15. })
  16. stations.dual_register_recipe('woodworking', {
  17. input = {
  18. ['default:chest'] = 1,
  19. ['furniture:lock'] = 1,
  20. },
  21. output = 'default:chest_locked',
  22. })
  23. stations.dual_register_recipe('woodworking', {
  24. input = {
  25. ['group:wood'] = 2,
  26. },
  27. output = 'default:ladder_wood 5',
  28. })
  29. local fence_material = {
  30. acacia_wood = 'default:acacia_wood',
  31. aspen_wood = 'default:aspen_wood',
  32. junglewood = 'default:junglewood',
  33. pine_wood = 'default:pine_wood',
  34. wood = 'default:wood',
  35. }
  36. for name, mat in pairs(fence_material) do
  37. stations.dual_register_recipe('woodworking', {
  38. input = {
  39. [mat] = 1,
  40. },
  41. output = 'default:fence_'..name,
  42. })
  43. stations.dual_register_recipe('woodworking', {
  44. input = {
  45. [mat] = 1,
  46. },
  47. output = 'default:fence_rail_'..name..' 4',
  48. })
  49. end