Fermenting Barrel Enhance

Started by Danetta, January 17, 2017, 07:17:10 PM

Previous topic - Next topic

Danetta

Hello.

UPD:
I tried to create my first dll to enhance fermenting barrel with new features. At first I just tried to explore the code a bit, created some new barrels with new ingredients and results, but then I tried to make it so you will be able to select what you want to produce. Like in growing zone, but with drinks instead.

yield return PlantToGrowSettableUtility.SetPlantToGrowCommand(this);
This is what I used in "public override IEnumerable<Gizmo> GetGizmos()" but it's kinda bad. It has too much overhead from plants and many things need to be tracked/redone. So it's probably better to create something similar, but without touching any plants, because the only thing we need is to give the player a selection menu and then track the variable (which contains selected product) in our barrel class so various "fill barrel" and "get product from barrel" jobs will know with which resource to fill the barrel and which product to get as result.

Anything about how to make this work? Not trying to say "make this for me", but some advices will be appreciated.