Character Info Toolbox

Bale

Minion
Those should work beautifully.

Now I've got to figure out the most aesthetic way to add them to the interface.

What do people think? Should this be a new brick? Should I add an icon somewhere? Where would be good? I am eagerly taking suggestions!
 

ckb

Minion
Staff member
Been refactoring the tracker brick. Lots of code changes, but only a few functional changes, so I'm posting my current version here to allow ckb to synchronize with me in case he's making any interesting updates.

Bale - one error in your update. For L11: questL11Pyramid, line 3239, you forgot the header for the quest info.
We need to add 'result.append("<tr><td>");' to line 3240


PHP:
	if (started("questL11Pyramid")) {
		result.append("<tr><td>");	
		if ( !($strings[step11, step12, finished] contains get_property("questL11Pyramid")) ) {
 

Bale

Minion
Already found that problem and completely rewrote the whole section to make it more helpful. :D It now looks like this:

PHP:
	//L11: questL11Pyramid
	if(started("questL11Pyramid")) {
		string questL11Pyramid = get_property("questL11Pyramid");
		result.append("<tr><td>");
		// Header
		switch(questL11Pyramid) {
		case "started":
			result.append('Find the Oasis at the <a target="mainpane" href="beach.php">Desert</a>');
			break;
		case "step11":
		case "step12":
			result.append('Kill Ed in the <a target="mainpane" href="pyramid.php">Pyramid</a>');
			break;
		default:
			result.append('Find the pyramid at the <a target="mainpane" href="beach.php">Beach</a><br>');
		}
		// Step-by-step
		switch(questL11Pyramid) {
		case "step1":
		case "step4":
		case "step5":
			result.append("Explore the Desert");
			break;
		case "step2":
			result.append(item_report($item[stone rose], "stone rose, "));
			result.append(item_report($item[drum machine], "drum machine, "));
		case "step3":
			result.append(item_report($item[black paint]));
			if(questL11Pyramid == "step3")
				result.append("Explore the Desert");
			break;
		case "step6":
		case "step7":
		case "step8":
			result.append(item_report($item[worm-riding manual page 1], "Page 1,"));
			result.append(item_report($item[worm-riding manual page 2], "Page 2, "));
			result.append(item_report($item[worm-riding manual pages 3-15], "Pages 3-15"));
			break;
		case "step9":
			result.append(item_report($item[drum machine], "drum machine, "));
			result.append(item_report($item[worm riding hooks]));
			break;
		case "step10":
			result.append('<a target="mainpane" href="beach.php?action=woodencity&pwd='+my_hash()+'">Ride the Worm !</a>');
			break;
		// Open the Bottom Chamber of the Pyramid
		case "step11":
		case "step12":
			if(get_property("pyramidBombUsed")=="false") {
				result.append("<br>");
				if(get_property("lastPyramidReset").to_int()==my_ascensions()) {
					if(item_amount($item[ancient bomb])==0) {
						result.append(item_report($item[ancient bronze token]));
					} else {
						result.append(item_report($item[ancient bomb]));
					}
				} else {
					result.append(item_report($item[Staff of Fats], "Staff of Fats, "));
					result.append(item_report($item[ancient amulet], "amulet, "));
					result.append(item_report($item[Eye of Ed], "Eye of Ed"));
				}
			}
		}
		result.append("</td></tr>");
	}
 
Last edited:

ereinion

Member
The familiar image of the happy medium seems to break when she progresses past image one (i.e. "medium_0.gif"). When not using chit, I get the image in my charpane just fine. Is this something you can easily fix?
 

Sentrion

Member
Now I've got to figure out the most aesthetic way to add them to the interface.

What do people think? Should this be a new brick? Should I add an icon somewhere? Where would be good? I am eagerly taking suggestions!
My vote is to make it a pop-up dropdown (if that makes sense...) using the character icon. Like the pop-up for familiar switching.

Also, I know it's way early and this hasn't even been implemented in mafia yet, but I assume there are eventual plans to add Florist support? That would be super duper awesomesauce.
 

Bale

Minion
Thanks for the suggestion. The problem is that I like being able to click on the character image to go to my character page. :( Where else would you want to put that?


The familiar image of the happy medium seems to break when she progresses past image one (i.e. "medium_0.gif"). When not using chit, I get the image in my charpane just fine. Is this something you can easily fix?

In the zip file there are images. Copy those images to /images/relayimages/chit and your problem will be fixed.


Also, I know it's way early and this hasn't even been implemented in mafia yet, but I assume there are eventual plans to add Florist support?

Ummm... Nope. No plans at all. I added the florist to my topmenu and he's pretty happy there. Why would it be in the charpane?
 

Sentrion

Member
Thanks for the suggestion. The problem is that I like being able to click on the character image to go to my character page. :( Where else would you want to put that?
I currently use it that way, too, but I noticed that clicking on my name takes me to the same page, so I was thinking I could get used to that.

Ummm... Nope. No plans at all. I added the florist to my topmenu and he's pretty happy there. Why would it be in the charpane?
I figured since Last Location(s) is in the charpane, then the Florist should be there, too. In case I wasn't clear, I don't mean just a simple link to the Florist. I was thinking the three flower boxes could be a brick, and you could, again with pop-up boxes, click on one and set the flower you wanted.
 

ereinion

Member
In the zip file there are images. Copy those images to /images/relayimages/chit and your problem will be fixed.
Whoops - silly me. For some reason I thought it used kolmafia's image-cache :p I should have remembered it had its own folder :) Thanks for your help!
 

Bale

Minion
Updated to 0.8.2
  • More tracker brick improvements. It's really helpful now at tracking your place during long quests.

Since version 0.8.1, only charpane.ash has been changed.
Download to /relay directory: View attachment 7606
 

O_3_141592

New member
If chit.quests.hide is set to true then the charpane won't show the quest log, even if there is a quest brick listed in ChIT's preferences.

Chit.ReadMe.txt said:
chit.quests.hide: Don't display Quest Nudges when you don't have any active quests

Does anyone use this?

I do.

Also: I just tried the tracker for the first time. Really nice, I like how compact it is. Some minor things I feel could be improved:

  • The largest item for me currently is the Azazel Quest, but I do not plan to do that quest. Could it be displayed only if the player actually starts the quest?
  • In the old quest tracker the names of the cyrpt subzones are links to the subzones. Could this be added?
  • Related: I always forget which subzone is item, init, etc. Maybe this info can be added as a tooltip?

...Time passes...

Decided that I could as well try to do these changes myself. Result attached.

Since the code for the steel item quest looked like it deliberately behaved as it did, I added a preference "chit.tracker.steel". Default of "true" gives the old behaviour, setting it to "false" displays the quest only if it has been started.
 

Attachments

  • charpane.ash
    144.9 KB · Views: 28

AlbinoRhino

Active member
I agree on the steel organ quest. I never do that one either, and it would be nice not to have to see it in the tracker.
 

Bale

Minion
@O_3_141592, I just removed that feature today since nobody had responded negatively in the last 6 days... I'll probably make it work that way by default since you pointed that out.


The largest item for me currently is the Azazel Quest, but I do not plan to do that quest. Could it be displayed only if the player actually starts the quest?

That seems both reasonable and simple. Done.


Related: I always forget which subzone is item, init, etc. Maybe this info can be added as a tooltip?

That isn't an unreasonable request either. I've added it to my local copy.


In the old quest tracker the names of the cyrpt subzones are links to the subzones. Could this be added?

Right now the tracker has a principle of not getting you into a fight by clicking on any of the links. They all take you to container documents so you'll have to be satisfied with 2 clicks instead of one. I don't think it is a good idea to change that.
 

lostcalpolydude

Developer
Staff member
In the Oil Peak section, I ended up with a square instead of μ, so I changed it to μ to fix that.

I ended up changing "done" for a quest item drop from green to blue since my partial colorblindness makes green and red text hard to distinguish.

There is currently no line break between the pyramid quest header and the list of items needed.
 

gemelli

Member
I'm loving CHIT. Thanks so much for taking the time to maintain it.

One request: I am an old-fashioned man who fears change, and I'm holding onto the "quests" brick because I'm simply more used to it than the tracker brick. I noticed that in 0.8.2, if you have no active quests, you lose both the quests brick *and* the quests link on the toolbar. This leaves me no way to get to the quests page that I can see.

I can code around the case manually if I'm the only one who still uses that brick, but thought you might like to know :)
 

InfiniusDev

New member
I'm loving CHIT. Thanks so much for taking the time to maintain it.

One request: I am an old-fashioned man who fears change, and I'm holding onto the "quests" brick because I'm simply more used to it than the tracker brick. I noticed that in 0.8.2, if you have no active quests, you lose both the quests brick *and* the quests link on the toolbar. This leaves me no way to get to the quests page that I can see.

I can code around the case manually if I'm the only one who still uses that brick, but thought you might like to know :)

+1 for being sad to not see the quests link anymore.
 

Bale

Minion
I asked for comments about that change nearly a week before implementing without any negative response. Whelp, now I know. Gemelli has taken good care of me in the past and since he loves this script I'm going to put it back the way he liked it.
 

InfiniusDev

New member
I asked for comments about that change nearly a week before implementing without any negative response. Whelp, now I know. Gemelli has taken good care of me in the past and since he loves this script I'm going to put it back the way he liked it.

As a dev, I'm ashamed to be the type of user I hate.. didn't look at the upcoming build notes, and only complained after the fact! I'll admit to not having kept up with updates lately.

Thanks for all the work that goes into the upkeep!
 

Magus_Prime

Well-known member
I agree on the steel organ quest. I never do that one either, and it would be nice not to have to see it in the tracker.

I just started using the tracker brick and I would like to add my vote to, if possible, have some way to suppress certain quests from appearing in the brick.
 

ckb

Minion
Staff member
Perhaps we can have a switch for on/off based on which type of quest it is for the tracker brick. Level Council quests are always on. Options for switches based on the current quest trackers headings. I don't recall them all now, but they include Guild, Item, Sea, etc.
 
Top