Leftymod for Factorio

Leftymod for Factorio


This mod is pluggable into your game with a simple file structure, or by inserting the zip into the mod folder.
It requires Bob's Metals, Chemicals and Intermediates for carbon to correctly show in game.
This mod creates an alternative method to create plastic without coal, and also (if mining sulfur with Bob's Ores) without using Oil/Petroleum Gas.
It requires balancing, currently the research may be out of sync, but as the game is in alpha and bob's mods are updated regularly, it is not a priority to balance it perfectly at this time
However I believe the plastic creation is balanced well, as it can use the same coal/petroleum amount as the base game but with an extra "cost" of some water.
It also requires a locale for the research. The research is not necessary, as the recipes can be unlocked using the console command /c game.player.force.enableallrecipes()


CODE:
  {
  "name": "Leftymod",
  "version": "1.0.0",
  "title": "Leftymod",
  "author": "Bouncebag",
  "contact": "http://bouncebag.com/Contact.html",
  "homepage": "http://bouncebag.com/",
  "description": "Too much wood, not enough coal? Turn wood into carbon instead of coal. Got sulfur and carbon? Make plastic.",
  "dependencies": ["base >= 0.12.0", "bobplates >= 0.12.4"]
}
CODE:
    {
    type = "recipe",
    name = "carbon-2",
    category = "chemical-furnace",
    subgroup = "bob-material-chemical",
    energy_required = 2,
    enabled = false,
    ingredients =
    {
      {type="fluid", name="water", amount=0.5},
      {type="item", name="raw-wood", amount=4},
    },
    result = "carbon",
    result_count = 2,
  },
  {
    type = "recipe",
    name = "plastic-bar-left",
    category = "crafting",
    enabled = false,
    ingredients =
    {
      {"carbon", 2},
      {"sulfur", 2},
    },
    result = "plastic-bar",
	result_count = 2
  },
CODE:
    {
    type = "technology",
    name = "unlock-extra-chem",
    icon = "__bobplates__/graphics/icons/technology/chemistry.png",
    prerequisites =
    {
      "chemical-processing-1",
    },
    unit =
    {
      count = 10,
      ingredients =
      {
        {"science-pack-1", 1},
      },
      time = 15
    },
    effects =
    {
      {
        type = "unlock-recipe",
        recipe = "carbon-2"
      },
      {
        type = "unlock-recipe",
        recipe = "plastic-bar-left"
      },
    },
    order = "d-b-b1"
  },