Character Info Toolbox

Thanks for reporting it. I'll work on that when I have some time. :)

Low priority stuff, but it is bad for it to look like sh*t.
 
I noticed a bug after I just ascended. When I click on my HP to autorecover, if autorecovery fails, the character info pane reverts to the standard one and I have to reload game.php. I use Universal_Autorecovery, so I'm not sure if it has to do with that.
 
I noticed a bug after I just ascended. When I click on my HP to autorecover, if autorecovery fails, the character info pane reverts to the standard one and I have to reload game.php. I use Universal_Autorecovery, so I'm not sure if it has to do with that.

Autorecovery failing puts mafia into an abort state, which prevents relay override scripts from running. If there is something to be changed, it's with mafia.
 
Recently improved chit's handling of not having a familiar. (A state I briefly occupy at the end of each Boris run.) I'll roll that out soon, so if it the cosmetic bug has been bothering anyone they can relay about it. First though I'm trying to fix the below report. If anyone can find the source of the bug (and if possible, offer a fix) I would be grateful.


Three minor bugs. When you only have one instrument for Clancy, when clicking on the instrument to change it, it shows this:

Code:
You don't have any equipment for your none.

Poor

You don't have any equipment for your none.

Poor

The fact that it shows it twice is a bug, the fact that is says "for your none" is a bug and the fact that it says Poor without a name is a bug.
 
Around line 1324, should be changed to this (I think, I can't test it because I have all the instruments)
Code:
	if(myPath == "Avatar of Boris") {
			addLoader("Changing Instrument...");
			pickClancy();
			addSadFace("You don't have any extra instruments for Clancy.");
	}
	else
	{
	
		switch (myfam) {
			case $familiar[Mad Hatrack]:
				addLoader("Changing Hats...");
				pickSlot("hats");
				addSadFace("You don't have any hats for your " + myfam + ".");
				break;
			case $familiar[Fancypants Scarecrow]:
				addLoader("Changing Pants...");
				pickSlot("pants");
				addSadFace("You don't have any pants for your " + myfam + ".");
				break;
			case $familiar[disembodied hand]:
				addLoader("Changing Weapons...");
				pickSlot("weapons");
				addSadFace("You don't have any weapons for your " + myfam + ".");
				break;
			case $familiar[comma chameleon]:
				addLoader("Changing Equipment...");
				pickChameleon();
				addSadFace("You don't have any equipment for your " + myfam + ".");
				break;
			default:
				addLoader("Changing Equipment...");
				pickEquipment();
				addSadFace("You don't have any equipment for your " + myfam + ".");
		}
	}
 
Updated to 0.6.3.2
  • Fixed cosmetic bug when you don't have an instrument for Clancy.
  • Fixed cosmetic bug when you aren't using any familiar.
  • Code cleanup in Aisle 5.
 
I love CHIT, but one thing that bothers me is that there is no mini icon near the number of turns left or near the meat, or alternatively any kind of label to indicate what the values are. I am constantly spending too much time seeking on the panel for the number of turns left.

Do you think it might be possible to add a small modification or configuration setting to add something in for that?
 
The hover text informs you of their purpose, but it did confuse me also when I stated to use Chit. I agree that would be a nice improvement for new users or old users that think things should be labeled clearly.

I'll probably add that. Thanks for the suggestion.
 
Updated to 0.6.3.3
  • Icons added for meat and turns.


Captain Kirk's suggestion has been implemented. I am happy with the results, though uncertain if my implementation is ideal. My lack of CSS/HTML experience shows. (lines 2611-2617)
 
Last edited:
I wasn't 100% happy with my last update so I altered the stylesheet and fixed the code a bit. Also fixed some awkwardness with the space under the character's level.

You'll need to download the entire zip file for the changes since I also changed the stylesheet. Changed files are chit.css and charpane.ash


Updated to 0.6.4
  • Improvements to last change
  • Changes to stylesheet
 
Last edited:
Okay, I fixed the problem with not recognizing your character pane in Bad Moon. I also fixed a few other formatting issues, especially a bug where a long name for your last visited location caused progress bars to get cut off. Some of these fixes have made the charpane load a lot more smoothly.

You'll need to download the entire zip file for the changes since I also changed the stylesheet. Changed files are chit.css and charpane.ash


Updated to 0.6.5
  • Fix for not having a terrarium
  • Fix for long names of last location
  • More tidying of code
  • Changes to stylesheet
 
I am glad people like my updates. This is a tough script for me to maintain/improve since I have very little experience with html/css. As a result I need to reference often for even small changes. I'm currently working on small CSS improvements, moving more of the table styling into the stylesheet. I'm learning a lot from that and improving rendering speed as a result.

If anyone notices a better way to do anything in this script, please let me know so that I can improve both the script and my own understanding. For instance in the following code:

Code:
	result.append('<td colspan="2"><table class="resource"><tr>');
	result.append('<td title="Meat">' + formatInt(my_meat()) + '</td>');
	result.append('<td title="Meat"><img src="/images/itemimages/meat.gif"></td>');
	result.append('<td style="width:100%"> </td>');
	result.append('<td title="Adventures remaining">' + my_adventures() + '</td>');
	result.append('<td title="Adventures remaining"><img src="/images/itemimages/hourglass.gif"></td>');
	result.append('</tr></table></td>');

Is there a better way to space out meat and remaining adventures to the far ends of the row? The method I found works, but I feel it is a little kludgy to stick an empty cell between meat and adventures.
 
Back
Top