bumcheekcity
Active member
Could mafia track the casting of Canticle and warn if we have more than a days worth when we try to eat a pasta dish on the assumption that it's likely we're going for a trophy or similar?
// If carboLoading is 0, it doesn't matter what you eat.
// If it's 1, this might be normal aftercore eating.
// If it's 10, the character will qualify for the trophy
int carboLoading = Preferences.getInteger( "carboLoading" );
if ( carboLoading <= 1 || carboLoading >= 10 )
{
return true;
}
// If the food is not made with noodles, no fear
if ( ConcoctionDatabase.noodleCreation( this.itemUsed.getName() ) == null )
{
return true;
}
// Nag
if ( !InputFieldUtilities.confirm( "Eating pasta with only " + carboLoading + " levels of Carboloading will ruin your chance to get the Spaghettihose trophy. Are you sure?" ) )
{
return false;
}
get carboLoading
Many thanks! Have my babies...