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.

Yield not triggering in certain conditions

I have the following code inside an upgrade:

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

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.