Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Allow world/campaign specific Tips (ie allow a json stored in the worlds directory to be referenced) #37

Open
SnortsAlot opened this issue May 15, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@SnortsAlot
Copy link

Is your feature request related to a problem? Please describe.
The localization solution is great and very helpful, but I would like to have a file outside of the /data/modules , one that allows more contextually relevant information.

Describe the solution you'd like
allow a directory in the worlds' directory, if a /tips is present, stitch the *.jsons within for such.
So that the module references to include as additional tips that are campaign/game specific.

Ideally there would also allow "support" for other modules/systems to include a /tips directory or tip.json in their package so that if the module is loaded it includes those tips into the possible offerings. (this would likely also require settings for enabling/disabling of those tips)

Describe alternatives you've considered
Considered doing a single file for worlds , but was looking at how to expand the module's offering to help with other projects in their use to help bring people into foundry as a platform easier, or into their game, into using their module (functionality) or their adventure/world, or even game system.

(ie someone wants to make a tutorial / session zero module to help, but not force those elements into ALL their other worlds - or wanted to include additional/optional help that will be stitched into the main offerings)

@SnortsAlot SnortsAlot added the enhancement New feature or request label May 15, 2021
@anthonyronda
Copy link
Member

anthonyronda commented May 16, 2021

allow a directory in the worlds' directory, if a /tips is present, stitch the *.jsons within for such.

I believe somewhere I got a feature request to accept tips from journal entries or roll tables. It doesn't make sense for my tips to be available there, but I didn't think about a possible use case for world-specific tips. Something that's authorable from within the app is ideal.

This isn't for an installable world, is it?

Ideally there would also allow "support" for other modules/systems to include a /tips directory or tip.json in their package so that if the module is loaded it includes those tips into the possible offerings. (this would likely also require settings for enabling/disabling of those tips)

Unless I'm misunderstanding the request, this is already possible. See the PunPun module by BadIdeasBureau.

Third-party tips necessarily go in the localization files of those modules/systems. If you have a reason why it should go somewhere else please share!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants