I would like to replace the default log text that displays when a character makes a successful attempt to identify a trap. Right now, the log reads something like
Take 20 : Tira Trapspotter : Examine Trap : *success* : (20 + 26 = 46 vs. DC 29). I would like to replace that with something that notes the name of the trap examined, as well, e.g.
Take 20 : Tira Trapspotter : Examine Trap : *success* : (20 + 26 = 46 vs. DC 29) :
Fire Trap, Deadly.
(I know that the trap name shows up in the examine widget that displays. I want it in the log as well.)
I guess there are two parts to this that aren't clear to me. First, how do I hook the examine trap event? Getting to the disarm event is easy, but I am not seeing an analog to OnDisarm that fires when a trap is examined. Second, how do I replace the text that normally appears with the text I would like to appear? Obviously, it would be better if both didn't show up. ;-)
Modifié par MrZork, 16 juillet 2012 - 11:25 .