Bug - Fixed When Ralph is freed, path should be cleared

Bale

Minion
I've freed King Ralph. Yet mafia still believes that I still cannot equip weapons.

Code:
[COLOR="olive"]> ash can_interact()[/COLOR]

Returned: true

[COLOR="olive"]> ash my_path()[/COLOR]

Returned: Way of the Surprising Fist

If I refresh session...

Code:
Refreshing session data...
Loading character status...
Synchronizing moon data...
Retrieving character data...
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Retrieving familiar data...
Familiar data retrieved.
Retrieving campground data...
Refreshing storage...
Examining meat in storage...
Examining consumables in storage...
Examining equipment in storage...
Examining miscellaneous items in storage...
Pulling items from storage...
Session data refreshed.

[COLOR="olive"]> ash my_path()[/COLOR]

Returned: None


Refreshing the session will reset the path information in mafia, but it should not be necessary.
 
Last edited:

lostcalpolydude

Developer
Staff member
GenericRequest has
Code:
		if ( urlString.startsWith( "lair6.php" ) && urlString.indexOf( "place=6" ) != -1 )
		{
			KoLCharacter.setHardcore( false );
			KoLCharacter.setConsumptionRestriction( AscensionSnapshot.NOPATH );
		}
It seems like setConsumptionRestriction() could be replaced with
Code:
KoLCharacter.setPath( "None" );
which would set consumption at the same time.

This would also allow removing the check for kingLiberated() in inBeecore() and inFistcore(), I think.
 
Top