mfi
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 12/9/2023 in #system-development
Importing an npm package into a foundry system
Browserify was just the easiest thing to instanty use without any config. I haven't worked with Vita but might take a look.
13 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 12/9/2023 in #system-development
Importing an npm package into a foundry system
I've had some files that refused to be imported when referenced, even when within the modules folder. I was following the same export pattern, haven't been able to deduce why it was occurring.
13 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 12/9/2023 in #system-development
Importing an npm package into a foundry system
For the time being, and since this system is more home-brew than anything, I am going to go with a browserify setup. I was under the impression that FoundryVTT would (in its backend) handle hosting npm code up as necessary to the frotnend, but I was wrong. Oh well
13 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 12/9/2023 in #system-development
Importing an npm package into a foundry system
@Eranziel Thank you for the pointers/advice
13 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 11/13/2023 in #system-development
Dialog Box Auto-Closing Upon Opening 2nd Time
We decided to go forward using prompt() for the time being
9 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 11/13/2023 in #system-development
Dialog Box Auto-Closing Upon Opening 2nd Time
Can anyone assist with this? We've been stuck for over a month which means we aren't gettign the value out of the product. Here's the code so that you can repeat the issue:
9 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 11/13/2023 in #system-development
Dialog Box Auto-Closing Upon Opening 2nd Time
@Farling That's possible - I'm not familiar with how the internals work in terms of scoping. However, the FIRST render stays in-scope. Why would the second one suddenly not?
9 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
I dont have that link permissions, but based on our debugger explorations, I concur. We cant hit a breaking point. Its internal to common.js and foundry.js.
Ive recloned etc and had same issues.
21 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
21 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
it's a CSCharacterActor, which inherist from CSActor, which inherits from ACtor
21 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
That particular error does not occur in V10
21 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
The error ONLY occurs on actors created
21 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
It's v11
21 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
Is that bad?
21 replies
LOELeague of Extraordinary FoundryVTT Developers
•Created by mfi on 10/6/2023 in #system-development
ERROR: actors is not a valid embedded Document within the Token Document
@Zhell It's within the public repository. Here's an instance of that function call on the csCharacterActorSheet.js:
https://github.com/3darkman/foundryvtt-chroniclesystem/blob/c6232f4c3f1ef5ebb3fafe9f0dc16502a087ad21/module/actors/sheets/csCharacterActorSheet.js#L353
21 replies