Cold Blooded Warm Fuzzies

Does mafia track how many Warm Fuzzies one has obtained? If so, how would I go about finding that data?

Quick skim of the preference tells me I'm out of luck, but maybe it's under a heading I didn't think to check.

Sadly, I did not have the checkbox for logging status effect changes checked.
 

lostcalpolydude

Developer
Staff member
Mafia does not track that. When I went for the trophy, I had a mood that would increment a property when I had 20 turns of the effect.
 

Bale

Minion
So? The important thing to count is to free 20 or more. After that you just adventure until the trophy appears. That's all that matters.
 

lostcalpolydude

Developer
Staff member
Most people probably only check the trophy hut at the end of each day of automated farming though, and the fastest places for getting the trophy probably don't overlap with the best farming locations, so it's worth tracking to get out of the zone sooner.
 

Bale

Minion
Once again, I have no idea how your words relate to there being an advantage in counting the instances of the Fuzzies.

According to what you say, you'd switch to a good Fuzzy zone whenever the effect wears off and then go back to regular farming once the turtle shows up again. That has nothing to do with how close to the trophy you may be.
 

lostcalpolydude

Developer
Staff member
Once again, I have no idea how your words relate to there being an advantage in counting the instances of the Fuzzies.

According to what you say, you'd switch to a good Fuzzy zone whenever the effect wears off and then go back to regular farming once the turtle shows up again. That has nothing to do with how close to the trophy you may be.
And you would be in that Fuzzy zone for the rest of the day* because you wouldn't get the effect any more, assuming you freed just enough turtles for the trophy, rather than in a regular farming zone.

I think there are more profitable ways to approach what you say there (set a 40 or so turn counter after getting the effect, use a counterScript to change zones), but it would have the same issue.

*Edit: or until you check the trophy hut
 
Last edited:

lostcalpolydude

Developer
Staff member
Every time you get the effect? It's possible to script, but probably more complicated than incrementing a preference and uses a server hit.
 

matt.chugg

Moderator
It's likely that at some point in the future there's going to be other reasons to track the number of times an effect has been acquired:

This patch adds in that functionality (I think!) and currently tracks the number of times cold-bloodied warm fuzzies is acquired in an ascension-resseting preference called coldBloodiedWarmFuzzies

It's completly untested so i'd appreciate someone who is in aftercore and capable of applying a batch to a local build, testing it, unless I finish my run, and get around to a tt run soon.

Code:
### Eclipse Workspace Patch 1.0
#P kolmafia
Index: src/net/sourceforge/kolmafia/session/ValhallaManager.java
===================================================================
--- src/net/sourceforge/kolmafia/session/ValhallaManager.java	(revision 9835)
+++ src/net/sourceforge/kolmafia/session/ValhallaManager.java	(working copy)
@@ -277,6 +277,7 @@
 		Preferences.setInteger( "guyMadeOfBeesCount", 0 );
 		Preferences.setBoolean( "guyMadeOfBeesDefeated", false );
 		Preferences.setInteger( "carboLoading", 0 );
+		Preferences.setInteger( "coldBloodiedWarmFuzzies", 0 );
 		Preferences.setInteger( "sugarCounter4178", 0 );
 		Preferences.setInteger( "sugarCounter4179", 0 );
 		Preferences.setInteger( "sugarCounter4180", 0 );
Index: src/net/sourceforge/kolmafia/session/ResultProcessor.java
===================================================================
--- src/net/sourceforge/kolmafia/session/ResultProcessor.java	(revision 9835)
+++ src/net/sourceforge/kolmafia/session/ResultProcessor.java	(working copy)
@@ -55,6 +55,7 @@
 
 import net.sourceforge.kolmafia.persistence.AdventureDatabase;
 import net.sourceforge.kolmafia.persistence.ConcoctionDatabase;
+import net.sourceforge.kolmafia.persistence.EffectDatabase;
 import net.sourceforge.kolmafia.persistence.ItemDatabase;
 
 import net.sourceforge.kolmafia.preferences.Preferences;
@@ -706,6 +707,9 @@
 		}
 		else if ( result.isStatusEffect() )
 		{
+			// Do special processing when you get certain effects
+			ResultProcessor.gainEffect( combatResults, result );
+			
 			shouldRefresh |= !KoLConstants.activeEffects.contains( result );
 			AdventureResult.addResultToList( KoLConstants.recentEffects, result );
 		}
@@ -1015,6 +1019,19 @@
 		}
 	}
 
