Production Scrap 2


All items produce industrial waste, which must be recycled. See the Changelog and FAQ for other mod compatibility.

Content
3 years ago
0.16 - 1.1
848
Manufacturing

FAQ


Other mods compatibility:

Sorry about the code formatting - Markdown is not my friend.

  • Add an optional dependency for Production Scrap 2 in your info.json file:
    "dependencies": [ "base >= 0.17.0", "? ProductionScrap2 >= 0.17.0" ]

  • Add the following to your data-updates.lua:
    if (mods["ProductionScrap2"]) then
    scrap2.lib.addScrap("mymod-recipe-1", "scrapType", scrapAmount)
    scrap2.lib.addScrap("mymod-recipe-2", "scrapType", scrapAmount)
    (etc.....)
    end

  • If your mod adds a new type of furnace, then do:
    if (mods["ProductionScrap2"]) then
    scrap2.lib.addFurnaceResult("mymod-furnace-1", 2)
    end


New Scrap types:

  • Logistic Scrap
    Used in the recycling process

  • Ammo Scrap
    Not used in recycling, but in waste water treatment process to create explosives, iron scrap, and steel scrap

  • Military Intel Scrap
    Created as loot from destroying spawners and worms
    Not used in recycling, but in waste water treatment process to create military science packs
    Note: Regular military scrap doesn't produce military science packs


Full List of Scrap Types

  • "iron-plate-scrap"
  • "copper-plate-scrap"
  • "steel-plate-scrap"
  • "belt-scrap"
  • "inserter-scrap"
  • "machine-scrap"
  • "circuit-scrap"
  • "military-scrap"
  • "engine-scrap"
  • "electric-scrap"
  • "battery-scrap"
  • "module-scrap"
  • "logistic-scrap"
  • "ammo-scrap"
  • "military-intel-scrap" (produced only as loot from spawners and worms)
  • "wood"
  • "stone"
  • "solid-fuel"