Skip to content

Commit

Permalink
v1.210.4
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGiddyLimit committed Sep 20, 2024
1 parent cbec858 commit 2b190e7
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion data/bestiary/bestiary-wbtw.json
Original file line number Diff line number Diff line change
Expand Up @@ -2553,7 +2553,7 @@
"speed": {
"walk": 30,
"climb": 30,
"fly": 30,
"fly": 60,
"swim": 30
},
"str": 20,
Expand Down
5 changes: 5 additions & 0 deletions data/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2769,5 +2769,10 @@
"date": "2024-09-20",
"title": "Smoke 'em while you Got 'em",
"txt": "- Added \"Legacy\" toggle to Omnisearch\n- Made various search modals (DM Screen panel \"+\" buttons; DM Screen Encounter Builder \"Add Monster\" button; Creature Homebrew Builder search for spells; etc.) respect current Omnisearch filter toggles\n- Added legacy markers to adventures/books in nav menu; adventures/books list pages\n- Fixed Recipe page scaler \"In the original recipe...\" text showing scaled values\n- Fixed SEO pages failing to load\n- Fixed copying Initiative Tracker links on non-root hosted instance producing broken links (thanks @ Formulaic)\n- (Brew) Improved Bestiary Text Converter handling of various input formats\n- (Brew) Improved Race Text Converter handling of various input formats\n- (Brew) Added various \"action\" tags, for rendering parts of actions: `{@actSave <ability>}`, `{@actSaveFail}`, `{@actSaveSuccess}`, `{@actTrigger}`, `{@actResponse}`.\n- (Brew) Added optional `preserve.prerequisite`/`preserve.consumes` to `refOptionalfeature` entries, allowing additional text to be rendered\n- (Brew) Fixed \"missing types/properties\" crash when attempting to load items page with old homebrew/prerelease content active _[an error notification is now shown instead]_\n- (Brew) Fixed various Item Text Converter regressions\n- (Brew) (Maybe?) fixed Items Page crash when loading with >1000 homebrews active _[:^)]_\n- (Fixed typos/added tags)"
},
{
"ver": "1.210.4",
"date": "2024-09-20",
"txt": "- (Fixed typos/added tags)"
}
]
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ <h3>FAQ</h3>
<p><b>Can I contribute?</b> The source is available on <a href="https://github.com/5etools-mirror-3/5etools-src/" rel="noopener noreferrer">GitHub</a><sup class="ve-small">[<a href="https://github.com/5etools-mirror-3/5etools-src/" rel="noopener noreferrer">current</a>/<a href="https://github.com/5etools-mirror-3/5etools-2014-src/" rel="noopener noreferrer">2014</a>]</sup>. See the <a href="https://github.com/5etools-mirror-3/5etools-src/blob/main/CONTRIBUTING.md" rel="noopener noreferrer">Contributing</a> guidance.</p>
<p><b>Browser and device support?</b> The latest desktop versions of Chrome and Firefox.</p>
<p><b>Where's my stuff?</b> There's no account system. Everything is stored in cookies. If you wipe those, or close your incognito window, it's gone forever. You can download your data for safekeeping via the Settings menu.</p>
<p><b>Other versions?</b> A <a href="https://2014.5e.tools/" rel="noopener noreferrer">&quot;2014&quot; version</a> is available, as well as an <a href="https://get.5e.tools/" rel="noopener noreferrer">archive of releases</a>.</p>
<p><b>Anything else I should know?</b> Hold <kbd>SHIFT</kbd> when hovering to lock a window in place. Everything has tooltips. You will forever be a DM.</p>

<h3>Self-Hosting</h3>
Expand Down
11 changes: 9 additions & 2 deletions js/utils-foundry.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export class UtilsFoundryItem {
"rings of",
"robe of",
"slippers of",
].map(it => new RegExp(`(?:[ (]|^)${it}`, "i"));
"signet",
].map(it => new RegExp(`\\b${it}\\b`, "i"));

