TheBiky88

recipe-updates

Aug 7th, 2026
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.86 KB | None | 0 0
  1. local util = require("functions").recipe
  2.  
  3. local centrifugable = {
  4.     "atomic-bomb",
  5.     "explosive-uranium-cannon-shell",
  6.     "fission-reactor-equipment",
  7.     "fusion-reactor-equipment",
  8.     "uranium-cannon-shell",
  9.     "uranium-fuel-cell",
  10.     "uranium-rounds-magazine",
  11. }
  12. local atom_forgable = {
  13.     "centrifuge",
  14.     "automation-science-pack",
  15.     "logistic-science-pack",
  16.     "military-science-pack",
  17.     "chemical-science-pack",
  18.     "production-science-pack",
  19.     "utility-science-pack",
  20. }
  21.  
  22. for _, recipe in pairs(centrifugable) do
  23.     util.set_category(recipe, "centrifuging-or-crafting")
  24. end
  25.  
  26. for _, recipe in pairs(atom_forgable) do
  27.     util.set_category(recipe, "advanced-centrifuging-or-crafting")
  28. end
  29.  
  30. for recipe, _ in pairs(data.raw["recipe"]) do
  31.     if util.is_centrifuging(recipe) then
  32.         util.double_time(recipe)
  33.     end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment