Advertisement
Recon777

data-final-fixes.lua

Apr 10th, 2019
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 KB | None | 0 0
  1. if mods["DoubleSpeedBelts"] then
  2.     require("prototypes.doublespeed")
  3. end
  4. if mods["SchallBeltConfiguration"] then
  5.     require("prototypes.schall")
  6. end
  7.  
  8. -- Fix crating machine recipes for Bob's
  9.  
  10. if data.raw.recipe["deadlock-machine-packer-recipe-1"] then
  11.     local t1_crater_ingredients  = {
  12.         {"transport-belt-beltbox",8},
  13.         {"steel-plate",10}
  14.     }
  15.     data.raw.recipe["deadlock-machine-packer-recipe-1"].ingredients = t1_crater_ingredients
  16. end
  17. if data.raw.recipe["deadlock-machine-packer-recipe-2"] then
  18.     local t2_crater_ingredients  = {
  19.         {"fast-transport-belt-beltbox",8},
  20.         {"steel-plate",10}
  21.     }
  22.     data.raw.recipe["deadlock-machine-packer-recipe-2"].ingredients = t2_crater_ingredients
  23. end
  24. if data.raw.recipe["deadlock-machine-packer-recipe-3"] then
  25.     local t3_crater_ingredients  = {
  26.         {"express-transport-belt-beltbox",8},
  27.         {"steel-plate",10}
  28.     }
  29.     data.raw.recipe["deadlock-machine-packer-recipe-3"].ingredients = t3_crater_ingredients
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement