Banana Lord
Member
We're so close I can almost taste that .5!
				
			I notice nothing.But there's a slight possibility that, anytime I update a script that I think there's the possibility I've tweaked, it gets run through a file comparison program before the old version is replaced.


Yeah, I still have mine set up to just consider a limited amount of SRs in Hardcore and so noticed that there were more things that had changed than just the hidden city
if(!can_interact() && vars["BaleCC_SrInHC"] != "true") {
print("Semi-rares choices are not automated in hardcore or ronin.", "red");
print_html("<font color=\"FF9900\">Your last semi-rare adventure was at <u>"+get_property("semirareLocation")+"</u>, so plan accordingly.</font>");
return false;
} else {
get_semirare();
return true;
}
	case "Fortune Cookie":
		if(!can_interact() && vars["BaleCC_SrInHC"] != "true") {
			print("Semi-rares choices are not automated in hardcore or ronin.", "red");
			print_html("<font color=\"FF9900\">Your last semi-rare adventure was at <u>"+get_property("semirareLocation")+"</u>, so plan accordingly.</font>");
			return false;
		} else {
			[COLOR="#FF0000"]get_semirare()[/COLOR];
			return true;
		}
Well, that is the right way to do it if you set BaleCC_SrInHC to true. However it would make more sense to make it false since you don't want to automate them. That means putting the abort right before "return false;"
And yes, if this was to automate in HC, it would chose by value. That's why it isn't recommended for HC.

	foreach locale, rare in semi_rare {
		if(locale == last_rare || !canadv(locale)) continue;
		if(historical_age(rare) > 1 || historical_price(rare) == 0)
			mall_price(rare);
		rare_price = historical_price(rare) * ((rare_quant contains rare)? rare_quant[rare]: 1); 
		if(rare_price > expensive) {
			best = locale;
			expensive = rare_price;
		}
	}		if(historical_age(rare) > 1 || historical_price(rare) == 0)
			mall_price(rare);