This is a simple drugs system were you can harvest barrels to get a chemical and process the harvested chemical with other products to create a drugs named XTC. To process the drug you need to be at a specific location and need to have the knowledge. You can get the knowledge by using a xtc blueprint, you only have to learn the recipe once and the blueprint will be removed from your inventory.
https://www.youtube.com/watch?v=Whtah3hGbRA