Thank you, I added my_garden_type() to the wiki. that is what I get for relying on it instead of ashref.The first two are available both from get_campground() and my_garden_type(). So you're just asking for an ASH function to harvest your garden?
int grass_growth()
{
int [item] campground = get_campground();
foreach it,qty in campground
{
if(it == $item[packet of tall grass seeds])
{
return qty;
}
}
return 0;
}
item [string] Gardens = {"pumpkin": $item[packet of pumpkin seeds],
"peppermint": $item[Peppermint Pip Packet],
"skeleton": $item[packet of dragon's teeth],
"beer": $item[packet of beer seeds],
"winter": $item[packet of winter seeds],
"thanksgarden": $item[packet of thanksgarden seeds],
"grass": $item[packet of tall grass seeds],
"mushroom": $item[packet of mushroom spores],
};
int GardenGrowth() {
get_campground()[Gardens[my_garden_type()]]
}
Thank you, I added my_garden_type() to the wiki. that is what I get for relying on it instead of ashref.
That wiki you linked. You added a page for it, but it was not listed in the master function list hereWhich wiki? And what's ashref?
I added my_garden_type to the only wiki I know about after it was implemented.