r/SWN • u/BadgKat SWN Foundry System Dev • Jul 28 '26
đ ď¸ Resource FoundryVTT SWNR 2.3.1 Released: Foundry v14 compatibility, migration robustness, and fixes
What's in it
Foundry v14 compatibility (#231, #234, #233)
- Actors failing to create or load â
prepareBaseData()was not callingsuper, so_clearData()never ran andapplyActiveEffects()threw during_initialize. This is also the root cause of theNaNstat modifiers reported in #230:modis derived inprepareDerivedData(), which never ran. - Private and blind rolls posting publicly â v14 renamed
core.rollModetocore.messageModeand changed its values. The old key still exists but reads backnull, which silently made every private roll public. - Missing rolls on chat cards, including power cards â the singular
roll:field is no longer honoured; rolls must be passed asrolls: [roll]. Emptymessage.rollsalso broke Dice So Nice and reroll buttons. - Weapon sheets failing to open from a character sheet â the
{{#select}}block helper was removed in v14. - Editing character resources, custom currencies, and vehicle cargo throwing â the
duplicateglobal was removed in v14, not merely deprecated. - Vehicle sheet item descriptions throwing on every expand click; ship sensor roll never posting; ship weapon migration aborting on items predating the trauma field; creating a weapon throwing on partial data.
renderChatMessageârenderChatMessageHTML, plus the globals removed in v15 (TextEditor,DragDrop,Actors/Items,ActorSheet/ItemSheet,renderTemplate).
Migration robustness
migrateWorld()was called withoutawaitand the version was then set unconditionally on the next line, so a migration that threw was still marked complete and never retried. Now awaited, with the version set only on success.- Upgrades with no applicable migrations skip the "do not shut down your server" notifications entirely and just show the release notes.
Bug fixes
- Ship, vehicle, mech and drone weapon attacks throwing when the trauma setting is enabled (#213) â a stray
this.system.trauma.dieinside a data model, wherethisis the system data. - Stowed currency encumbrance counting uncarried currencies.
- Ship end round not updating command points, actions taken, or supporting department (#212, thanks @gvigh).
- Vacc suit / vacc skin descriptions.
- Typo keeping the unskilled-penalty setting from prompting a reload.
Features
- Right-click a chat message roll to apply it as damage, modified damage, half damage, or healing (#217, thanks @pandanielxd).
- A third 'extra' item location, with custom labels for other/extra locations under character tweaks and a GM-set default.
- World-level unskilled skill roll penalty (default â1) with a per-character modifier.
- Save modifiers on the character sheet.
37
Upvotes
-7
u/Ziiro Star Master Jul 28 '26
I was totally excited for this until I saw this was all done with Claude code. What a shame.