💬 Gold panning Help

let found = 0
repeat(5){
pan()
}

understood, so with just this I have the found gold set to 0 and I am now panning 5 times without totaling anything. how would i go about totaling the gold. I thought selling was my issue but I guess i’m lost on telling jiki to add it all up to be sold

Let’s go back to the steps you laid out.

first we pan, then we add up how much we’ve found, then we would pan again add that to our total. Pan once more and total that up with the rest.

Can you write those exact steps out as code?

Resolved synchronously via Discord.

1 Like

A post was split to a new topic: Help: gold panning