Merge branch 'master' into release

release
Zoltan the DM 2023-03-14 17:02:12 -07:00
commit 922ffa6a87
3 changed files with 23 additions and 28 deletions

View File

@ -1,6 +1,10 @@
#0.9.0 #0.9.0
- Button on character sheets for automatically using spell level (works on default and TidySheet5e) - Button on character sheets for opening a search with class and spell level (works on default and TidySheet5e)
- added filters for subclasses and backgrounds [League-of-Foundry-Developers/compendium-browser#48](https://github.com/League-of-Foundry-Developers/compendium-browser/issues/48)
- Additional searches for sub-features - Additional searches for sub-features
- Merged PR [League-of-Foundry-Developers/compendium-browser#45](https://github.com/League-of-Foundry-Developers/compendium-browser/pull/45)
- Used more DnD5e loaclization tags. Should be less work to translate, also defaults localization to tag name
- Fixed item rarity search in Foundry 10+ [League-of-Foundry-Developers/compendium-browser#54]https://github.com/League-of-Foundry-Developers/compendium-browser/issues/54
#0.8.2 #0.8.2
- Fixed Class searching for spells - issue: #43 - Fixed Class searching for spells - issue: #43

View File

@ -3,24 +3,13 @@ Tired of scrolling compendia? Easily browse and filter for spells, feats, items,
Compendium Browser is faster and better-behaved; **it no longer loads all the compendia into memory on start-up** (which sometimes hung servers because of memory or CPU requirements). Instead, it filters and loads on-demand, as well as giving you a Module Setting to control how many rows are loaded at a time. Compendium Browser is faster and better-behaved; **it no longer loads all the compendia into memory on start-up** (which sometimes hung servers because of memory or CPU requirements). Instead, it filters and loads on-demand, as well as giving you a Module Setting to control how many rows are loaded at a time.
[Patch Notes](https://raw.githubusercontent.com/League-of-Foundry-Developers/compendium-browser/master/Patchnotes.md)
## v0.8:
- Compatibility with Foundry V10
- Added check for "Compendium Folders" module 'phantom' actors (#[CF_tempEntity]) to filter out of NPC list.
- Fix to handle un-migrated compendiums (they get auto-excluded from the browser even if selected)
## v0.7:
- Supports Foundry 0.8.x and Foundry 9
- Faster searches using Foundry 0.8.x queries (thanks ZoltantheDM!)
- Faster NPC searches using getIndex() (thanks kyleady!)
## v0.6:
- Additional and Optional Features spells from Tasha's
- Spanish, German translations
## Summary ## Summary
* **Authors**: Discord: Spetzel#0103; Felix (felix.mueller.86@web.de); ZoltantheDM * **Authors**: Discord: Spetzel#0103; Felix (felix.mueller.86@web.de); ZoltantheDM (Zoltan#8700); eduardopato41
* **Version**: 0.7.2 * **Version**: 0.9.0
* **Foundry VTT Compatibility**: 0.8.6-9 * **Foundry VTT Compatibility**: 9-10
* **System Compatibility (If applicable)**: dnd5e * **System Compatibility (If applicable)**: dnd5e
* **Translation Support**: en, de (thanks https://github.com/CarnVanBeck), es (thanks https://github.com/JJBocanegra), fr, ja, pt-BR * **Translation Support**: en, de (thanks https://github.com/CarnVanBeck), es (thanks https://github.com/JJBocanegra), fr, ja, pt-BR
[Patch Notes](https://raw.githubusercontent.com/League-of-Foundry-Developers/compendium-browser/master/Patchnotes.md)
## Installation ## Installation
1. Go to the Add-on Modules tab in Foundry Setup 1. Go to the Add-on Modules tab in Foundry Setup
@ -36,9 +25,6 @@ This application enables anyone to add their own custom spell or npc filters via
All filters featured in the app are included in this manner and can be found in the compendium-browser.js at around line 726. All filters featured in the app are included in this manner and can be found in the compendium-browser.js at around line 726.
## Contribution
If you feel like supporting my work, feel free to leave a tip at my paypal felix.mueller.86@web.de
## License ## License
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Compendium Browser - a module for Foundry VTT -</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/syl3r86?tab=repositories" property="cc:attributionName" rel="cc:attributionURL">Felix Müller</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>. <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Compendium Browser - a module for Foundry VTT -</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/syl3r86?tab=repositories" property="cc:attributionName" rel="cc:attributionURL">Felix Müller</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.

View File

@ -1540,16 +1540,21 @@ class CompendiumBrowser extends Application {
} }
if (CompendiumBrowser.isFoundryV10Plus) {
this.addItemFilter("CMPBrowser.MagicItems", "DND5E.Rarity", 'system.rarity', 'select', CONFIG.DND5E.itemRarity);
}
else {
//0.7.2c: Fix rarity encoding (uses camelcase names) //0.7.2c: Fix rarity encoding (uses camelcase names)
this.addItemFilter("CMPBrowser.MagicItems", "CMPBrowser.Rarity", 'data.rarity', 'select', this.addItemFilter("CMPBrowser.MagicItems", "DND5E.Rarity", 'data.rarity', 'select',
{ {
common: "CMPBrowser.RarityCommon", common: "DND5E.ItemRarityCommon",
uncommon: "CMPBrowser.RarityUncommon", uncommon: "DND5E.ItemRarityUncommon",
rare: "CMPBrowser.RarityRare", rare: "DND5E.ItemRarityRare",
veryRare: "CMPBrowser.RarityVeryRare", veryRare: "DND5E.ItemRarityVeryRare",
legendary: "CMPBrowser.RarityLegendary" legendary: "DND5E.ItemRarityLegendary",
}); });
} }
}
async addFeatFilters() { async addFeatFilters() {