Simulate Cookie Clicker
Python2, 177 Bytes

def f(g,u):
 c=t=0;r=1
 while c&lt;g:
    c+=r;t+=1
    if c&gt;=g:break
    u=sorted(u)
    if u[0][0]&lt;=c:
        h=u.pop(0);c-=h[0]
        exec('r'+h[1]+'=h[2]')
    if t%1000&lt;1:c+=c//10
 return t