With Jick's declaration that gardens are unlikely to happen after next year, I'm preparing to face the reality that any garden I have planted will grow in the background and I'll have to harvest it after I break the prism.
I'm looking at trying an ash script that will tell me which garden is the most profitable. I've done the math and I need to figure out some code to match this pseudocode:
At this point I'm ignoring the skulldozer, the giant candy cane and the differently sized pumpkins.
I'm looking at trying an ash script that will tell me which garden is the most profitable. I've done the math and I need to figure out some code to match this pseudocode:
Code:
a=mallprice(pumpkin)
b=3*mallprice(peppermint sprout)
c=5*mallprice(skeleton)
d=((21*mallprice(handful of barley)+21*mallprice(21*cluster of hops)+3*mallprice(fancy beer label)+3*mallprice(fancy beer bottle))/7
e=(9*mallprice(snow berries)+9*mallprice(ice harvest)+mallprice(frost flower))/3
if a=max(a,b,c,d,e) return "Pumpkins"
if b=max(a,b,c,d,e) return "Peppermints"
if c=max(a,b,c,d,e) return "Skeletons"
if d=max(a,b,c,d,e) return "Beer"
if e=max(a,b,c,d,e) return "Winter"
At this point I'm ignoring the skulldozer, the giant candy cane and the differently sized pumpkins.