
Adding the effects is just the logical next step for this.
Moderator: Moderator
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