Skip to content

Fen's NPC Portraits v2.0

Compare
Choose a tag to compare
@bakermd86 bakermd86 released this 18 Feb 17:51
· 24 commits to master since this release
f5a6e2c

Made numerous changes to the underlying functionality in order to improve performance and handle a variety of edge cases.

New features:

  • Improved support for NPCs from modules
  • More reliable handling of dice rolls
  • Support for middle-clicking on hidden dice rolls to reveal them to players (with portrait)

Performance improvements were made by creating dummy portraits only for records at the time of their use. Instead of creating all portraits at load time (which can substantially slow down loading if lots of modules are being used) portraits are created in the following instances:

  1. When activating an NPC as a speaker in the GM Indentities
  2. When adding an NPC to the combat tracker
  3. Whenever a roll chat message is produced which contains a valid sCreatureNode attribute