nereare_grimoire 1.7.6 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +1 -1
- data/README.md +1 -1
- data/_layouts/adventure.html +9 -1
- data/_layouts/age.html +21 -0
- data/_layouts/animal.html +17 -0
- data/_layouts/armor.html +46 -0
- data/_layouts/index.html +40 -1
- data/_layouts/item.html +29 -0
- data/_layouts/monster.html +299 -139
- data/_layouts/plant.html +17 -0
- data/_layouts/settlement.html +5 -3
- data/_layouts/spell.html +44 -13
- data/_layouts/weapon.html +44 -0
- data/_plugins/animal-metadata.rb +98 -0
- data/_plugins/cr-format.rb +80 -0
- data/_plugins/plant-metadata.rb +99 -0
- data/assets/css/stats-block.scss +23 -15
- data/assets/css/style.scss +7 -0
- metadata +51 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06c0a1db37b0b81fc74e64cf0568d3ee6a75d1c8df0180ddd5e3460ffc6824e1
|
4
|
+
data.tar.gz: 5c0e4223f26996b61f6108a8a87a2fe0532e35d0f7a21f001b5d262053763ce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e1fcd57204b07f65afa423bab08e99f3815a861b871e275720a7631042d634496635c7ca1422be673dd5cb05ae69df40557a48f189048d290d50a30ec5af29
|
7
|
+
data.tar.gz: b8993d1e503bd03f2d9d3c8699998b38daf6a828bdf772e67148889907a9802ea81f823318f81f2eefbacae17a666f9eeb76af4edeeef72f2c523075302cdc65
|
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/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![GitHub package.json version](https://img.shields.io/github/package-json/v/Nereare/Grimoire)](https://github.com/Nereare/Grimoire)
|
4
4
|
[![Gem](https://img.shields.io/gem/v/nereare_grimoire)](https://rubygems.org/gems/nereare_grimoire)
|
5
|
-
[![License](https://img.shields.io/badge/license-Hippocratic%20License
|
5
|
+
[![License](https://img.shields.io/badge/license-Hippocratic%20License-red)](LICENSE.md)
|
6
6
|
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE-OF-CONDUCT.md)
|
7
7
|
|
8
8
|
[![Travis (.org)](https://img.shields.io/travis/Nereare/Grimoire)](https://travis-ci.org/Nereare/Grimoire)
|
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/age.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="metadata">
|
6
|
+
<h1>{{ page.title | default: 'Age' }} ({{ page.age.abbr }})</h1>
|
7
|
+
<p class="meta">{{ page.author | default: 'Unknown' }} • {{ page.date | default: '1938-07-27' | date: '%A, %B %e, %Y' }}</p>
|
8
|
+
<p class="chapter">{% if page.age.start %}Began {{ page.age.start | pretty_number }} {{ page.age.abbr }}{% else %}Unknown{% endif %} • {% if page.age.end %}Ended {{ page.age.end | pretty_number }} {{ page.age.abbr }}{% else %}Current day{% endif %}</p>
|
9
|
+
<!-- -->
|
10
|
+
</div>
|
11
|
+
|
12
|
+
{{ content }}
|
13
|
+
|
14
|
+
<div class="chapter links">
|
15
|
+
{% if page.age.previous != false %}
|
16
|
+
<a class="prev" href="{{ page.age.previous | prepend: 'ages/' | append: '.html' | absolute_url }}">Previous Age</a>
|
17
|
+
{% endif %}
|
18
|
+
{% if page.age.next != false %}
|
19
|
+
<a class="next" href="{{ page.age.next | prepend: 'ages/' | append: '.html' | absolute_url }}">Next Age</a>
|
20
|
+
{% endif %}
|
21
|
+
</div>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="metadata">
|
6
|
+
<h1>{{ page.title | default: 'Animal' }}</h1>
|
7
|
+
<p class="meta">{{ page.author | default: 'Unknown' }} • {{ page.date | default: '1938-07-27' | date: '%A, %B %e, %Y' }}</p>
|
8
|
+
<p class="species">{{ page.animal.species | default: 'Ignotum animalis' }}</p>
|
9
|
+
{% if page.animal.linnaean %}<p class="chapter">{{ page.animal.linnaean | join: ' » ' }}</p>{% endif %}
|
10
|
+
|
11
|
+
{% if page.animal.feeding or page.animal.sizes or page.animal.weight or page.animal.habitat or page.animal.iucn or page.animal.domestic or page.animal.note %}
|
12
|
+
<p class="chapter">{{ page.animal | animal_metadata | join: ' • ' }}</p>
|
13
|
+
{% endif %}
|
14
|
+
<!-- -->
|
15
|
+
</div>
|
16
|
+
|
17
|
+
{{ content }}
|
data/_layouts/armor.html
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="eight columns">
|
6
|
+
<div class="metadata">
|
7
|
+
<h1>{{ page.title | default: 'Armor' }}</h1>
|
8
|
+
<p class="meta">{{ page.author | default: 'Unknown' }} • {{ page.date | default: '1938-07-27' | date: '%A, %B %e, %Y' }}</p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="four columns">
|
15
|
+
<h2>{{ page.item.name | default: 'Armor' }}</h2>
|
16
|
+
<p>{{ page.item.type | default: 'Light' }} Armor{% if page.item.rarity %}, {{ page.item.rarity }}{% endif %}{% if page.item.attunement %} (Requires attunement by {{ page.item.attunement }}){% endif %}</p>
|
17
|
+
<p><strong>Weight:</strong> {{ page.item.weight }}</p>
|
18
|
+
<p><strong>Base Value:</strong> {{ page.item.value | pretty_number }}gp</p>
|
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.e5 %}
|
21
|
+
<!-- 5E Specifics -->
|
22
|
+
{% if page.item.e5.stealth %}
|
23
|
+
<p><strong>Disadvantage on Stealth rolls</strong></p>
|
24
|
+
{% endif %}
|
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 -->
|
38
|
+
{% endif %}
|
39
|
+
{% if page.item.attributes %}
|
40
|
+
<ul>
|
41
|
+
{% for attr in page.item.attributes %}
|
42
|
+
<li>{{ attr }}</li>
|
43
|
+
{% endfor %}
|
44
|
+
</ul>
|
45
|
+
{% endif %}
|
46
|
+
</div>
|
data/_layouts/index.html
CHANGED
@@ -11,8 +11,11 @@ layout: default
|
|
11
11
|
{% assign: posts = site.posts | join: '' %}
|
12
12
|
{% assign: settlements = site.settlements | join: '' %}
|
13
13
|
{% assign: spells = site.spells | join: '' %}
|
14
|
+
{% assign: ages = site.ages | join: '' %}
|
15
|
+
{% assign: animals = site.animals | join: '' %}
|
16
|
+
{% assign: plants = site.plants | join: '' %}
|
14
17
|
|
15
|
-
{% if adventures != '' or chapters != '' or monsters != '' or posts != '' or settlements != '' or spells != '' %}
|
18
|
+
{% if adventures != '' or chapters != '' or monsters != '' or posts != '' or settlements != '' or spells != '' or ages != '' or animals != '' or plants != '' %}
|
16
19
|
<h2 class="collections">Collections</h2>
|
17
20
|
{% endif %}
|
18
21
|
|
@@ -87,3 +90,39 @@ layout: default
|
|
87
90
|
</ul>
|
88
91
|
</div>
|
89
92
|
{% endif %}
|
93
|
+
|
94
|
+
<!-- Age List -->
|
95
|
+
{% if ages != '' %}
|
96
|
+
<div class="collection">
|
97
|
+
<h5>Ages</h5>
|
98
|
+
<ul>
|
99
|
+
{% for age in site.ages %}
|
100
|
+
<li><strong><a href="{{ age.url }}">{{ age.title }}</a> ({{ age.age.abbr }})</li>
|
101
|
+
{% endfor %}
|
102
|
+
</ul>
|
103
|
+
</div>
|
104
|
+
{% endif %}
|
105
|
+
|
106
|
+
<!-- Animals List -->
|
107
|
+
{% if animals != '' %}
|
108
|
+
<div class="collection">
|
109
|
+
<h5>Animals</h5>
|
110
|
+
<ul>
|
111
|
+
{% for animal in site.animals %}
|
112
|
+
<li><strong><a href="{{ animal.url }}">{{ animal.title }}</a> (<em>{{ animal.animal.species }}</em>)</li>
|
113
|
+
{% endfor %}
|
114
|
+
</ul>
|
115
|
+
</div>
|
116
|
+
{% endif %}
|
117
|
+
|
118
|
+
<!-- Plants List -->
|
119
|
+
{% if plants != '' %}
|
120
|
+
<div class="collection">
|
121
|
+
<h5>Plants</h5>
|
122
|
+
<ul>
|
123
|
+
{% for plant in site.plants %}
|
124
|
+
<li><strong><a href="{{ plant.url }}">{{ plant.title }}</a> (<em>{{ plant.plant.species }}</em>)</li>
|
125
|
+
{% endfor %}
|
126
|
+
</ul>
|
127
|
+
</div>
|
128
|
+
{% endif %}
|
data/_layouts/item.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="eight columns">
|
6
|
+
<div class="metadata">
|
7
|
+
<h1>{{ page.title | default: 'Item' }}</h1>
|
8
|
+
<p class="meta">{{ page.author | default: 'Unknown' }} • {{ page.date | default: '1938-07-27' | date: '%A, %B %e, %Y' }}</p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="four columns">
|
15
|
+
<h2>{{ page.item.name | default: 'Item' }}</h2>
|
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
|
+
<p><strong>Weight:</strong> {{ page.item.weight }}</p>
|
18
|
+
<p><strong>Base Value:</strong> {{ page.item.value | pretty_number }}gp</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
|
+
{% endif %}
|
22
|
+
{% if page.item.attributes %}
|
23
|
+
<ul>
|
24
|
+
{% for attr in page.item.attributes %}
|
25
|
+
<li>{{ attr }}</li>
|
26
|
+
{% endfor %}
|
27
|
+
</ul>
|
28
|
+
{% endif %}
|
29
|
+
</div>
|