+	private static void gainEffect( boolean combatResults, AdventureResult result ) {
+		switch ( EffectDatabase.getEffectId( result.getName() ) )
+		{
+			case EffectPool.COLD_BLOODIED_WARM_FUZZIES:
+				Preferences.increment("coldBloodiedWarmFuzzies",1);
+				break;
+				
+			default:
+				break;
+		
+		}
+	}
+	
 	private static void gainItem( boolean combatResults, AdventureResult result )
 	{
 		// All results, whether positive or negative, are
Index: src/net/sourceforge/kolmafia/objectpool/EffectPool.java
===================================================================
--- src/net/sourceforge/kolmafia/objectpool/EffectPool.java	(revision 9835)
+++ src/net/sourceforge/kolmafia/objectpool/EffectPool.java	(working copy)
@@ -99,6 +99,7 @@
 	public static final int CORSICAN_BLESSING = 460;
 	public static final int FORM_OF_BIRD_ID = 511;
 	public static final int COVERED_IN_SLIME_ID = 633;
+	public static final int COLD_BLOODIED_WARM_FUZZIES = 711;
 
 	public static final AdventureResult get( final int effectId )
 	{
Index: src/data/defaults.txt
===================================================================
--- src/data/defaults.txt	(revision 9835)
+++ src/data/defaults.txt	(working copy)
@@ -285,6 +285,7 @@
 user	chosenTrip
 user	clanAttacksEnabled	false
 user	cocktailSummons	0
+user	coldBloodiedWarmFuzzies 0
 user	counterScript
 user	concertVisited	false
 user	crimboTreeDays	7

As mentioned above, this is completly untested although it does compile.
 
Last edited:
Yeah, all 20 times in my character's entire lifetime. Not a huge deal. Probably less since I wouldn't lose track for at least a half-dozen or so.

I'm actually with you here, I just thought I'd ask on behalf of my friend (the real bordemstirs, I hijacked this account from her) because she wanted to know how far she was, I told her to just spend 1600 adventures and then start checking the hut.
 
It's likely that at some point in the future there's going to be other reasons to track the number of times an effect has been acquired:

This patch adds in that functionality (I think!) and currently tracks the number of times cold-bloodied warm fuzzies is acquired in an ascension-resseting preference called coldBloodiedWarmFuzzies

It's completly untested so i'd appreciate someone who is in aftercore and capable of applying a batch to a local build, testing it, unless I finish my run, and get around to a tt run soon.

Code:
### Eclipse Workspace Patch 1.0
#P kolmafia
Index: src/net/sourceforge/kolmafia/session/ValhallaManager.java
===================================================================
--- src/net/sourceforge/kolmafia/session/ValhallaManager.java	(revision 9835)
+++ src/net/sourceforge/kolmafia/session/ValhallaManager.java	(working copy)
@@ -277,6 +277,7 @@
 		Preferences.setInteger( "guyMadeOfBeesCount", 0 );
 		Preferences.setBoolean( "guyMadeOfBeesDefeated", false );
 		Preferences.setInteger( "carboLoading", 0 );
+		Preferences.setInteger( "coldBloodiedWarmFuzzies", 0 );
 		Preferences.setInteger( "sugarCounter4178", 0 );
 		Preferences.setInteger( "sugarCounter4179", 0 );
 		Preferences.setInteger( "sugarCounter4180", 0 );
Index: src/net/sourceforge/kolmafia/session/ResultProcessor.java
===================================================================
--- src/net/sourceforge/kolmafia/session/ResultProcessor.java	(revision 9835)
+++ src/net/sourceforge/kolmafia/session/ResultProcessor.java	(working copy)
@@ -55,6 +55,7 @@
 
 import net.sourceforge.kolmafia.persistence.AdventureDatabase;
 import net.sourceforge.kolmafia.persistence.ConcoctionDatabase;
+import net.sourceforge.kolmafia.persistence.EffectDatabase;
 import net.sourceforge.kolmafia.persistence.ItemDatabase;
 
 import net.sourceforge.kolmafia.preferences.Preferences;
@@ -706,6 +707,9 @@
 		}
 		else if ( result.isStatusEffect() )
 		{
+			// Do special processing when you get certain effects
+			ResultProcessor.gainEffect( combatResults, result );
+			
 			shouldRefresh |= !KoLConstants.activeEffects.contains( result );
 			AdventureResult.addResultToList( KoLConstants.recentEffects, result );
 		}
@@ -1015,6 +1019,19 @@
 		}
 	}
 
+	private static void gainEffect( boolean combatResults, AdventureResult result ) {
+		switch ( EffectDatabase.getEffectId( result.getName() ) )
+		{
+			case EffectPool.COLD_BLOODIED_WARM_FUZZIES:
+				Preferences.increment("coldBloodiedWarmFuzzies",1);
+				break;
+				
+			default:
+				break;
+		
+		}
+	}
+	
 	private static void gainItem( boolean combatResults, AdventureResult result )
 	{
 		// All results, whether positive or negative, are
Index: src/net/sourceforge/kolmafia/objectpool/EffectPool.java
===================================================================
--- src/net/sourceforge/kolmafia/objectpool/EffectPool.java	(revision 9835)
+++ src/net/sourceforge/kolmafia/objectpool/EffectPool.java	(working copy)
@@ -99,6 +99,7 @@
 	public static final int CORSICAN_BLESSING = 460;
 	public static final int FORM_OF_BIRD_ID = 511;
 	public static final int COVERED_IN_SLIME_ID = 633;
+	public static final int COLD_BLOODIED_WARM_FUZZIES = 711;
 
 	public static final AdventureResult get( final int effectId )
 	{
Index: src/data/defaults.txt
===================================================================
--- src/data/defaults.txt	(revision 9835)
+++ src/data/defaults.txt	(working copy)
@@ -285,6 +285,7 @@
 user	chosenTrip
 user	clanAttacksEnabled	false
 user	cocktailSummons	0
+user	coldBloodiedWarmFuzzies 0
 user	counterScript
 user	concertVisited	false
 user	crimboTreeDays	7

As mentioned above, this is completly untested although it does compile.

just bumping this because i came to the boards searching to see if anyone had a way to track how many times this had been attained. The functionality added above would be great if proven to work.
 
Top