Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.

Check if you are posting in the correct category.

The Off Topic section is not meant for discussing Cookie Clicker.
⚠️ The DashNet forums will be shut down on September 12th 2019.⚠️

Please see here for more information.

Yield not triggering in certain conditions

I have the following code inside an upgrade:

on tick:
if (Energy >= 100) $nrg = 0
yield $nrg Energyticker
if ($nrg >= 1)
yield 1 Energyticker
toast still no yield

the Energyticker resource does not increment at all - by rights it should be increasing by 2 because of the two different lines here.

The toast line triggers so that means the yields should trigger too - there is no reason why it shouldn't yield if the toast works, so this has to be a bug.

I have tried changing values, names, and variables to no effect. I have confirmed that Energyticker yields in a more basic setting but the moment I have it conditional on the $nrg value, it refuses to increase.
Sign In or Register to comment.