Hey all, I thought it might be helpful if characters could be collected into modules, like the pregenerated characters we all know and love from various paper rulesets and modules. However, since the RMC ruleset was not originally based on the CoreRPG ruleset, it does not have the pregencharselect window class or its associated capabilities. I looked at the CoreRPG capability, and while it works, it doesn't provide much in the way of previewing in the selection window.
I know Dakadin is working on revamping the RMC ruleset to be based on the CoreRPG ruleset, so I thought I would present an interim solution while he is head down and busy on that project. To that end, here is an extension to the RMC ruleset along with a couple of simple test/demonstration modules.
One thing I would like some help with is learning how to limit the results in the selection window. With one of the modules activated, clicking on the link to pull up the list of pregenerated characters in the module's reference text presents just the characters for that module. With both modules activated, clicking the link in either module presents a selection list including the characters from both modules. While the enclosing XML tags are named the same, the modules are not, and the link "recordname" attribute specifies the module name.
I remember reading something about presenting data from multiple versus a single module somewhere in the forums over the last several days, but I can't find it again.
[EDIT] I replaced the original test modules 1 and 2 with version number set to "2.9" instead of "1.0", thinking that might fix the issue based on this document: https://www.fantasygrounds.com/refdoc/
I also added a 3rd test module to demonstrate that changing the character collection tag from "pregens" to something else, like the campaign tag of "charsheet", alleviates the issue. Idealistically, I think that should be unnecessary.
[EDIT 2] I realized there was an error in module 3, and it is now corrected.
[EDIT 3] A little more testing revealed a bug with the player display. the copy button was visible though non-functional for players. A simple fix was to add the <gmvisibleonly /> tag to the button! The new version of the extension has replaced the old version.
[EDIT 4] I removed the originally posted version of the extension to minimize confusion. The final version can be found here: https://www.fantasygrounds.com/forum...cter-Extension