As per title: a very rough and dirty fix for the classic version of the interface.
Unwanted buffs can now be removed by clicking on their icons (just icons, nothing for the text version).
Made mainly for personal use but perhaps it might benefit someone else.
Not quite checked for bugs. "Seems to be working for me" is all the guarantee I can give.
Edit: and here it is:
http://te4.org/games/addons/tome/classi ... e-quickfix
Edit 2: Updated to b42 (a while ago) but it is also available as a part of slightly bigger mod:
http://forums.te4.org/viewtopic.php?f=50&t=34521
[b41] Classic ui right click buff remove quickfix
Moderator: Moderator
[b41] Classic ui right click buff remove quickfix
- Attachments
-
- tome-classic-ui-right-click-b41.zip
- Change extension to teaa.
- (5.01 KiB) Downloaded 96 times
Last edited by Regalion on Thu Aug 23, 2012 6:31 pm, edited 2 times in total.
-
- Archmage
- Posts: 379
- Joined: Tue Nov 11, 2003 10:54 am
- Location: Wroclaw/Poland
Re: [b41] Classic ui right click buff remove quickfix
Great!
I had problems with the canceling of buffs. Can You tell, what had to be done to fix the problem?
Maybe it could be integrated into the main branch of the game?
Cheers.
I had problems with the canceling of buffs. Can You tell, what had to be done to fix the problem?
Maybe it could be integrated into the main branch of the game?
Cheers.
Re: [b41] Classic ui right click buff remove quickfix
Sure, although all I did was copy the behavior from minimalist ui into
I changed two signatures.
They are backwards-compatible in the way that setting allow_remove to false or not setting it at all invokes the old functionality.
Also, it's left-click removal, not right click. My bad.
For now I guess I'll go pray to darkgod so that I can post the fix on the site and you can use it with your online profile.
Code: Select all
mod.class.PlayerDisplay
Code: Select all
function _M:handleEffect(eff_id, e, p, ex, h, allow_remove)
function _M:makeEntityIcon(e, tiles, x, y, desc, gtxt, frame, allow_remove, eff_id, name, player)
Also, it's left-click removal, not right click. My bad.
For now I guess I'll go pray to darkgod so that I can post the fix on the site and you can use it with your online profile.