Giter Club home page Giter Club logo

motw-for-pbta's People

Contributors

djlechuck avatar mclemente avatar rangertheman avatar toopick avatar

Stargazers

 avatar

Watchers

 avatar

motw-for-pbta's Issues

Exporting PDF

I am trying to get values out of the MotW sheet for Export to PDF.
The Items section (pink) is not enumerated so cannot be extracted for the PDF
Do you have another way to access Items so I can build an exported character sheet for in-person gaming?
image

Thanks!

Player can't open or create sheets after joining

When a joined player want's to open a sheet, or create a new actor I get this error.

I'll try to debug it myself when I'll have the time, but you seem to be quick with the responses.

foundry.js:747 TypeError: An error occurred while rendering PbtaActorSheet 44. Cannot read properties of undefined (reading 'character')
[Detected 1 package: system:pbta]
    at PbtaActorSheet._prepareCharacterItems (actor-sheet.js:258:54)
    at PbtaActorSheet.getData (actor-sheet.js:87:16)
    at PbtaActorSheet._render (foundry.js:5108:29)
    at PbtaActorSheet._render (foundry.js:5822:17)
    at PbtaActorSheet.render (foundry.js:5067:10)
    at PbtaActorSheet.render (foundry.js:6394:18)
    at ActorDirectory._onClickDocumentName (foundry.js:60848:16)
    at HTMLOListElement.dispatch (jquery.min.js:2:43064)
    at y.handle (jquery.min.js:2:41048)

Unable to install module

Sucessfully installed on Linux, but just tried installing this module on a Mac but got the following error:

Screenshot 2023-07-01 at 21 00 58

Foundary VTT version: 11 Build 304

Archetype weapons unusable

Whem I create a chosen and check for "The Chosen: Weapons", I can see that "Business-end: artifact" depends on "@uuid[Item.0LGKzof6dXx8GQyc]{magic}". Same with other weapons, 1-harm is an item and all.

[Question/Request] Extra Harm (The Construct)

Hey so im running MotW and one of my players is playing The Construct, and part of their initial move is they get more Harm Capacity.

Is there anyway to do this? I can't seem access the pbta basic to like make a second sheet type or anything cause its used by the module.

If you can't do extra harm capacity in some way currently, is there a way to update the mod to allow it, or something? Thanks!

Edit: Looking at a couple other playbooks, like the pararomantic and hardcase, have the ability to add some new tracks would be incredibly useful.

Team Playbooks

Implement functionality for Team Playbooks, and team moves.

Users without Modify Settings permission cannot open character sheets

If a user without the Modify Settings permission (i.e. Player, Trusted Player) tries to open a charsheet, it won't open, and in the console there will be an error like: "TypeError: An error occurred while rendering PbtaActorSheet 96. game.pbta.sheetConfig.actorTypes is undefined"

This issue occurs only inconsistently - my players had access to their sheets last night, for example, and then nothing changed and they suddenly don't have access to the sheets today. But when it does occur, giving my players the Modify Settings permission (obviously quite undesirable!) is the only fix I can find.

I've tested this with no other modules enabled but Compendium Folders and libWrapper, and also without both of those enabled, and it still occurs.

From inspecting motw-for-pbta.mjs and config-sheet.mjs it kind of seems like adding a permissions check in the Hooks.once blocks might help? It seems like it's tripping on the game.settings.set line (the player/trusted player wouldn't have permission to modify the indicated setting, presumably) and never getting to run configSheet() which is what sets game.pbta.sheetConfig.actorTypes. Of course, if the user needs Modify Settings to set game.pbta.sheetConfig also, then it seems like the code would need to temporarily elevate permissions to do that, if that's even possible. (I'm not a Foundry modder, just an occasional module tweaker.)

Or maybe there's a way game.pbta.sheetConfig can be set server-side instead?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.