[1.19.2] Whiskey does not mature as quickly as described in the wiki
KennysDaywalker opened this issue ยท 5 comments
@KennysDaywalker her power system is mostly based on solar.
I know she has wavegens, but if it constantly rains or is night she might have ran out of power for a few days.
Edit: This is the code.
Not sure if there is a bug.
@Override
public void onTick()
{
if(!isEmpty() && !hasTreeTap && !opened)
{
age += 1;
if(brewType == BrewType.WHISKY)
{
if(age >= 1728000 && beerQuality < 50)
{
age = 0;
beerQuality++;
}
}
}
}
Like this code is dead simple.
1728000 / 72000 => 24
72000 is 1 hour in game time.
(20 * 60 * 60)
ok @KennysDaywalker did a amazing job and figured out the bug.
My math was completely off...
While this is not perfect either but this is way closer and within my acceptable range this is the value that @KennysDaywalker found that the brew time should take.
1.209.600
Which is a difference of roughly 520k ticks or (7 hours)
@Ar4ibald2115 The One Probe
Which is the mod ic2c also suggests in the first 2-3 wiki pages.
@KennysDaywalker out off topic, which mod add this HUD on the left?
@KennysDaywalker Thanks.