PDA

View Full Version : Developer Notes - 2022-08 Ruleset Updates



Moon Wizard
August 5th, 2022, 22:05
We are continuing to work on general ruleset updates, as well as a specific push to allow 5E modules to be fully built within FG campaigns. 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: I've only documented the specific rulesets affected for rulesets sold in the FG store or installed by default. Any updates for rulesets provided via FG Forge or other sources (or any extensions) will need to look at the general bullet points for suggested updates.

Regards,
JPG

Moon Wizard
August 5th, 2022, 22:12
Ruleset/Extension - Suggested Maintenance Updates

* Remove definitions for common resources moved to CoreRPG that do not need to be overriden.
(base, dash, lvl, level, hp, hitpoints, ac, armorclass, cr_label_hptemp, ct_label_nonlethal, ct_label_wounds, ct_label_status, ct_tooltip_hptemp, ct_tooltip_nonlethal, ct_tooltip_wounds, ct_tooltip_size, ct_tooltip_reach)

* Review new combat tracker templates and logic in CoreRPG/5E to see if you should use. Subwindows improves performance and reduces control overhead when not needed.

Moon Wizard
August 5th, 2022, 22:22
Code Changes

CoreRPG

Global Scripts: LibraryData, UtilityManager
Scripts: ct/scripts/client_ct_entry, ct/scripts/ct.lua, ct/scripts/ct_effect_summary.lua, ct/scripts/ct_entry.lua, ct/scripts/ct_target_summary.lua
Window Classes: client_ct_entry, ct_entry, combattracker_client, combattracker_host, vehicle_header


5E

Global Scripts: ActionAttack, ActionDamage, ActionSave, ActorManager5E, ItemManager2, LibraryData5E
Scripts: campaign/scripts/item_main.lua, ct/scripts/client_ct_entry, ct/scripts/ct.lua, ct/scripts/ct_entry.lua
Templates: number_charwounds
Window Classes: client_ct_entry, ct_entry, combattracker_client, combattracker_host, item, npc_combat, ref_classfeature_stats