nereare_grimoire 1.13.13 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/404.html +1 -1
- data/CHANGELOG.md +172 -0
- data/LICENSE.md +1 -1
- data/OGL.md +45 -0
- data/_layouts/adventure.html +9 -1
- data/_layouts/armor.html +16 -6
- data/_layouts/default.html +20 -13
- data/_layouts/index.html +62 -7
- data/_layouts/item.html +3 -3
- data/_layouts/monster.html +299 -139
- data/_layouts/settlement.html +18 -181
- data/_layouts/spell.html +44 -13
- data/_layouts/weapon.html +10 -4
- data/_plugins/cr-format.rb +80 -0
- data/adventures_collection.html +15 -0
- data/ages_collection.html +15 -0
- data/animals_collection.html +15 -0
- data/assets/css/stats-block.scss +23 -15
- data/assets/css/style.scss +21 -0
- data/assets/posts_collection.js +34 -0
- data/assets/search.js +58 -0
- data/chapters_collection.html +15 -0
- data/docs/404.html +25 -0
- data/items_collection.html +15 -0
- data/monsters_collection.html +16 -0
- data/plants_collection.html +15 -0
- data/posts_collection.html +47 -0
- data/search.html +12 -0
- data/search.json +22 -0
- data/settlements_collection.html +15 -0
- data/spells_collection.html +15 -0
- metadata +101 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1ba3f01e049d8dc1b97d5529ccc30bfde0ce0d9f1a76b34a7225730d4631492
|
4
|
+
data.tar.gz: f9345e5a54ddb3f5778a5b3456c8f33709d4ab7f62e09c8ddbca37f1423d9279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26456fe4fdae4cd0be7e0de3702460c03c1e8287fdb53a0db757f0a4cc4695fe6a5e23c7a11f3fd945db78f1bbacdb0293b75752d88fa88cf6b834ea2980e6c2
|
7
|
+
data.tar.gz: cc583b5175661c795e90ff66b1b1df2d84b5bc38a2b4b76fe262b47e5c010dfb9bd4af878c98b81454955bb8f9b479909e2dbf95e6b52d8e0a5791eb42f87ef0
|
data/404.html
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
# [Grimoire](https://github.com/Nereare/Grimoire) Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased]
|
9
|
+
### Added
|
10
|
+
- First letter golden gradient.
|
11
|
+
- Standalone page option for displaying collections.
|
12
|
+
- Search mechanism.
|
13
|
+
### Changed
|
14
|
+
- Change the demographics' class and subclass to customizable.
|
15
|
+
|
16
|
+
## [1.18.2] - `2022-08-05`
|
17
|
+
### Fixed
|
18
|
+
- Missing CSS rule for image width.
|
19
|
+
- Change the `wealth` and `gp-limit` parameters in settlements to optional.
|
20
|
+
|
21
|
+
## [1.18.0] - `2022-08-02`
|
22
|
+
### Added
|
23
|
+
- Support for 5th Edition on all available layouts.
|
24
|
+
### Changed
|
25
|
+
- Bumped some dependency versions:
|
26
|
+
- `html-proofer` to `3.16.0`; and
|
27
|
+
- `zeitwerk` to `2.4.1`.
|
28
|
+
- Bumped some `docs/` dependency versions:
|
29
|
+
- `activesupport` to `6.0.3.4`;
|
30
|
+
- `em-websocket` to `0.5.2`;
|
31
|
+
- `faraday` to `1.1.0`;
|
32
|
+
- `github-pages` to `209`;
|
33
|
+
- `jemoji` to `0.12.0`;
|
34
|
+
- `rouge` to `3.23.0`;
|
35
|
+
- `jekyll-feed` to `0.15.1`;
|
36
|
+
- `just-the-docs` to `0.3.3`;
|
37
|
+
- `octokit` to `4.19.0`; and
|
38
|
+
- `zeitwerk` to `2.4.1`.
|
39
|
+
|
40
|
+
## [1.13.13] - `2020-09-18`
|
41
|
+
### Changed
|
42
|
+
- Level for NPCs no Settlement layout now optional, for 5th-Edition compatibility.
|
43
|
+
- Shops' owner information is now optional.
|
44
|
+
### Fixed
|
45
|
+
- Documentation page display names.
|
46
|
+
|
47
|
+
## [1.13.10] - `2020-09-12`
|
48
|
+
### Added
|
49
|
+
- Age layout.
|
50
|
+
- Animal layout.
|
51
|
+
- Armor layout.
|
52
|
+
- Item layout.
|
53
|
+
- Plant layout.
|
54
|
+
- Weapon layout.
|
55
|
+
- To-do list with future plans to be implemented.
|
56
|
+
### Fixed
|
57
|
+
- Miscellaneous dependencies.
|
58
|
+
### Removed
|
59
|
+
- GitHub Actions CI.
|
60
|
+
|
61
|
+
## [1.7.6] - `2020-02-26`
|
62
|
+
### Changed
|
63
|
+
- Version, Copyright, and License texts now customizable.
|
64
|
+
- Version, Copyright, and License now regular text.
|
65
|
+
### Fixed
|
66
|
+
- Liquid syntax for Version, Copyright and License display.
|
67
|
+
|
68
|
+
## [1.6.5] - `2020-02-26`
|
69
|
+
### Added
|
70
|
+
- Version displaying on header.
|
71
|
+
- Copyright notice display on header.
|
72
|
+
- License display on header.
|
73
|
+
### Changed
|
74
|
+
- [Hippocratic License](https://firstdonoharm.dev/) to version `2.0`.
|
75
|
+
### Fixed
|
76
|
+
- `nokogiri` version to `~> 1.10.8`.
|
77
|
+
|
78
|
+
## [1.4.5] - `2019-11-02`
|
79
|
+
### Changed
|
80
|
+
- Changed license to [Hippocratic](https://firstdonoharm.dev/).
|
81
|
+
|
82
|
+
## [1.4.4] - `2019-10-04`
|
83
|
+
### Fixed
|
84
|
+
- Fix some layout issues with `Adventure` and `Settlement` - #3.
|
85
|
+
|
86
|
+
## 1.4.3 - `2019-09-26`
|
87
|
+
### Changed
|
88
|
+
- Moved documentation from makeshift `_drafts/` folder into proper `docs/` - see [them online](https://nereare.github.io/Grimoire/).
|
89
|
+
### Fixed
|
90
|
+
- Moved `css/` folder into the `assets/` folder, for proper inclusion.
|
91
|
+
|
92
|
+
## [1.4.2] - `2019-09-26`
|
93
|
+
### Added
|
94
|
+
- Installation instructions to [ReadMe file](README.md).
|
95
|
+
### Changed
|
96
|
+
- Update Changelog format to [1.0.0](https://keepachangelog.com/en/1.0.0/).
|
97
|
+
- Stylesheet and font dependencies from Yarn to CDN sources.
|
98
|
+
- Ignore `script/` folder, since it contains only Travis CI-related scripts.
|
99
|
+
- Bump [Jekyll](https://jekyllrb.com/) version to `4.0.0`.
|
100
|
+
- Bump HTML-Proofer version to `3.13.0`.
|
101
|
+
### Removed
|
102
|
+
- [Yarn](https://yarnpkg.com/) dependency.
|
103
|
+
- [jekyll-relative-links](https://github.com/benbalter/jekyll-relative-links) plugin, due to incompatibility with Jekyll `4.0.0`.
|
104
|
+
|
105
|
+
## [1.3.2] - `2019-09-06`
|
106
|
+
### Added
|
107
|
+
- Release to [RubyGems](https://rubygems.org/) as [`nereare_grimoire`](https://rubygems.org/gems/nereare_grimoire).
|
108
|
+
### Changed
|
109
|
+
- Gemfile dependencies to gemspec file.
|
110
|
+
### Fixed
|
111
|
+
- Added missing Ruby version to gemspec.
|
112
|
+
|
113
|
+
## [1.2.1] - `2019-08-26`
|
114
|
+
### Added
|
115
|
+
- Detailed demographics to Settlement layout.
|
116
|
+
- Update tutorial for detailed demographics.
|
117
|
+
|
118
|
+
## [1.0.0] - `2019-08-22`
|
119
|
+
### Added
|
120
|
+
- Code of Conduct from [Contributor Covenant v1.4.1](https://www.contributor-covenant.org/).
|
121
|
+
- [License](LICENSE.md).
|
122
|
+
- Git metafiles (`.gitignore` and `.gitattributes`).
|
123
|
+
- GitHub templates:
|
124
|
+
- Issues;
|
125
|
+
- Feature request;
|
126
|
+
- User question;
|
127
|
+
- Pull request.
|
128
|
+
- ReadMe file.
|
129
|
+
- Changelog file.
|
130
|
+
- Add [Jekyll](https://jekyllrb.com/) and [Yarn](https://yarnpkg.com/).
|
131
|
+
- Yarn dependencies:
|
132
|
+
- [Libre Baskerville](https://yarnpkg.com/en/package/typeface-libre-baskerville) font, `^0.0.72`;
|
133
|
+
- [Material Design Icons](https://yarnpkg.com/en/package/@mdi/font), `^4.1.95`;
|
134
|
+
- [Montserrat](https://yarnpkg.com/en/package/typeface-montserrat) font, `^0.0.75`;
|
135
|
+
- [Normalize.css](https://yarnpkg.com/en/package/normalize.css), `^8.0.1`;
|
136
|
+
- [Noto Sans](https://yarnpkg.com/en/package/typeface-noto-sans) font, `^0.0.72`;
|
137
|
+
- [Skeleton](https://yarnpkg.com/en/package/getskeleton), `^2.0.4`;
|
138
|
+
- [UnifrakturCook](https://yarnpkg.com/en/package/typeface-unifrakturcook) font, `^0.0.71`.
|
139
|
+
- Layouts:
|
140
|
+
- Adventure;
|
141
|
+
- Chapter;
|
142
|
+
- Default;
|
143
|
+
- Index;
|
144
|
+
- Monster;
|
145
|
+
- Non-Epic Spell;
|
146
|
+
- Post;
|
147
|
+
- Settlement.
|
148
|
+
- Layouts tutorial.
|
149
|
+
- Custom filters:
|
150
|
+
- `AbbrAlignFilter` for getting the abbreviation for alignments;
|
151
|
+
- `AbilityModFilter` for appending modifiers to ability scores;
|
152
|
+
- `AddSignFilter` for prepending `+` on positive modifiers;
|
153
|
+
- `ArticulateFilter` for prepending either *a* or *an* to a word, based on its first word only;
|
154
|
+
- `OrdinalFilter` for appenging the ordinal suffix to the number (*e.g.* `th`, `st`);
|
155
|
+
- `PluralizeFilter` for appending the singular or plural word, depending on the number given (the code must list both forms of the word);
|
156
|
+
- `PrettyNumberFilter` for adding thousands separators.
|
157
|
+
### Change
|
158
|
+
- Bump `nokogiri` to `>= 1.10.4`.
|
159
|
+
|
160
|
+
[Unreleased]: https://github.com/Nereare/Grimoire/compare/1.18.2...HEAD
|
161
|
+
[1.18.2]: https://github.com/Nereare/Grimoire/compare/1.18.0...1.18.2
|
162
|
+
[1.18.0]: https://github.com/Nereare/Grimoire/compare/1.13.13...1.18.0
|
163
|
+
[1.13.13]: https://github.com/Nereare/Grimoire/compare/1.13.10...1.13.13
|
164
|
+
[1.13.10]: https://github.com/Nereare/Grimoire/compare/1.7.6...1.13.10
|
165
|
+
[1.7.6]: https://github.com/Nereare/Grimoire/compare/1.6.5...1.7.6
|
166
|
+
[1.6.5]: https://github.com/Nereare/Grimoire/compare/1.4.5...1.6.5
|
167
|
+
[1.4.4]: https://github.com/Nereare/Grimoire/compare/1.4.4...1.4.5
|
168
|
+
[1.4.4]: https://github.com/Nereare/Grimoire/compare/1.4.2...1.4.4
|
169
|
+
[1.4.2]: https://github.com/Nereare/Grimoire/compare/1.3.2...1.4.2
|
170
|
+
[1.3.2]: https://github.com/Nereare/Grimoire/compare/1.2.1...1.3.2
|
171
|
+
[1.2.1]: https://github.com/Nereare/Grimoire/compare/1.0.0...1.2.1
|
172
|
+
[1.0.0]: https://github.com/Nereare/Grimoire/releases/tag/1.0.0
|
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Hippocratic License Version 2.0
|
2
2
|
|
3
|
-
Copyright `2019-
|
3
|
+
Copyright `2019-2022` `Igor Padoim`
|
4
4
|
|
5
5
|
Licensor hereby grants permission by this license ("License"), free of charge, to any person or entity (the "Licensee") obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
6
|
|
data/OGL.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# Open Game License Version 1.0a
|
2
|
+
|
3
|
+
The following text is the property of Wizards of the Coast, Inc. and is Copyright 2000 Wizards of the Coast, Inc ("Wizards"). All Rights Reserved.
|
4
|
+
|
5
|
+
1. **Definitions:**
|
6
|
+
1. "Contributors" means the copyright and/or trademark owners who have contributed Open Game Content;
|
7
|
+
2. "Derivative Material" means copyrighted material including derivative works and translations (including into other computer languages), potation, modification, correction, addition, extension, upgrade, improvement, compilation, abridgment or other form in which an existing work may be recast, transformed or adapted;
|
8
|
+
3. "Distribute" means to reproduce, license, rent, lease, sell, broadcast, publicly display, transmit or otherwise distribute;
|
9
|
+
4. "Open Game Content" means the game mechanic and includes the methods, procedures, processes and routines to the extent such content does not embody the Product Identity and is an enhancement over the prior art and any additional content clearly identified as Open Game Content by the Contributor, and means any work covered by this License, including translations and derivative works under copyright law, but specifically excludes Product Identity.
|
10
|
+
5. "Product Identity" means product and product line names, logos and identifying marks including trade dress; artifacts; creatures characters; stories, storylines, plots, thematic elements, dialogue, incidents, language, artwork, symbols, designs, depictions, likenesses, formats, poses, concepts, themes and graphic, photographic and other visual or audio representations; names and descriptions of characters, spells, enchantments, personalities, teams, personas, likenesses and special abilities; places, locations, environments, creatures, equipment, magical or supernatural abilities or effects, logos, symbols, or graphic designs; and any other trademark or registered trademark clearly identified as Product identity by the owner of the Product Identity, and which specifically excludes the Open Game Content;
|
11
|
+
6. "Trademark" means the logos, names, mark, sign, motto, designs that are used by a Contributor to identify itself or its products or the associated products contributed to the Open Game License by the Contributor
|
12
|
+
7. "Use", "Used" or "Using" means to use, Distribute, copy, edit, format, modify, translate and otherwise create Derivative Material of Open Game Content.
|
13
|
+
8. "You" or "Your" means the licensee in terms of this agreement.
|
14
|
+
2. **The License:** This License applies to any Open Game Content that contains a notice indicating that the Open Game Content may only be Used under and in terms of this License. You must affix such a notice to any Open Game Content that you Use. No terms may be added to or subtracted from this License except as described by the License itself. No other terms or conditions may be applied to any Open Game Content distributed using this License.
|
15
|
+
3. **Offer and Acceptance:** By Using the Open Game Content You indicate Your acceptance of the terms of this License.
|
16
|
+
4. **Grant and Consideration:** In consideration for agreeing to use this License, the Contributors grant You a perpetual, worldwide, royalty-free, non-exclusive license with the exact terms of this License to Use, the Open Game Content.
|
17
|
+
5. **Representation of Authority to Contribute:** If You are contributing original material as Open Game Content, You represent that Your Contributions are Your original creation and/or You have sufficient rights to grant the rights conveyed by this License.
|
18
|
+
6. **Notice of License Copyright:** You must update the COPYRIGHT NOTICE portion of this License to include the exact text of the COPYRIGHT NOTICE of any Open Game Content You are copying, modifying or distributing, and You must add the title, the copyright date, and the copyright holder's name to the COPYRIGHT NOTICE of any original Open Game Content you Distribute.
|
19
|
+
7. **Use of Product Identity:** You agree not to Use any Product Identity, including as an indication as to compatibility, except as expressly licensed in another, independent Agreement with the owner of each element of that Product Identity. You agree not to indicate compatibility or co-adaptability with any Trademark or Registered Trademark in conjunction with a work containing Open Game Content except as expressly licensed in another, independent Agreement with the owner of such Trademark or Registered Trademark. The use of any Product Identity in Open Game Content does not constitute a challenge to the ownership of that Product Identity. The owner of any Product Identity used in Open Game Content shall retain all rights, title and interest in and to that Product Identity.
|
20
|
+
8. **Identification:** If you distribute Open Game Content You must clearly indicate which portions of the work that you are distributing are Open Game Content.
|
21
|
+
9. **Updating the License:** Wizards or its designated Agents may publish updated versions of this License. You may use any authorized version of this License to copy, modify and distribute any Open Game Content originally distributed under any version of this License.
|
22
|
+
10. **Copy of this License:** You MUST include a copy of this License with every copy of the Open Game Content You Distribute.
|
23
|
+
11. **Use of Contributor Credits:** You may not market or advertise the Open Game Content using the name of any Contributor unless You have written permission from the Contributor to do so.
|
24
|
+
12. **Inability to Comply:** If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Open Game Content due to statute, judicial order, or governmental regulation then You may not Use any Open Game Material so affected.
|
25
|
+
13. **Termination:** This License will terminate automatically if You fail to comply with all terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses shall survive the termination of this License.
|
26
|
+
14. **Reformation:** If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable.
|
27
|
+
15. ### COPYRIGHT NOTICE
|
28
|
+
|
29
|
+
> Open Game License v 1.0a Copyright 2000, Wizards of the Coast, Inc.
|
30
|
+
>
|
31
|
+
> _System Reference Document_ Copyright 2000-2003, Wizards of the Coast, Inc.; Authors Jonathan Tweet, Monte Cook, Skip Williams, Rich Baker, Andy Collins, David Noonan, Rich Redman, Bruce R. Cordell, John D. Rateliff, Thomas Reid, James Wyatt, based on original material by E. Gary Gygax and Dave Arneson.
|
32
|
+
>
|
33
|
+
> _Creature Collection Volume 1_ Copyright 2000, Clark Peterson.
|
34
|
+
>
|
35
|
+
> _Modern System Reference Document_ Copyright 2002, Wizards of the Coast, Inc.; Authors Bill Slavicsek, Jeff Grubb, Rich Redman, Charles Ryan, based on material by Jonathan Tweet, Monte Cook, Skip Williams, Richard Baker,Peter Adkison, Bruce R. Cordell, John Tynes, Andy Collins, and JD Wiker
|
36
|
+
>
|
37
|
+
> _Monster Manual II_ Copyright 2002, Wizards of the Coast, Inc.
|
38
|
+
>
|
39
|
+
> _Swords of Our Fathers_ Copyright 2003, The Game Mechanics.
|
40
|
+
>
|
41
|
+
> _Mutants & Masterminds_ Copyright 2002, Green Ronin Publishing.
|
42
|
+
>
|
43
|
+
> _Unearthed Arcana_ Copyright 2004, Wizards of the Coast, Inc.; Andy Collins, Jesse Decker, David Noonan, Rich Redman.
|
44
|
+
|
45
|
+
END OF LICENSE
|
data/_layouts/adventure.html
CHANGED
@@ -15,10 +15,18 @@ layout: default
|
|
15
15
|
<blockquote class="meta">
|
16
16
|
<h5>{{ page.adventure.name | default: 'Adventure Name' }}</h5>
|
17
17
|
<p class="subtitle">An adventure for {{ page.adventure.char-num | default: 4 | pluralize: 'player character', 'player characters' }} of {% if page.adventure.lvl.range %}levels {{ page.adventure.lvl.min | ordinal }} through {{ page.adventure.lvl.max | ordinal }}{% else %}{{ page.adventure.lvl.lvl | ordinal }} level{% endif %}.</p>
|
18
|
+
{% if page.adventure.max-xp %}
|
18
19
|
<p><strong>Max XP:</strong> {{ page.adventure.max-xp | pretty_number }} xp</p>
|
20
|
+
{% endif %}
|
21
|
+
{% if page.adventure.max-gp %}
|
19
22
|
<p><strong>Max Gold:</strong> {{ page.adventure.max-gp | pretty_number }} gp</p>
|
20
|
-
|
23
|
+
{% endif %}
|
24
|
+
{% if page.adventure.encounters %}
|
25
|
+
<p><strong># Encounters:</strong> {{ page.adventure.encounters | pretty_number }}</p>
|
26
|
+
{% endif %}
|
27
|
+
{% if page.adventure.type %}
|
21
28
|
<p><strong>Type:</strong> {{ page.adventure.type }}</p>
|
29
|
+
{% endif %}
|
22
30
|
{% if page.adventure.questline %}
|
23
31
|
<p><strong>Questline:</strong> <em>{{ page.adventure.questline.name }}</em>{% if page.adventure.questline.chapter %}, Chapter {{ page.adventure.questline.chapter }}{% endif %}</p>
|
24
32
|
{% endif %}
|
data/_layouts/armor.html
CHANGED
@@ -17,14 +17,24 @@ layout: default
|
|
17
17
|
<p><strong>Weight:</strong> {{ page.item.weight }}</p>
|
18
18
|
<p><strong>Base Value:</strong> {{ page.item.value | pretty_number }}gp</p>
|
19
19
|
<p><strong>Armor Class:</strong> {{ page.item.ac.base }}{% if page.item.ac.dex > 0 %} + Dex Mod. (Max {{ page.item.ac.dex }}){% endif %}</p>
|
20
|
-
{% if page.item.
|
21
|
-
|
22
|
-
{%
|
23
|
-
{% if page.item.stealth %}
|
20
|
+
{% if page.item.e5 %}
|
21
|
+
<!-- 5E Specifics -->
|
22
|
+
{% if page.item.e5.stealth %}
|
24
23
|
<p><strong>Disadvantage on Stealth rolls</strong></p>
|
25
24
|
{% endif %}
|
26
|
-
{% if page.item.charges %}
|
27
|
-
<p><strong>Charges:</strong> {{ page.item.charges.number }} (Regains {{ page.item.charges.regain }} {{ page.item.charges.reset }})</p>
|
25
|
+
{% if page.item.e5.charges %}
|
26
|
+
<p><strong>Charges:</strong> {{ page.item.e5.charges.number }} {% if page.item.e5.charges.regain %}(Regains {{ page.item.e5.charges.regain }} charges {{ page.item.e5.charges.reset }}){% else %}(Consumable){% endif %}</p>
|
27
|
+
{% endif %}
|
28
|
+
<!-- /5E Specifics -->
|
29
|
+
{% else %}
|
30
|
+
<!-- 3.5 Specifics -->
|
31
|
+
{% if page.item.e35.str %}
|
32
|
+
<p><strong>Min Strength</strong> {{ page.item.e35.str }}</p>
|
33
|
+
{% endif %}
|
34
|
+
{% if page.item.e35.penalty %}
|
35
|
+
<p><strong>Check Penalty</strong> {{ page.item.e35.penalty }}</p>
|
36
|
+
{% endif %}
|
37
|
+
<!-- /3.5 Specifics -->
|
28
38
|
{% endif %}
|
29
39
|
{% if page.item.attributes %}
|
30
40
|
<ul>
|
data/_layouts/default.html
CHANGED
@@ -46,20 +46,27 @@
|
|
46
46
|
<header>
|
47
47
|
<div class="container">
|
48
48
|
<div class="row">
|
49
|
-
<
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
{%
|
49
|
+
<div class="eight columns">
|
50
|
+
<h1><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></h1>
|
51
|
+
<p class="subtitle">{{ site.description }}</p>
|
52
|
+
{% if site.version or copy or site.license %}
|
53
|
+
<p class="version">
|
54
|
+
{% if site.version %}{{ site.version.text | default: 'Version' }} {{ site.version.version }}.{% endif %}
|
55
|
+
{% if site.version and site.copyright %} {% endif %}
|
56
|
+
{% if site.copyright %}{{ site.copyright.text | default: '©' }} {{ site.copyright.year }} {{ site.copyright.name }}.{% endif %}
|
57
|
+
{% if site.version or site.copyright %}
|
58
|
+
{% assign: version-or-copy = true %}
|
59
|
+
{% endif %}
|
60
|
+
{% if version-or-copy and site.license %} {% endif %}
|
61
|
+
{% if site.license %}{{ site.license.text | default: 'Distributed under the' }} {% if site.license.link %}<a href="{{ site.license.link }}">{% endif %}{{ site.license.name }}{% if site.license.link %}</a>{% endif %}.{% endif %}
|
62
|
+
</p>
|
58
63
|
{% endif %}
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
64
|
+
</div>
|
65
|
+
<div class="four columns">
|
66
|
+
<form action="search.html" method="get">
|
67
|
+
<input type="text" class="u-full-width" name="text" placeholder="Search...">
|
68
|
+
</form>
|
69
|
+
</div>
|
63
70
|
</div>
|
64
71
|
</div>
|
65
72
|
</header>
|
data/_layouts/index.html
CHANGED
@@ -14,18 +14,21 @@ layout: default
|
|
14
14
|
{% assign: ages = site.ages | join: '' %}
|
15
15
|
{% assign: animals = site.animals | join: '' %}
|
16
16
|
{% assign: plants = site.plants | join: '' %}
|
17
|
+
{% assign: items = site.items | join: '' %}
|
17
18
|
|
18
|
-
{% if adventures != '' or chapters != '' or monsters != '' or posts != '' or settlements != '' or spells != '' or ages != '' or animals != '' or plants != '' %}
|
19
|
+
{% if adventures != '' or chapters != '' or monsters != '' or posts != '' or settlements != '' or spells != '' or ages != '' or animals != '' or plants != '' or items != '' %}
|
19
20
|
<h2 class="collections">Collections</h2>
|
20
21
|
{% endif %}
|
21
22
|
|
23
|
+
{% if site.collect_short %}
|
24
|
+
<!-- Collection In-Page Display -->
|
22
25
|
<!-- Adventure List -->
|
23
26
|
{% if adventures != '' %}
|
24
27
|
<div class="collection">
|
25
28
|
<h5>Adventures</h5>
|
26
29
|
<ul>
|
27
30
|
{% for adventure in site.adventures %}
|
28
|
-
<li><strong><a href="{{ adventure.url }}">{{ adventure.adventure.name }}</a>:</strong> {{ adventure.adventure.type | articulate
|
31
|
+
<li><strong><a href="{{ adventure.url }}">{{ adventure.adventure.name }}</a>:</strong> {{ adventure.adventure.type | articulate }} for {{ adventure.adventure.char-num | default: 4 | pluralize: 'player character', 'player characters' }} of {% if adventure.adventure.lvl.range %}levels {{ adventure.adventure.lvl.min | ordinal }} through {{ adventure.adventure.lvl.max | ordinal }}{% else %}{{ adventure.adventure.lvl.lvl | ordinal }} level{% endif %}.</li>
|
29
32
|
{% endfor %}
|
30
33
|
</ul>
|
31
34
|
</div>
|
@@ -37,7 +40,7 @@ layout: default
|
|
37
40
|
<h5>Chapters</h5>
|
38
41
|
<ul>
|
39
42
|
{% for chapter in site.chapters %}
|
40
|
-
<li><strong><a href="{{ chapter.url }}">{{ chapter.title }}</a>:</strong>
|
43
|
+
<li><strong><a href="{{ chapter.url }}">{{ chapter.title }}</a>:</strong> chapter {{ chapter.chapter.number }} from {{ chapter.chapter.book }}.</li>
|
41
44
|
{% endfor %}
|
42
45
|
</ul>
|
43
46
|
</div>
|
@@ -49,7 +52,8 @@ layout: default
|
|
49
52
|
<h5>Monsters</h5>
|
50
53
|
<ul>
|
51
54
|
{% for monster in site.monsters %}
|
52
|
-
|
55
|
+
{% if monster.monster.e5.cr %}{% assign: cr = monster.monster.e5.cr %}{% else %}{% assign: cr = monster.monster.e35.cr %}{% endif %}
|
56
|
+
<li><strong><a href="{{ monster.url }}">{{ monster.monster.name }}</a>:</strong> {{ monster.monster.size | articulate }} {{ monster.monster.type }}, CR {{ cr }}.</li>
|
53
57
|
{% endfor %}
|
54
58
|
</ul>
|
55
59
|
</div>
|
@@ -61,7 +65,7 @@ layout: default
|
|
61
65
|
<h5>Posts</h5>
|
62
66
|
<ul>
|
63
67
|
{% for post in site.posts %}
|
64
|
-
<li><strong><a href="{{ post.url }}">{{ post.title }}</a>:</strong> {{ post.excerpt | strip_html | truncatewords: 50 }}
|
68
|
+
<li><strong><a href="{{ post.url }}">{{ post.title }}</a>:</strong> {{ post.excerpt | strip_html | truncatewords: 50 }}</li>
|
65
69
|
{% endfor %}
|
66
70
|
</ul>
|
67
71
|
</div>
|
@@ -73,7 +77,7 @@ layout: default
|
|
73
77
|
<h5>Settlements</h5>
|
74
78
|
<ul>
|
75
79
|
{% for settlement in site.settlements %}
|
76
|
-
<li><strong><a href="{{ settlement.url }}">{{ settlement.settlement.name }}</a>:</strong> {{ settlement.settlement.type | articulate
|
80
|
+
<li><strong><a href="{{ settlement.url }}">{{ settlement.settlement.name }}</a>:</strong> {{ settlement.settlement.type | articulate }}.</li>
|
77
81
|
{% endfor %}
|
78
82
|
</ul>
|
79
83
|
</div>
|
@@ -85,7 +89,7 @@ layout: default
|
|
85
89
|
<h5>Spells</h5>
|
86
90
|
<ul>
|
87
91
|
{% for spell in site.spells %}
|
88
|
-
<li><strong><a href="{{ spell.url }}">{{ spell.spell.name }}</a>:</strong> {{ spell.spell.
|
92
|
+
<li><strong><a href="{{ spell.url }}">{{ spell.spell.name }}</a>:</strong> {% if spell.spell.e5.level %}{{ spell.spell.e5.level | ordinal }}-level {% endif %}{{ spell.spell.school }}{% if spell.spell.subschool %} ({{ spell.spell.subschool }}){% endif %}{% assign: descs = spell.spell.descriptor | join: '' %}{% if descs != '' %} [{{ spell.spell.descriptor | join: ', ' }}]{% endif %}{% if spell.spell.e35.level %} for {{ spell.spell.e35.level | join: ', ' }}{% endif %}.</li>
|
89
93
|
{% endfor %}
|
90
94
|
</ul>
|
91
95
|
</div>
|
@@ -126,3 +130,54 @@ layout: default
|
|
126
130
|
</ul>
|
127
131
|
</div>
|
128
132
|
{% endif %}
|
133
|
+
|
134
|
+
<!-- Items List -->
|
135
|
+
{% if items != '' %}
|
136
|
+
<div class="collection">
|
137
|
+
<h5>Items</h5>
|
138
|
+
<ul>
|
139
|
+
{% for item in site.items %}
|
140
|
+
<li><strong><a href="{{ item.url }}">{{ item.title }}</a></li>
|
141
|
+
{% endfor %}
|
142
|
+
</ul>
|
143
|
+
</div>
|
144
|
+
{% endif %}
|
145
|
+
|
146
|
+
{% else %}
|
147
|
+
|
148
|
+
<!-- Collection Standalone Display -->
|
149
|
+
<div class="collection long">
|
150
|
+
<ul>
|
151
|
+
{% if adventures %}
|
152
|
+
<li><a href="adventures_collection.html">Adventures</a></li>
|
153
|
+
{% endif %}
|
154
|
+
{% if chapters %}
|
155
|
+
<li><a href="chapters_collection.html">Chapters</a></li>
|
156
|
+
{% endif %}
|
157
|
+
{% if monsters %}
|
158
|
+
<li><a href="monsters_collection.html">Monsters</a></li>
|
159
|
+
{% endif %}
|
160
|
+
{% if posts %}
|
161
|
+
<li><a href="posts_collection.html">Posts</a></li>
|
162
|
+
{% endif %}
|
163
|
+
{% if settlements %}
|
164
|
+
<li><a href="settlements_collection.html">Settlements</a></li>
|
165
|
+
{% endif %}
|
166
|
+
{% if spells %}
|
167
|
+
<li><a href="spells_collection.html">Spells</a></li>
|
168
|
+
{% endif %}
|
169
|
+
{% if ages %}
|
170
|
+
<li><a href="ages_collection.html">Ages</a></li>
|
171
|
+
{% endif %}
|
172
|
+
{% if animals %}
|
173
|
+
<li><a href="animals_collection.html">Animals</a></li>
|
174
|
+
{% endif %}
|
175
|
+
{% if plants %}
|
176
|
+
<li><a href="plants_collection.html">Plants</a></li>
|
177
|
+
{% endif %}
|
178
|
+
{% if items %}
|
179
|
+
<li><a href="items_collection.html">Items</a></li>
|
180
|
+
{% endif %}
|
181
|
+
</ul>
|
182
|
+
</div>
|
183
|
+
{% endif %}
|
data/_layouts/item.html
CHANGED
@@ -13,11 +13,11 @@ layout: default
|
|
13
13
|
|
14
14
|
<div class="four columns">
|
15
15
|
<h2>{{ page.item.name | default: 'Item' }}</h2>
|
16
|
-
<p>{{ page.item.type | default: 'Gadget' }}{% if page.item.rarity %}, {{ page.item.rarity }}{% endif %}{% if page.item.attunement %} (Requires attunement by {{ page.item.attunement }}){% endif %}</p>
|
16
|
+
<p>{{ page.item.type | default: 'Gadget' }}{% if page.item.5e.rarity %}, {{ page.item.5e.rarity }}{% endif %}{% if page.item.5e.attunement %} (Requires attunement by {{ page.item.5e.attunement }}){% endif %}</p>
|
17
17
|
<p><strong>Weight:</strong> {{ page.item.weight }}</p>
|
18
18
|
<p><strong>Base Value:</strong> {{ page.item.value | pretty_number }}gp</p>
|
19
|
-
{% if page.item.charges %}
|
20
|
-
<p><strong>Charges:</strong> {{ page.item.charges.number }} (Regains {{ page.item.charges.regain }} {{ page.item.charges.reset }})</p>
|
19
|
+
{% if page.item.5e.charges %}
|
20
|
+
<p><strong>Charges:</strong> {{ page.item.5e.charges.number }}{% if page.item.5e.charges.regain %} (Regains {{ page.item.5e.charges.regain }} {{ page.item.5e.charges.reset }}){% else %}(Consumable){% endif %}</p>
|
21
21
|
{% endif %}
|
22
22
|
{% if page.item.attributes %}
|
23
23
|
<ul>
|