static getFoundryItemType (item) {
const itemTypeAbv = item.type ? DataUtil.itemType.unpackUid(item.type).abbreviation : null;
Expand Down Expand Up @@ -76,6 +77,12 @@ export class UtilsFoundryItem {
|| itemTypeAbv === Parser.ITM_TYP_ABV__SPELLCASTING_FOCUS
) return this._TYPE_EQUIPMENT;

if (
itemTypeAbv === Parser.ITM_TYP_ABV__WAND
|| itemTypeAbv === Parser.ITM_TYP_ABV__ROD
|| itemTypeAbv === Parser.ITM_TYP_ABV__RING
) return this._TYPE_EQUIPMENT;

if (item.containerCapacity) return this._TYPE_CONTAINER;

// Classify some "other" items as "trinket"-type equipment
Expand All @@ -95,7 +102,7 @@ export class UtilsFoundryItem {
|| item.wondrous
) return this._TYPE_EQUIPMENT;

// Try to process various equipment-sounding item names as equipment (e.g. rings, bracers)
// Try to process various equipment-sounding item names as equipment (e.g. gloves, bracers)
if (this._ITEM_EQUIPMENT_NAME_RES.some(it => it.test(item.name))) return this._TYPE_EQUIPMENT;

// Treat everything else as loot
Expand Down
2 changes: 1 addition & 1 deletion js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// in deployment, `IS_DEPLOYED = "<version number>";` should be set below.
globalThis.IS_DEPLOYED = undefined;
globalThis.VERSION_NUMBER = /* 5ETOOLS_VERSION__OPEN */"1.210.3"/* 5ETOOLS_VERSION__CLOSE */;
globalThis.VERSION_NUMBER = /* 5ETOOLS_VERSION__OPEN */"1.210.4"/* 5ETOOLS_VERSION__CLOSE */;
globalThis.DEPLOYED_IMG_ROOT = undefined;
// for the roll20 script to set
globalThis.IS_VTT = false;
Expand Down
1 change: 1 addition & 0 deletions node/generate-pages/template/page/template-page-index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ Unearthed Arcana content can be accessed by cycling the &quot;All Sources&quot;
<p><b>Can I contribute?</b> The source is available on <a href="https://github.com/5etools-mirror-3/5etools-src/" rel="noopener noreferrer">GitHub</a><sup class="ve-small">[<a href="https://github.com/5etools-mirror-3/5etools-src/" rel="noopener noreferrer">current</a>/<a href="https://github.com/5etools-mirror-3/5etools-2014-src/" rel="noopener noreferrer">2014</a>]</sup>. See the <a href="https://github.com/5etools-mirror-3/5etools-src/blob/main/CONTRIBUTING.md" rel="noopener noreferrer">Contributing</a> guidance.</p>
<p><b>Browser and device support?</b> The latest desktop versions of Chrome and Firefox.</p>
<p><b>Where's my stuff?</b> There's no account system. Everything is stored in cookies. If you wipe those, or close your incognito window, it's gone forever. You can download your data for safekeeping via the Settings menu.</p>
<p><b>Other versions?</b> A <a href="https://2014.5e.tools/" rel="noopener noreferrer">&quot;2014&quot; version</a> is available, as well as an <a href="https://get.5e.tools/" rel="noopener noreferrer">archive of releases</a>.</p>
<p><b>Anything else I should know?</b> Hold <kbd>SHIFT</kbd> when hovering to lock a window in place. Everything has tooltips. You will forever be a DM.</p>

<h3>Self-Hosting</h3>
Expand Down
1 change: 1 addition & 0 deletions node/generate-seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import fs from "fs";
import "../js/parser.js";
import "../js/utils.js";
import "../js/utils-dataloader.js";
import "../js/utils-config.js";
import "../js/render.js";
import "../js/render-dice.js";
import * as ut from "./util.js";
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "5etools",
"author": "TheGiddyLimit",
"version": "1.210.3",
"version": "1.210.4",
"license": "MIT",
"description": "A site dedicated to making playing games with your friends as easy as possible.",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion search/index-foundry.json

Large diffs are not rendered by default.

0 comments on commit 2b190e7

Please sign in to comment.