PDA

View Full Version : Developer Notes - 2025-04 Ruleset Updates



Moon Wizard
March 21st, 2025, 19:28
Planned Release Date: April 22 2025

We are continuing to work on general ruleset updates. See the main ruleset beta thread for the summary of the updates.

In order to support ruleset and extension developers, I have made a number of notes regarding changes that should be made to bring rulesets and extensions in-line with changes to ones we directly maintain.

NOTE 1: This update is part of continuing push to standardize UI for consistency for users, as well as improve theming support.

NOTE 2: I've only documented the specific rulesets affected for rulesets sold in the FG store or installed by default. Any updates for rulesets/extensions provided via FG Forge or other sources will need to look at the notes below for suggested updates.

Regards,
JPG

Moon Wizard
March 21st, 2025, 19:30
Ruleset/Extension - Suggested Maintenance Updates

Changes (including ruleset-specific change notes) are now documented on the wiki, in order to improve historical access to change information.
https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/2179694626/Developer+Guide+-+Historical+Change+Guide

Included Rulesets Updated: CoreRPG, 3.5E, 4E, 5E, PFRPG, SFRPG, PFRPG2/SFRPG2, Cypher, FATECore

Store Rulesets Updated: 13A, AFF2E, BoL, BRP, CoC6, CoC7, Conan, d20Modern, Dune, Fallout, FT, ICONS, ICRPG, M&M, RMC, Shadowdark, Symbaroum, Traveller, Vaesen, WoD, WoiN

To Be Updated: 2E, CPR, DCC/MCC, E20*, SW/SWPF, SotDL, STA,

Moon Wizard
March 21st, 2025, 19:41
LuaCheck Configuration
As part of this release, I have been trying out LuaCheck to help syntax checking for scripts. Depending on the amount of time it takes to update, this may not be something I do long term. However, I wanted to post what I've done, since I posted for some developers over on Discord.

Attached is a LuaCheck configuration file that was used on CoreRPG and 5E code bases that can be used to compare against community extension code.

I set up LuaCheck in a folder on my Desktop containing the luacheck executable and the configuration file; then I run these command lines.


luacheck --config fg_luacheckrc.txt C:\Users\John\Dev\FGDLC\CoreRPG\rulesets\CoreRPG -r --exclude-files *.xml --exclude-files *.txt > CoreRPG_luacheck.txt 2>&1
luacheck --config fg_luacheckrc.txt C:\Users\John\Dev\FGDLC\5E\rulesets\5E -r --exclude-files *.xml --exclude-files *.txt > 5E_luacheck.txt 2>&1

Moon Wizard
March 24th, 2025, 20:12
Added Developer Change Notes to wiki; and updated LuaCheck config.

Moon Wizard
April 1st, 2025, 00:40
Minor updates to wiki/config.

Moon Wizard
April 15th, 2025, 20:40
Updates to LuaCheck config.