PDA

View Full Version : Where is the script file for the party sheet?



alloowishus
July 18th, 2023, 20:26
I was thinking of modding it so add extra "bars" in the general info tab, can someone please point me to where the lua or xml file is for it? Thanks!

Moon Wizard
July 18th, 2023, 20:29
The files are usually in the "ps" folder within each ruleset.

Regards,
JPG

alloowishus
July 18th, 2023, 21:01
Got it thanks!

alloowishus
July 21st, 2023, 21:40
Strangely I made some mods to the ps_main.xml and now when I open the party sheet I get a popup but no error messages, just warnings. :(

Moon Wizard
July 21st, 2023, 22:03
Did you inject the extra controls into an existing party sheet, or creating a new party sheet for a system that doesn't have one?
Either way, you should look at 5E, 4E, 3.5E party sheets for examples.

Regards,
JPG

Trenloe
July 22nd, 2023, 07:40
Strangely I made some mods to the ps_main.xml and now when I open the party sheet I get a popup but no error messages, just warnings. :(
You won't get a popup if there are just warnings. Sometimes the popup can come up a few seconds after the actual error, and if you're putting debug in the console (or there's a lot of warnings) the error message won't be visible in the console. Open the console.log file and search backwards from the end of the file for error to see the last error reported.