For reference, here is the HTML for a normal charpane:
Code:
<tr><td><img src="http://images.kingdomofloathing.com/itemimages/mortarboard.gif" class=hand onClick='eff("93e8854157c14c46a1b27daa27f1350e");'></td><td valign=center><font size=2>Educated (Kinda) (2)</font><br></td></tr>
And here is the HTML for a compact charpane:
Code:
<tr><td><img src="http://images.kingdomofloathing.com/itemimages/mortarboard.gif" class=hand alt="Educated (Kinda)" title="Educated (Kinda)" onClick='eff("93e8854157c14c46a1b27daa27f1350e");'></td><td>(2)</td></tr>
I think CharpaneDecorator.addUpArrowLinks() could stand to be refactored; when I noticed I had the "Educated (Kinda)" effect recently from my hookah, I played around with this, but did not come up with a solution which worked for both kinds of charpanes. I considered refactoring the method to make it easier, but gave up, since I really don't have time to code KoLmafia right now.