Skip to content

Updated cprActor crit inj item card rendering

Norman Briggs requested to merge cruxis/critical_injury_permissions_956 into master

Intent

Fix issue with players being unable to access critical injury item sheet due to GM-ownership restrictions on Mook/Actors


  • This is meant for a hotfix
  • This is meant for the next release (see milestone)
  • This needs more reviewers than normal; there may be controversy or high complexity
  • This intentionally introduces regressions that will be addressed later
  • There is/will be documentation changes on the wiki
  • Please do not send commits here without coordinating closely with the owner
  • This is a Build System change

Related Issues

Steps to Test

  1. Checkout and build
  2. Create gamemaster and player account for world
  3. Create mook or other GM-owned only actor
  4. Roll for a critical injury as GM and have chat display critical injury card
  5. Log out and log in with player account
  6. Try to access link to critical injury, this should open the compendium entry instead of item on mook/actor sheet

Future Work

Currently accessing the RenderRollCard function that requires actor and item ID for proper rendering. I did not remove these to avoid building yet another function and there may be a use for this information in the future for critical roll cards.

Additional Notes

None

Merge request reports