Dirty Barrels
Adam L May 28, 2018A very simple mod I made for Factorio to try and learn some Lua.
How it works
- It creates two new items
- Dirty barrel
- Dirty cannister
- It add two new recipies (a fast and a slow one) for both the dirty barrels and cannisters and produces clean ones.
- It then modifies any currently loaded recipe which produces a
barrel
orcannister
and replaces it with the dirty equivalent- Except for the recipe which creates new barrels, which are already clean.
Source
The source code is available on my Gitlab page