Since this has not been updated in quite a while:
Because the string definition in the partial class (I believe) is not string anymore, but has changed to locstring, this mod does not work anymore.
Solution to bring back barrels is alot easier than you would think.
1) In the [ICODE]Server\Mods\AutoGen\Item[/ICODE], find epoxy.cs, gasoline.cs, plastic.cs & syntheticrubber.cs
2) Back up these files simply through copy the file [ICODE]ctrl+c[/ICODE] and [ICODE]ctrl+v[/ICODE]. Rename from [ICODE].cs[/ICODE] to e.g. [ICODE].backup[/ICODE]
3) Now open each of the original [ICODE].cs[/ICODE] files in a text editor (notepad does the job)
4) Find this line:
(Where in this example epoxy is the item example, but equally "easy" to find in the other ones)
this.Products = new CraftingElement[]
{
new CraftingElement<EpoxyItem>(),
};
5) Edit to this:
this.Products = new CraftingElement[]
{
new CraftingElement<EpoxyItem>(),
new CraftingElement<BarrelItem>(),
};
It's tested & verified, and simpler (imho) than to continuously replace the files for each update with potentially a new change.
All kudos & ingenuity goes to NoXid for thinking & implementing a viable & easy solution to this problem.
If these snippets of code in any way violate any rules regarding code, I will remove immediately.