League of Extraordinary FoundryVTT Developers
Join the League of Extraordinary FoundryVTT Developers server to ask questions!
JoinLeague of Extraordinary FoundryVTT Developers
Join the community to ask questions about League of Extraordinary FoundryVTT Developers and get answers from other members.
Joincommissions
package-development
system-development
other-topics
workgroups
development
package-ideas
package-compatibility
pixijs-canvas-shaders
progress-reports
dev-guides-and-docs
ui-ux-sheets-forms
hooks
development-basics
manifest-plus
tools-and-workflow
active-effects
wiki
dnd5e-dev
package-stewardship
swade-dev
typescript
starfinder-dev
lancer-dev
pathfinder1e-dev
foundryvtt-v10-research
coc7-dev
a5e-dev
v10-updatathon
svnsea2e-dev
package-jam-2022
blackflag-dev
api-announcements
Importing an npm package into a foundry system
(Paid) System Dev Assistance
how to handle items and effects?
Advice on the general programming model a system should follow
Model (document) | View (html/hbs templates) | ViewModel (sheets)
or should I think of it as something else? I've seen some docs referring to sheets as applications, in which case maybe the mvvm comparison is not totally valid but perhaps it still is. ...Advice for compendium data in a custom system
.db
files for their packs data https://github.com/foundryvtt/dnd5e/tree/master/packs...Dialog Box Auto-Closing Upon Opening 2nd Time
Actor collision
Actor attributes update on player's side
Sort items
How do I specify an Array in my template.json?
Is is possible to create/change Foundry's document types?
ERROR: actors is not a valid embedded Document within the Token Document
![No description](https://cdn.answeroverflow.com/1159715112094023751/image.png)
How to trigger "hotbarDrop" with element that are not "Item" ?
Is there a starter system based on the v10 DataModel?
Am I approaching character data updates incorrectly?
core
and modules
directory where core
handles all of the critical functions of the base system and the modules
are additional systems that can be included or excluded at the whim of the GM (things such as psionics, magic, super powers, future technology, etc). To handle how these things interact, I've created a PcDataCalculator service to which modules may register their data calculation steps and dependencies ( in 5E terms, this would be like the Magic module registering the formula for determining a Wizard's number of prepared spells and indicating it's dependent on class-levels and intelligence. This whole process is intended to run as part of the actor's PrepareData function.
The challenge I think I will run into is ActiveEffects. If active effects are run before this process, then an active effect impacting intelligence will cause prepared spells to be calculated correctly, but one that increases prepared spells by a value dependent on the subtotal value of prepared spells (such as 'double the number of prepared spells you can cast') would not work correctly.
If run afterwards, I'd have the opposite problem.
...Limit portions of character sheet to Owner/GM only
![laughing](https://cdn.discordapp.com/emojis/669517192370454539.gif)
Blind chat message is public instead since v11
Giving a system "Per World" options
How to - Internal Compendium Pack References