Page 1 of 1

List sustained talents / effects on left sidebar

Posted: Tue Jun 22, 2010 8:59 pm
by CheapyPipe
Listing the sustained talents and things affecting you on the sidebar would be useful. They're already listed on the 'C'haracter screen but I'm running into the point where I'm running out of space on the first talent page (bottom right), and it would be useful to be able to see which talents are being sustained without having to switch talent pages. I know I would end up forgetting to put some back on. :)

Adding the effects is just the logical next step for this.

Re: List sustained talents / effects on left sidebar

Posted: Tue Jun 22, 2010 9:36 pm
by Shoob
you could add this:

Code: Select all

	h = h + self.font_h
	self.surface:drawColorString(self.font, "#LIGHT_BLUE#Current effects:", 0, h, 255, 255, 255) h = h + self.font_h
	for tid, act in pairs(game.player.sustain_talents) do
		if act then self.surface:drawColorString(self.font, ("#00ff00#%s"):format(game.player:getTalentFromId(tid).name), 0, h, 255, 255, 255) h = h + self.font_h end
	end
to line 93 of PlayerDisplay.lua (in tome/class) if you want it now.

(it has to go before the zone/level if statement)