Skip to content

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Pf2eTools committed Mar 23, 2022
1 parent db76906 commit 5949704
Show file tree
Hide file tree
Showing 253 changed files with 18,294 additions and 34,387 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- run: npm run build
- run: npm run build:seo
- run: npm run build:deploy:prod
- run: npm run build:deploy:prod:gtag
- run: npm run build:deploy:prod:cdn

- name: Add files
run: git add -A
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
- name: Upload Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
body: "See the [Changelogs](https://pf2etools.com/changelog.html) page."
artifacts: "pf2ools-${{ env.RELEASE_VERSION }}.zip"
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions Pf2eTools.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/fontawesome.css">
<link rel="stylesheet" href="css/jquery-ui.css">
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Pf2e.Tools
[![Automated Build](https://github.com/Pf2eTools/Pf2eTools.github.io/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/Pf2eTools/Pf2eTools.github.io/actions/workflows/build.yml)
[![Automated Build](https://github.com/Pf2eToolsOrg/Pf2eTools/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/Pf2eToolsOrg/Pf2eTools/actions/workflows/build.yml)

Visit the main site (not yet) or go to the unofficial GitHub [mirror](https://pf2etools.github.io/Pf2eTools.html).
Visit the main site (not yet) or go to the unofficial GitHub [mirror](https://pf2etools.com).

[Join the Pf2eTools Discord here!](https://discord.gg/2hzNxErtVu)

Expand Down Expand Up @@ -77,7 +77,7 @@ Avoid binding ALT-modified events, as these are not available under MacOS or var

### Dev Server

Do `npm run serve:dev` to launch a local dev server that serves the project files on [`http://localhost:8080/Pf2eTools.html`](http://localhost:8080/Pf2eTools.html).
Do `npm run serve:dev` to launch a local dev server that serves the project files on [`http://localhost:8080/index.html`](http://localhost:8080/index.html).

### Version bump

Expand Down
1 change: 1 addition & 0 deletions abilities.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Abilities - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Actions - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions adventure.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Adventure - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions adventures.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Adventures - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions afflictions.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Afflictions - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions ancestries.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Ancestries - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions archetypes.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Archetypes - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions backgrounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Backgrounds - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions bestiary.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Bestiary - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions blacklist.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Content Blacklist - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions book.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Rules - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions books.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Books - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
9 changes: 9 additions & 0 deletions build/deploy-prep-prod--gtag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

echo "Adding gtags."

find . -maxdepth 1 -type f -name '*.html' -print0 |
while IFS= read -r -d $'\0' line; do
sed -i -e '/<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->/a <script async src="https://www.googletagmanager.com/gtag/js?id=G-675SELNZR4"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag("js", new Date());gtag("config", "G-675SELNZR4");</script>' $line
done

1 change: 1 addition & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Changelog - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Classes - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions companionsfamiliars.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Companions &amp; Familiars - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
1 change: 1 addition & 0 deletions conditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<title>Conditions - Pf2eTools</title>

<!--PF2ETOOLS_SCRIPT_HEAD_ANCHOR-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui-slider-pips.css">
Expand Down
4 changes: 2 additions & 2 deletions css/style.css

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions data/abilities.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
{
"ability": [
{
"name": "Moon Frenzy",
"page": 329,
"source": "Bst",
"traits": [
"Polymorph",
"Primal",
"Transmutation"
],
"entries": [
"When a full moon appears in the night sky, the werecreature must enter hybrid form, can't {@ability Change Shape} thereafter, becomes one size larger, increases its reach by 5 feet, and increases the damage of its jaws by 2. When the moon sets or the sun rises, the werecreature returns to humanoid form and is fatigued for 2d4 hours."
]
},
{
"name": "Golem Antimagic",
"source": "Bst",
"page": 184,
"entries": [
"A golem is immune to spells and magical abilities other than its own, but each type of golem is affected by a few types of magic in special ways. These exceptions are listed in shortened form in the golem's stat block, with the full rules appearing here. If an entry lists multiple types (such as \"cold and water\"), either type of spell can affect the golem.",
{
"type": "list",
"items": [
"{@bold Harmed By} Any magic of this type that targets the golem causes it to take the listed amount of damage (this damage has no type) instead of the usual effect. If the golem starts its turn in an area of magic of this type or is affected by a persistent effect of the appropriate type, it takes the damage listed in the parenthetical.",
"{@bold Healed By} Any magic of this type that targets the golem makes the golem lose the {@condition slowed} condition and gain HP equal to half the damage the spell would have dealt. If the golem starts its turn in an area of this type of magic, it gains the HP listed in the parenthetical.",
"{@bold Slowed By} Any magic of this type that targets the golem causes it to be {@condition slowed 1} for {@dice 2d6} rounds instead of the usual effect. If the golem starts its turn in an area of this type of magic, it's {@condition slowed 1} for that round.",
"{@bold Vulnerable To} Each golem is vulnerable to one or more specific spells, with the effects described in its stat block."
]
}
]
},
{
"name": "All-Around Vision",
"source": "Bst",
Expand Down Expand Up @@ -116,6 +146,27 @@
"The monster changes its shape indefinitely. It can use this action again to return to its natural shape or adopt a new shape. Unless otherwise noted, a monster cannot use Change Shape to appear as a specific individual. Using Change Shape counts as creating a disguise for the Impersonate use of {@skill Deception}. The monster's transformation automatically defeats Perception DCs to determine whether the creature is a member of the ancestry or creature type into which it transformed, and it gains a +4 status bonus to its {@skill Deception} DC to prevent others from seeing through its disguise. Change Shape abilities specify what shapes the monster can adopt. The monster doesn't gain any special abilities of the new shape, only its physical form. For example, in each shape, it replaces its normal Speeds and Strikes, and might potentially change its senses or size. Any changes are listed in its stat block."
]
},
{
"name": "Curse of the Werecreature",
"source": "Bst",
"page": 329,
"traits": [
"Curse",
"Necromancy",
"Primal"
],
"entries": [
"This curse affects only humanoids.",
{
"type": "affliction",
"savingThrow": "Fortitude",
"DC": "is the standard DC for the {@table DCs by Level||werecreature's new level \u2013 1}",
"entries": [
"On each full moon, the cursed creature must succeed at another Fortitude save or turn into the same kind of {@filter werecreature|bestiary||creature=werecreature} until dawn. The creature is under the GM's control and goes on a rampage for half the night before falling {@condition unconscious} until dawn"
]
}
]
},
{
"name": "Child Care",
"source": "GMG",
Expand Down
2 changes: 1 addition & 1 deletion data/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,7 @@
"type": "successDegree",
"entries": {
"Success": [
"If the creature could see you, you're now hidden from it instead of observed. If you were hidden from or undetected by the creature, you retain that condition.",
"If the creature could see you, you're now {@condition hidden} from it instead of {@condition observed}. If you were {@condition hidden} from or {@condition undetected} by the creature, you retain that condition.",
"If you successfully become hidden to a creature but then cease to have cover or greater cover against it or be concealed from it, you become observed again. You cease being hidden if you do anything except {@action Hide|CRB}, {@action Sneak|CRB}, or {@action Step|CRB}. If you attempt to {@action Strike|CRB} a creature, the creature remains {@condition flat-footed|CRB} against that attack, and you then become {@condition observed|CRB}. If you do anything else, you become {@condition observed|CRB} just before you act unless the GM determines otherwise. The GM might allow you to perform a particularly unobtrusive action without being noticed, possibly requiring another {@skill Stealth} check.",
"If a creature uses Seek to make you observed by it, you must successfully Hide to become hidden from it again."
]
Expand Down
6 changes: 4 additions & 2 deletions data/afflictions.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,8 @@
{
"type": "affliction",
"level": "your level",
"savingThrow": "Will save against a {@table DC Adjustments||very hard} {@table DCs by Level||DC of the curse's level}",
"savingThrow": "Will",
"DC": "save against a {@table DC Adjustments||very hard} {@table DCs by Level||DC of the curse's level}",
"stages": [
{
"stage": 1,
Expand Down Expand Up @@ -785,7 +786,8 @@
"This curse affects only humanoids.",
{
"type": "affliction",
"savingThrow": "Fortitude DC is the standard DC for the {@table DCs by Level||werecreature's new level \u2013 1}",
"savingThrow": "Fortitude",
"DC": "is the standard DC for the {@table DCs by Level||werecreature's new level \u2013 1}",
"entries": [
"On each full moon, the cursed creature must succeed at another Fortitude save or turn into the same kind of {@filter werecreature|bestiary||creature=werecreature} until dawn. The creature is under the GM's control and goes on a rampage for half the night before falling {@condition unconscious} until dawn."
]
Expand Down
2 changes: 1 addition & 1 deletion data/ancestries/ancestry-anadi.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"Transmutation"
],
"entries": [
"You change into your human or spider shape. Each shape has a specific, persistent appearance. In your human shape, you can't use unarmed attacks granted by your ancestry. In your spider shape, you aren't {@condition flat-footed} when {@action Climb||climbing}, but you can't use weapons, shields, or other held items of any sort nor can you take any action that has the {@trait manipulate} trait."
"You change into your human or spider shape. Each shape has a specific, persistent appearance. In your human shape, you can't use unarmed attacks granted by your ancestry. You aren't flat footed when climbing in your spider shape. However, in your spider shape you can't use weapons, shields, or other held items of any sort, and you are limited in what actions you can take that have the manipulate trait. The only manipulate actions you can take are to {@action Cast a Spell} with somatic components, weave silk or webbing, or simple {@action Interact} actions such as opening an unlocked door. Your spider legs can't perform actions that require fingers or significant manual dexterity, including any action that would require a check to accomplish. The GM might determine other {@trait manipulate} actions are appropriate for your spider legs."
],
"type": "ability",
"style": "compact",
Expand Down
Loading

0 comments on commit 5949704

Please sign in to comment.