-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support @Embed
in Foundry V12 for Items
#362
Comments
Do you have a specific example of where this would be used? I haven’t touched V12, yet, as I want to put out a last update for V11 (with roll scripting) before moving on to V12. |
This layout is the specific reason that I wrote the "inline linktext" module in the first place :-) |
Just for clarification, neither of the examples in the images can be done with vanilla V12? |
Vanilla V12 only supports using |
All right! Thank you for this! I’ll take a closer look when I prepare the V12 update. |
New improved version to get closer to the printed books layout for Abilities: en.json
item.js
|
Implemented in v3.0.0. Thanks, @farling42! |
The default
@Embed
functionality in Foundry 12 only supports Document and Roll Tables.The following code will allow the description of any cypher item to included inline in other documents.
This will be particularly useful for Types and Foci where a series of abilities are listed, so that the text of the abilities can appear within the same displayed document page (so that the user doesn't have to open each ability to see the wording of it).
It only requires implementing the
_buildEmbedHTML
function as follows (which is based on core_embedTextPage
function):with new entries in en.json:
The text was updated successfully, but these errors were encountered: