diff --git a/README.md b/README.md
index cb36e925..52762111 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,14 @@ This module provides compendiums of the playtest materials, pre-configured for u
3. Click **Install**.
4. Activate the module in your world settings.
+### Bridge Nine Playtest Adventure (Optional)
+This module provides a compendium containing the Bridge Nine playtest adventure, pre-configured for use in Foundry VTT.
+1. In Foundry VTT, go to **Add-on Modules** > **Install Module**.
+2. Paste the following URL in the **Manifest URL** field:
+ `https://raw.githubusercontent.com/Doc-Sun/Bridge_Nine_Adventure_CosmereRPG/main/module.json`
+3. Click **Install**.
+4. Activate the module in your world settings.
+
## Feature requests and bug reports
If you encounter any bugs or have ideas for new features, please report them by creating an [Issue](https://github.com/stanavdb/cosmere-rpg/issues). For guidelines on Issues see [CONTRIBUTING.md](./CONTRIBUTING.md).
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 39c16b80..19514672 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -28,6 +28,7 @@ export default tseslint.config(
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': 'off',
+ 'no-unexpected-multiline': 'off',
},
languageOptions: {
parserOptions: {
diff --git a/src/assets/fonts/roboto-condensed/LICENSE b/src/assets/fonts/roboto-condensed/LICENSE
new file mode 100644
index 00000000..65a3057b
--- /dev/null
+++ b/src/assets/fonts/roboto-condensed/LICENSE
@@ -0,0 +1,93 @@
+Copyright 2011 The Roboto Project Authors (https://github.com/googlefonts/roboto-classic)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/src/assets/fonts/roboto-condensed/RobotoCondensed-Bold.woff2 b/src/assets/fonts/roboto-condensed/RobotoCondensed-Bold.woff2
new file mode 100644
index 00000000..030883a7
Binary files /dev/null and b/src/assets/fonts/roboto-condensed/RobotoCondensed-Bold.woff2 differ
diff --git a/src/assets/fonts/roboto-condensed/RobotoCondensed-BoldItalic.woff2 b/src/assets/fonts/roboto-condensed/RobotoCondensed-BoldItalic.woff2
new file mode 100644
index 00000000..1d47a859
Binary files /dev/null and b/src/assets/fonts/roboto-condensed/RobotoCondensed-BoldItalic.woff2 differ
diff --git a/src/assets/fonts/roboto-condensed/RobotoCondensed-Italic.woff2 b/src/assets/fonts/roboto-condensed/RobotoCondensed-Italic.woff2
new file mode 100644
index 00000000..83d5830d
Binary files /dev/null and b/src/assets/fonts/roboto-condensed/RobotoCondensed-Italic.woff2 differ
diff --git a/src/assets/fonts/roboto-condensed/RobotoCondensed-Regular.woff2 b/src/assets/fonts/roboto-condensed/RobotoCondensed-Regular.woff2
new file mode 100644
index 00000000..0066a53c
Binary files /dev/null and b/src/assets/fonts/roboto-condensed/RobotoCondensed-Regular.woff2 differ
diff --git a/src/assets/fonts/roboto-slab/LICENSE b/src/assets/fonts/roboto-slab/LICENSE
new file mode 100644
index 00000000..c2d27cb3
--- /dev/null
+++ b/src/assets/fonts/roboto-slab/LICENSE
@@ -0,0 +1,192 @@
+Copyright 2011-2024 The Roboto Slab Project Authors (https://github.com/googlefonts/robotoslab)
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-------------------------------------------------------------------------
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
diff --git a/src/assets/fonts/roboto-slab/RobotoSlab-Bold.ttf b/src/assets/fonts/roboto-slab/RobotoSlab-Bold.ttf
new file mode 100644
index 00000000..8a597f2d
Binary files /dev/null and b/src/assets/fonts/roboto-slab/RobotoSlab-Bold.ttf differ
diff --git a/src/assets/fonts/roboto-slab/RobotoSlab-Regular.ttf b/src/assets/fonts/roboto-slab/RobotoSlab-Regular.ttf
new file mode 100644
index 00000000..faaa4463
Binary files /dev/null and b/src/assets/fonts/roboto-slab/RobotoSlab-Regular.ttf differ
diff --git a/src/assets/fonts/roboto/LICENSE b/src/assets/fonts/roboto/LICENSE
new file mode 100644
index 00000000..e5d1dbc0
--- /dev/null
+++ b/src/assets/fonts/roboto/LICENSE
@@ -0,0 +1,192 @@
+Copyright 2011-2024 The Roboto Project Authors (https://github.com/googlefonts/roboto)
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-------------------------------------------------------------------------
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
diff --git a/src/assets/fonts/roboto/Roboto-Bold.woff2 b/src/assets/fonts/roboto/Roboto-Bold.woff2
new file mode 100644
index 00000000..a73ce84a
Binary files /dev/null and b/src/assets/fonts/roboto/Roboto-Bold.woff2 differ
diff --git a/src/assets/fonts/roboto/Roboto-BoldItalic.woff2 b/src/assets/fonts/roboto/Roboto-BoldItalic.woff2
new file mode 100644
index 00000000..fa0f28a5
Binary files /dev/null and b/src/assets/fonts/roboto/Roboto-BoldItalic.woff2 differ
diff --git a/src/assets/fonts/roboto/Roboto-Italic.woff2 b/src/assets/fonts/roboto/Roboto-Italic.woff2
new file mode 100644
index 00000000..5ec46a3c
Binary files /dev/null and b/src/assets/fonts/roboto/Roboto-Italic.woff2 differ
diff --git a/src/assets/fonts/roboto/Roboto-Regular.woff2 b/src/assets/fonts/roboto/Roboto-Regular.woff2
new file mode 100644
index 00000000..49713b47
Binary files /dev/null and b/src/assets/fonts/roboto/Roboto-Regular.woff2 differ
diff --git a/src/assets/icons/svg/dice/retro-adv.svg b/src/assets/icons/svg/dice/retro-adv.svg
new file mode 100644
index 00000000..aed64c92
--- /dev/null
+++ b/src/assets/icons/svg/dice/retro-adv.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icons/svg/dice/retro-crit.svg b/src/assets/icons/svg/dice/retro-crit.svg
new file mode 100644
index 00000000..1c79decf
--- /dev/null
+++ b/src/assets/icons/svg/dice/retro-crit.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icons/svg/dice/retro-dis.svg b/src/assets/icons/svg/dice/retro-dis.svg
new file mode 100644
index 00000000..b0023d9b
--- /dev/null
+++ b/src/assets/icons/svg/dice/retro-dis.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/icons/svg/border_attribute_left.svg b/src/assets/icons/svg/sheet/border_attribute_left.svg
similarity index 100%
rename from src/icons/svg/border_attribute_left.svg
rename to src/assets/icons/svg/sheet/border_attribute_left.svg
diff --git a/src/icons/svg/border_attribute_right.svg b/src/assets/icons/svg/sheet/border_attribute_right.svg
similarity index 100%
rename from src/icons/svg/border_attribute_right.svg
rename to src/assets/icons/svg/sheet/border_attribute_right.svg
diff --git a/src/icons/svg/border_bar.svg b/src/assets/icons/svg/sheet/border_bar.svg
similarity index 100%
rename from src/icons/svg/border_bar.svg
rename to src/assets/icons/svg/sheet/border_bar.svg
diff --git a/src/icons/svg/border_corner.svg b/src/assets/icons/svg/sheet/border_corner.svg
similarity index 100%
rename from src/icons/svg/border_corner.svg
rename to src/assets/icons/svg/sheet/border_corner.svg
diff --git a/src/icons/svg/border_defense.svg b/src/assets/icons/svg/sheet/border_defense.svg
similarity index 100%
rename from src/icons/svg/border_defense.svg
rename to src/assets/icons/svg/sheet/border_defense.svg
diff --git a/src/icons/svg/border_defense_double.svg b/src/assets/icons/svg/sheet/border_defense_double.svg
similarity index 100%
rename from src/icons/svg/border_defense_double.svg
rename to src/assets/icons/svg/sheet/border_defense_double.svg
diff --git a/src/icons/svg/border_deflect.svg b/src/assets/icons/svg/sheet/border_deflect.svg
similarity index 100%
rename from src/icons/svg/border_deflect.svg
rename to src/assets/icons/svg/sheet/border_deflect.svg
diff --git a/src/icons/svg/border_full_100x100.svg b/src/assets/icons/svg/sheet/border_full_100x100.svg
similarity index 100%
rename from src/icons/svg/border_full_100x100.svg
rename to src/assets/icons/svg/sheet/border_full_100x100.svg
diff --git a/src/icons/svg/border_level.svg b/src/assets/icons/svg/sheet/border_level.svg
similarity index 100%
rename from src/icons/svg/border_level.svg
rename to src/assets/icons/svg/sheet/border_level.svg
diff --git a/src/icons/svg/border_sheet_corner.svg b/src/assets/icons/svg/sheet/border_sheet_corner.svg
similarity index 100%
rename from src/icons/svg/border_sheet_corner.svg
rename to src/assets/icons/svg/sheet/border_sheet_corner.svg
diff --git a/src/icons/svg/border_sheet_full_150x150.svg b/src/assets/icons/svg/sheet/border_sheet_full_150x150.svg
similarity index 100%
rename from src/icons/svg/border_sheet_full_150x150.svg
rename to src/assets/icons/svg/sheet/border_sheet_full_150x150.svg
diff --git a/src/icons/svg/border_stat.svg b/src/assets/icons/svg/sheet/border_stat.svg
similarity index 100%
rename from src/icons/svg/border_stat.svg
rename to src/assets/icons/svg/sheet/border_stat.svg
diff --git a/src/icons/svg/border_tab_closed.svg b/src/assets/icons/svg/sheet/border_tab_closed.svg
similarity index 100%
rename from src/icons/svg/border_tab_closed.svg
rename to src/assets/icons/svg/sheet/border_tab_closed.svg
diff --git a/src/icons/svg/border_tab_open.svg b/src/assets/icons/svg/sheet/border_tab_open.svg
similarity index 100%
rename from src/icons/svg/border_tab_open.svg
rename to src/assets/icons/svg/sheet/border_tab_open.svg
diff --git a/src/icons/svg/border_tier.svg b/src/assets/icons/svg/sheet/border_tier.svg
similarity index 100%
rename from src/icons/svg/border_tier.svg
rename to src/assets/icons/svg/sheet/border_tier.svg
diff --git a/src/icons/svg/star_cosmere.svg b/src/assets/icons/svg/sheet/star_cosmere.svg
similarity index 100%
rename from src/icons/svg/star_cosmere.svg
rename to src/assets/icons/svg/sheet/star_cosmere.svg
diff --git a/src/declarations/foundry/client/data/abstract/client-document.d.ts b/src/declarations/foundry/client/data/abstract/client-document.d.ts
index 581ac116..fe72030b 100644
--- a/src/declarations/foundry/client/data/abstract/client-document.d.ts
+++ b/src/declarations/foundry/client/data/abstract/client-document.d.ts
@@ -10,6 +10,8 @@ declare function _ClientDocumentMixin<
>(base: BaseClass): Mixin;
declare class ClientDocument {
+ readonly uuid: string;
+
/**
* A collection of Application instances which should be re-rendered whenever this document is updated.
* The keys of this object are the application ids and the values are Application instances. Each
diff --git a/src/declarations/foundry/client/data/documents/actor.d.ts b/src/declarations/foundry/client/data/documents/actor.d.ts
index 52e15986..d46081dd 100644
--- a/src/declarations/foundry/client/data/documents/actor.d.ts
+++ b/src/declarations/foundry/client/data/documents/actor.d.ts
@@ -30,7 +30,9 @@ declare class Actor<
get items(): Collection;
get effects(): Collection;
+ get isToken(): boolean;
get appliedEffects(): ActiveEffect[];
+ get token(): TokenDocument;
/**
* Return a data object which defines the data schema against which dice rolls can be evaluated.
@@ -55,6 +57,19 @@ declare class Actor<
options?: Actor.ToggleStatusEffectOptions,
): Promise;
+ /**
+ * Retrieve an Array of active tokens which represent this Actor in the current canvas Scene.
+ * If the canvas is not currently active, or there are no linked actors, the returned Array will be empty.
+ * If the Actor is a synthetic token actor, only the exact Token which it represents will be returned.
+ * @param linked Limit results to Tokens which are linked to the Actor. Otherwise, return all Tokens even those which are not linked.
+ * @param document Return the Document instance rather than the PlaceableObject
+ * @returns An array of Token instances in the current Scene which reference this Actor.
+ */
+ public getActiveTokens(
+ linked?: boolean,
+ document?: boolean
+ ): (TokenDocument | Token)[];
+
/**
* Get all ActiveEffects that may apply to this Actor.
* If CONFIG.ActiveEffect.legacyTransferral is true, this is equivalent to actor.effects.contents.
@@ -77,16 +92,16 @@ declare class Actor<
/**
* Handle how changes to a Token attribute bar are applied to the Actor.
* This allows for game systems to override this behavior and deploy special logic.
- * @param {string} attribute The attribute path
- * @param {number} value The target attribute value
- * @param {boolean} isDelta Whether the number represents a relative change (true) or an absolute change (false)
- * @param {boolean} isBar Whether the new value is part of an attribute bar, or just a direct value
- * @returns {Promise} The updated Actor document
+ * @param attribute The attribute path
+ * @param value The target attribute value
+ * @param isDelta Whether the number represents a relative change (true) or an absolute change (false)
+ * @param isBar Whether the new value is part of an attribute bar, or just a direct value
+ * @returns The updated Actor document
*/
public async modifyTokenAttribute(
- attribute,
- value,
- isDelta,
- isBar,
+ attribute: string,
+ value: number,
+ isDelta: boolean,
+ isBar: boolean,
): Promise;
}
diff --git a/src/declarations/foundry/client/data/documents/chat-message.d.ts b/src/declarations/foundry/client/data/documents/chat-message.d.ts
index e4a9f670..4d73998f 100644
--- a/src/declarations/foundry/client/data/documents/chat-message.d.ts
+++ b/src/declarations/foundry/client/data/documents/chat-message.d.ts
@@ -4,4 +4,5 @@ declare interface ChatMessage {
timestamp: number;
whisper: string[];
rolls: Roll[];
+ flags: Record;
}
diff --git a/src/declarations/foundry/client/data/documents/table-result.d.ts b/src/declarations/foundry/client/data/documents/table-result.d.ts
index 8c8a7839..488adb8d 100644
--- a/src/declarations/foundry/client/data/documents/table-result.d.ts
+++ b/src/declarations/foundry/client/data/documents/table-result.d.ts
@@ -1,4 +1,6 @@
-declare interface TableResult {
+declare class TableResult extends _ClientDocumentMixin(
+ foundry.documents.BaseTableResult,
+) {
/**
* Get the value of a "flag" for this document
* See the setFlag method for more details on flags
@@ -6,4 +8,10 @@ declare interface TableResult {
* @param key The flag key
*/
getFlag(scope: string, key: string): T;
+
+ static fromSource(source: object, context?: any = {}): TableResult;
+
+ img: string;
+
+ text: string;
}
diff --git a/src/declarations/foundry/common/abstract/data.d.ts b/src/declarations/foundry/common/abstract/data.d.ts
index 89cb82fb..3babf775 100644
--- a/src/declarations/foundry/common/abstract/data.d.ts
+++ b/src/declarations/foundry/common/abstract/data.d.ts
@@ -259,6 +259,8 @@ namespace foundry {
readonly system: Schema;
get flags(): Record;
+ get pack(): string | undefined;
+ get compendium(): CompendiumCollection | undefined;
/**
* The canonical name of this Document type, for example "Actor".
@@ -600,6 +602,35 @@ namespace foundry {
operation: DatabaseCreateOperation,
user: documents.BaseUser,
): Promise;
+
+ /* --- Database Update Operations --- */
+
+ /**
+ * Pre-process an update operation for a single Document instance. Pre-operation events only occur for the client
+ * which requested the operation.
+ *
+ * @param changes The candidate changes to the Document
+ * @param options Additional options which modify the update request
+ * @param user The User requesting the document update
+ * @returns A return value of false indicates the update operation should be cancelled.
+ * @internal
+ */
+ async _preUpdate(
+ changes: object,
+ options: object,
+ user: documents.BaseUser,
+ ): Promise;
+
+ /**
+ * Post-process an update operation for a single Document instance. Post-operation events occur for all connected
+ * clients.
+ *
+ * @param changed The differential data that was changed relative to the documents prior values
+ * @param options Additional options which modify the update request
+ * @param userId The id of the User requesting the document update
+ * @internal
+ */
+ _onUpdate(changed: object, options: object, userId: string);
}
interface DataValidationOptions {
@@ -755,7 +786,7 @@ namespace foundry {
* @param options Options provided to the model constructor
* @returns Migrated and cleaned source data which will be stored to the model instance
*/
- _initializeSource(
+ protected _initializeSource(
data: object | DataModel,
options?: object,
): object;
@@ -773,7 +804,7 @@ namespace foundry {
* This mirrors the workflow of SchemaField#initialize but with some added functionality.
* @param options Options provided to the model constructor
*/
- _initialize(options?: object);
+ protected _initialize(options?: object);
/**
* Reset the state of this data instance back to mirror the contained source data, erasing any changes.
diff --git a/src/declarations/foundry/common/abstract/fields.d.ts b/src/declarations/foundry/common/abstract/fields.d.ts
index 6d5aca2d..de731549 100644
--- a/src/declarations/foundry/common/abstract/fields.d.ts
+++ b/src/declarations/foundry/common/abstract/fields.d.ts
@@ -202,12 +202,26 @@ declare namespace foundry {
*/
initialize(value: any, model: object, options?: object): any;
+ /**
+ * Export the current value of the field into a serializable object.
+ * @param value The initialized value of the field
+ * @returns An exported representation of the field
+ */
+ toObject(value: any): any;
+
/**
* Recursively traverse a schema and retrieve a field specification by a given path
* @param path The field path as an array of strings
* @internal
*/
_getField(path: string[]): DataField;
+
+ /**
+ * Cast a non-default value to ensure it is the correct type for the field
+ * @param value The provided non-default value
+ * @returns The standardized value
+ */
+ protected _cast(value: any): any;
}
class SchemaField extends DataField {
diff --git a/src/declarations/foundry/common/abstract/validation.d.ts b/src/declarations/foundry/common/abstract/validation.d.ts
index e52355c4..b9af6e77 100644
--- a/src/declarations/foundry/common/abstract/validation.d.ts
+++ b/src/declarations/foundry/common/abstract/validation.d.ts
@@ -1,6 +1,91 @@
declare namespace foundry {
namespace data {
namespace validation {
+ namespace DataModelValidationFailure {
+ interface Config {
+ /**
+ * The value that failed validation for this field.
+ */
+ invalidValue?: any;
+
+ /**
+ * The value it was replaced by, if any.
+ */
+ fallback?: any;
+
+ /**
+ * Whether the value was dropped from some parent collection.
+ * @default true
+ */
+ dropped?: boolean;
+
+ /**
+ * The validation error message.
+ */
+ message?: string;
+
+ /**
+ * Whether this failure was unresolved
+ * @default false
+ */
+ unresolved?: boolean;
+ }
+
+ interface ElementValidationFailure {
+ /**
+ * Either the element's index or some other identifier for it.
+ */
+ id: string | number;
+
+ /**
+ * Optionally a user-friendly name for the element.
+ */
+ name?: string;
+
+ /**
+ * The element's validation failure.
+ */
+ failure: DataModelValidationFailure;
+ }
+ }
+
+ class DataModelValidationFailure {
+ /**
+ * The value that failed validation for this field.
+ */
+ public invalidValue?: any;
+
+ /**
+ * The value it was replaced by, if any.
+ */
+ public fallback?: any;
+
+ /**
+ * Whether the value was dropped from some parent collection.
+ * @defaultValue true
+ */
+ public dropped?: boolean;
+
+ /**
+ * The validation error message.
+ */
+ public message?: string;
+
+ /**
+ * If this field contains other fields that are validated
+ * as part of its validation, their results are recorded here.
+ */
+ public fields: Record;
+
+ /**
+ * If this field contains a list of elements that are validated
+ * as part of its validation, their results are recorded here.
+ */
+ public elements: ElementValidationFailure[];
+
+ constructor(config?: DataModelValidationFailure.Config);
+ }
+
class DataModelValidationError extends Error {
constructor(errors: Record);
}
diff --git a/src/index.ts b/src/index.ts
index 8fec169b..b359830f 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,12 +1,17 @@
import { ActorType, Condition, ItemType } from './system/types/cosmere';
-
+import { SYSTEM_ID } from './system/constants';
+import { TEMPLATES } from './system/utils/templates';
import COSMERE from './system/config';
import './style.scss';
import './system/hooks';
-import { preloadHandlebarsTemplates } from './system/util/handlebars';
-import { registerSettings } from './system/settings';
+import { preloadHandlebarsTemplates } from './system/utils/handlebars';
+import {
+ registerDeferredSettings,
+ registerSystemKeybindings,
+ registerSystemSettings,
+} from './system/settings';
import * as applications from './system/applications';
import * as dataModels from './system/data';
@@ -50,8 +55,13 @@ Hooks.once('init', async () => {
CONFIG.Token.documentClass = documents.CosmereTokenDocument;
+ Roll.TOOLTIP_TEMPLATE = `systems/${SYSTEM_ID}/templates/${TEMPLATES.CHAT_ROLL_TOOLTIP}`;
+
CONFIG.ActiveEffect.legacyTransferral = false;
+ // Add fonts
+ configureFonts();
+
Actors.unregisterSheet('core', ActorSheet);
registerActorSheet(ActorType.Character, applications.actor.CharacterSheet);
registerActorSheet(ActorType.Adversary, applications.actor.AdversarySheet);
@@ -73,6 +83,12 @@ Hooks.once('init', async () => {
registerItemSheet(ItemType.Talent, applications.item.TalentItemSheet);
registerItemSheet(ItemType.Equipment, applications.item.EquipmentItemSheet);
registerItemSheet(ItemType.Weapon, applications.item.WeaponItemSheet);
+ registerItemSheet(ItemType.Goal, applications.item.GoalItemSheet);
+ registerItemSheet(ItemType.Power, applications.item.PowerItemSheet);
+ registerItemSheet(
+ ItemType.TalentTree,
+ applications.item.TalentTreeItemSheet,
+ );
CONFIG.Dice.types.push(dice.PlotDie);
CONFIG.Dice.terms.p = dice.PlotDie;
@@ -87,14 +103,25 @@ Hooks.once('init', async () => {
// @ts-expect-error see note
CONFIG.Dice.rolls.push(dice.DamageRoll);
- // Load templates
- await preloadHandlebarsTemplates();
-
// Register status effects
registerStatusEffects();
// Register settings
- registerSettings();
+ registerSystemSettings();
+ registerSystemKeybindings();
+
+ // Load templates
+ await preloadHandlebarsTemplates();
+});
+
+Hooks.once('setup', () => {
+ // Register some settings after modules have had a chance to initialize
+ registerDeferredSettings();
+});
+
+Hooks.once('ready', () => {
+ // Chat message listeners
+ documents.CosmereChatMessage.activateListeners();
});
/**
@@ -127,7 +154,7 @@ function registerActorSheet(
type: ActorType,
sheet: typeof foundry.applications.api.ApplicationV2,
) {
- Actors.registerSheet('cosmere-rpg', sheet as any, {
+ Actors.registerSheet(SYSTEM_ID, sheet as any, {
types: [type],
makeDefault: true,
label: `TYPES.Actor.${type}`,
@@ -138,10 +165,112 @@ function registerItemSheet(
type: ItemType,
sheet: typeof foundry.applications.api.ApplicationV2,
) {
- Items.registerSheet('cosmere-rpg', sheet as any, {
+ Items.registerSheet(SYSTEM_ID, sheet as any, {
types: [type],
makeDefault: true,
label: `TYPES.Item.${type}`,
});
}
/* eslint-enable @typescript-eslint/no-explicit-any */
+
+/**
+ * Configure additional system fonts.
+ */
+function configureFonts() {
+ Object.assign(CONFIG.fontDefinitions, {
+ Roboto: {
+ editor: true,
+ fonts: [
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto/Roboto-Regular.woff2`,
+ ],
+ },
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto/Roboto-Bold.woff2`,
+ ],
+ weight: 'bold',
+ },
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto/Roboto-Italic.woff2`,
+ ],
+ style: 'italic',
+ },
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto/Roboto-BoldItalic.woff2`,
+ ],
+ weight: 'bold',
+ style: 'italic',
+ },
+ ],
+ },
+ 'Roboto Condensed': {
+ editor: true,
+ fonts: [
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto-condensed/RobotoCondensed-Regular.woff2`,
+ ],
+ },
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto-condensed/RobotoCondensed-Bold.woff2`,
+ ],
+ weight: 'bold',
+ },
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto-condensed/RobotoCondensed-Italic.woff2`,
+ ],
+ style: 'italic',
+ },
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto-condensed/RobotoCondensed-BoldItalic.woff2`,
+ ],
+ weight: 'bold',
+ style: 'italic',
+ },
+ ],
+ },
+ 'Roboto Slab': {
+ editor: true,
+ fonts: [
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto-slab/RobotoSlab-Regular.ttf`,
+ ],
+ },
+ {
+ urls: [
+ `systems/${SYSTEM_ID}/assets/fonts/roboto-slab/RobotoSlab-Bold.ttf`,
+ ],
+ weight: 'bold',
+ },
+ ],
+ },
+ 'Penumbra Web Pro': {
+ editor: true,
+ fonts: [
+ {
+ urls: [
+ `https://fonts.cdnfonts.com/s/56565/PenumbraWebPro-Serif.woff`,
+ ],
+ },
+ ],
+ },
+ 'Cosmere Dingbats': {
+ editor: true,
+ fonts: [
+ {
+ urls: [
+ `https://dl.dropboxusercontent.com/scl/fi/9909gen4fd0oveyzfposx/CosmereDingbats-Regular.otf?rlkey=ig6odq9hxyo1st8kt3ujp1czz&st=72qrads3&raw=1`,
+ ],
+ },
+ ],
+ },
+ });
+}
diff --git a/src/lang/en.json b/src/lang/en.json
index 38633f8d..335baeb7 100644
--- a/src/lang/en.json
+++ b/src/lang/en.json
@@ -127,6 +127,12 @@
"Deflect": "Deflect",
"NoObscuredSense": "Unaffected by Obscured Senses."
},
+ "Deflect": {
+ "Natural": {
+ "Label": "Natural Deflect",
+ "Hint": "Natural deflect is used when no armor is worn, or when the natural deflect is higher than the worn armor."
+ }
+ },
"Size": {
"Small": "Small",
"Medium": "Medium",
@@ -207,6 +213,7 @@
"ToggleShowSkills": "Show skills without ranks",
"ToggleCollapseSkills": "Hide skills without ranks",
"ConfigureDefense": "Configure Defense",
+ "ConfigureDeflect": "Configure Deflect",
"ConfigureMovement": "Configure Movement Rate",
"ConfigureSensesRange": "Configure Senses Range",
"ConfigureRecovery": "Configure Recovery Die",
@@ -249,7 +256,7 @@
}
},
"Skills": {
- "AdjustTooltip": "Left Click to increase [skill]'s Rank. Right Click to decrease [skill]'s Rank."
+ "AdjustTooltip": "Left Click to increase {skill}'s Rank. Right Click to decrease {skill}'s Rank."
}
}
},
@@ -340,6 +347,21 @@
"label": "Connection",
"label_plural": "Connections",
"desc_placeholder": "Edit this to create a description of the NPC and how they are connected to the character."
+ },
+ "Goal": {
+ "label": "Goal",
+ "label_plural": "Goals",
+ "desc_placeholder": "Edit this to describe the goal."
+ },
+ "Power": {
+ "label": "Power",
+ "label_plural": "Powers",
+ "desc_placeholder": "Edit this to describe the power.",
+ "New": "New {type}"
+ },
+ "TalentTree": {
+ "label": "Talent Tree",
+ "label_plural": "Talent Trees"
}
},
"Weapon": {
@@ -380,7 +402,8 @@
"Trait": {
"Cumbersome": "Cumbersome",
"Dangerous": "Dangerous",
- "Presentable": "Presentable"
+ "Presentable": "Presentable",
+ "Unique": "Unique"
},
"Deflect": "Deflect"
},
@@ -405,6 +428,99 @@
"Hint": "Identifier of the Ancenstry this action belongs to. (e.g. \"human\")"
}
},
+ "Goal": {
+ "Level": {
+ "Label": "Progress"
+ },
+ "Reward": {
+ "Type": {
+ "Items": "Items",
+ "SkillRanks": "Skill Ranks",
+ "Label": "Type"
+ },
+ "Skill": {
+ "Label": "Skill"
+ },
+ "Ranks": {
+ "Label": "Ranks"
+ },
+ "Items": {
+ "Label": "Items"
+ },
+ "Validation": {
+ "MissingSkillOrRanks": "Must set a Skill and Ranks",
+ "MissingItems": "Must set Items"
+ }
+ }
+ },
+ "Power": {
+ "Identifier": {
+ "Hint": "Used to uniquely identify this power. Should be the same as the identifier of the associated skill, unless a custom skill is used."
+ },
+ "CustomSkill": {
+ "Label": "Use custom skill?",
+ "Hint": "If checked, configure a custom skill instead of the skill matching this power's identifier."
+ },
+ "Skill": {
+ "Label": "Skill",
+ "Hint": "The skill associated with this power. Gaining this power grants the character access to this skill."
+ },
+ "Notification": {
+ "PowerExists": "A power with identifier \"{identifier}\" already exists on {actor}."
+ }
+ },
+ "Path": {
+ "LinkedSkills": {
+ "Label": "Linked Skills",
+ "Hint": "These skills are displayed alongside the path in the character sheet."
+ }
+ },
+ "Talent": {
+ "Type": {
+ "Ancestry": "Ancestry",
+ "Path": "Path",
+ "Power": "Power"
+ },
+ "Prerequisite": {
+ "Type": {
+ "Talent": "Talent",
+ "Attribute": "Attribute",
+ "Skill": "Skill",
+ "Connection": "Connection",
+ "Level": "Level"
+ },
+ "Mode": {
+ "AnyOf": "Any of",
+ "AllOf": "All of"
+ },
+ "Level": {
+ "Label": "Level"
+ }
+ },
+ "GrantRule": {
+ "Label": "On Obtain",
+ "Hint": "These rules are applied when the talent is obtained.",
+ "Type": {
+ "Items": "Grant Items",
+ "Label": "Type"
+ },
+ "Items": {
+ "Label": "Items"
+ }
+ },
+ "Power": {
+ "Label": "Power Identifier",
+ "Hint": "Identifier of the power this talent belongs to."
+ }
+ },
+ "TalentTree": {
+ "Width": {
+ "Label": "Width"
+ },
+ "Height": {
+ "Label": "Height"
+ }
+ },
"Activation": {
"Type": {
"Action": "Action",
@@ -500,7 +616,7 @@
},
"Identifier": {
"Label": "Identifier",
- "Description": "Used to uniquely identify this [type]. Identifier can only contain letters (a-z), numbers (0-9), dashes (-), and underscores (_)."
+ "Hint": "Used to uniquely identify this {type}. Identifier can only contain letters (a-z), numbers (0-9), dashes (-), and underscores (_)."
},
"Type": "Type",
"Injury": {
@@ -572,7 +688,12 @@
},
"Damage": {
"Title": "Damage",
- "Formula": "Damage Formula"
+ "Formula": "Damage Formula",
+ "GrazeOverride": "Override Graze Damage Calculation",
+ "GrazeShow": "Show New Graze Damage Formula",
+ "GrazeHide": "Hide New Graze Damage Forumla",
+ "GrazeFormula": "New Formula",
+ "GrazeHint": "Formula entered here will be the entirety of the calculation for graze damage. Any die rolls will be rolled separately from the main damage roll. You can pull in all or part of the main roll using @damage.total/@damage.unmodded/@damage.dice (the latter being the system default) or the selected attribute mod with @mod"
},
"Modality": {
"Title": "Modality",
@@ -607,6 +728,19 @@
"ConnectionDescription": "Description",
"ConnectionDescriptionPlaceholder": "Connection Description",
"DropTalents": "Drop Talents here to add them to the list."
+ },
+ "GrantRules": {
+ "Description": "Description",
+ "Create": "New rule",
+ "Edit": "Edit rule",
+ "Delete": "Remove rule"
+ }
+ },
+ "Goal": {
+ "Reward": {
+ "Title": "Rewards",
+ "Create": "New Reward",
+ "SkillRanksDescriptionValue": "{ranks} ranks in {skill}"
}
}
}
@@ -632,24 +766,6 @@
}
}
},
- "Talent": {
- "Type": {
- "Ancestry": "Ancestry",
- "Path": "Path"
- },
- "Prerequisite": {
- "Type": {
- "Talent": "Talent",
- "Attribute": "Attribute",
- "Skill": "Skill",
- "Connection": "Connection"
- },
- "Mode": {
- "AnyOf": "Any of",
- "AllOf": "All of"
- }
- }
- },
"Currencies": {},
"Combat": {
"FastPlayers": "Fast Characters",
@@ -737,19 +853,35 @@
"sur": "Survival"
},
"ChatMessage": {
- "Action": {
- "Graze": "Graze: Reduce Focus",
- "ApplyDamage": "Apply Damage",
- "ApplyGraze": "Apply Graze Damage",
- "ApplyHealing": "Apply Healing"
+ "Buttons": {
+ "DamageFull": "Click to apply full damage to selected token(s).",
+ "DamageHalf": "Click to apply half damage to selected token(s).",
+ "DamageDouble": "Click to apply double damage to selected token(s).",
+ "Healing": "Click to apply healing to selected token(s).",
+ "ReduceFocus": "Click to reduce focus from selected token(s).",
+ "RollCrit": "Click to roll critical damage.",
+ "RollAdvantage": "Click to roll with advantage.",
+ "RollDisadvantage": "Click to roll with disadvantage."
+ },
+ "Trays": {
+ "Targets": "Targets"
+ },
+ "InjuryRoll": "Injury Roll",
+ "InjuryDuration": {
+ "Dead": "{actor} has died.",
+ "Permanent": "{actor} is permanently injured.",
+ "Temporary": "{actor} is injured for {days} days."
},
"ApplyDamage": "[actor] takes [amount] damage",
"ApplyHealing": "[actor] recovers [amount] health",
"UndoDamage": "Undo damage",
"UndoHealing": "Undo healing",
"ViewRollsDetails": "Roll Details",
- "InjuryDuration": "Injury Duration.",
- "Welcome": "
Welcome to the Cosmere RPG System!
Thank you for trying out the community-developed Cosmere Roleplaying Game system! You’re currently using version [version]. As this is an early release, some bugs or missing features are to be expected, but your feedback will help us improve the system.
If you encounter any issues or have suggestions, we’d love to hear from you! Please report them on our GitHub Issues page, and be sure to review the contribution guidelines if you’d like to get involved in development.
For discussions, updates, and support, join us on the Official Cosmere RPG Discord server. You can find us in vtt-discussion > Foundry VTT System Development.
We’re excited to have you on board and hope you enjoy playing in the Cosmere!
"
+ "Welcome": "
Welcome to the Cosmere RPG System!
Thank you for trying out the community-developed Cosmere Roleplaying Game system! You're currently using version [version]. As this is an early release, some bugs or missing features are to be expected, but your feedback will help us improve the system.
If you encounter any issues or have suggestions, we'd love to hear from you! Please report them on our GitHub Issues page, and be sure to review the contribution guidelines if you'd like to get involved in development.
For discussions, updates, and support, join us on the Official Cosmere RPG Discord server. You can find us in vtt-discussion > Foundry VTT System Development.
We're excited to have you on board and hope you enjoy playing in the Cosmere!