recipes_glazier.lua 479 B

123456789101112131415161718192021222324
  1. local stained_glass = {
  2. red1s = 'red',
  3. red2s = 'red',
  4. blue1s = 'blue',
  5. blue2s = 'blue',
  6. green1s = 'dark_green',
  7. green2s = 'dark_green',
  8. ygs = 'dark_green',
  9. florals = 'violet',
  10. rbs = 'violet',
  11. }
  12. for name, dye in pairs(stained_glass) do
  13. stations.dual_register_recipe('glazier', {
  14. input = {
  15. ['xpanes:pane_flat'] = 1,
  16. ['epic:lead_wire'] = 1,
  17. ['dye:'..dye] = 1,
  18. },
  19. output = 'stainedglass:'..name,
  20. })
  21. end