More Hooks

All new ideas for the upcoming releases of ToME 4.x.x should be discussed here

Moderator: Moderator

Post Reply
Message
Author
HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

More Hooks

#1 Post by HousePet »

<HousePet> DarkGod, more hooks :P
<DarkGod> a bit vague dont you think ? :)
<HousePet> Will you pay attention if I give you details?
<DarkGod> HousePet, perhaps perhaps
<HousePet> Actor.lua postUseTalent could use a hook just before the burning hex check
<HousePet> preUseTalent isn't as bad, as it mostly just checks for loads of fail options
<HousePet> Could slip one in there for neatness
<HousePet> fortress energy is now a resource.... interesting
<HousePet> Also, getTalentFullDescription says that we may overload it
<HousePet> That's just naughty
<HousePet> A hook would be nice for easier insertions of resources to descriptions
<HousePet> As I can't see any option other than to overload the whole function
<DarkGod> =>forum :)
My feedback meter decays into coding. Give me feedback and I make mods.

Post Reply