Feature - Implemented Canticle of Carboloading Warning

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?
 

Winterbay

Active member
I thought it did that, it may be after 2 days though and not just one, but I'm pretty certain it warned me at least once...
 

roippi

Developer
Code:
		// 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;
		}

Already implemented.
 
Top