Skip to content

Commit

Permalink
Dungeon pages updates (#114)
Browse files Browse the repository at this point in the history
* Dungeon updates

* Better team display

* Fix border colors

* Fully working table this time I promise

* Add requirements to boss trainers
  • Loading branch information
CypherX authored Aug 11, 2023
1 parent 52d8fec commit 1e928a7
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 113 deletions.
7 changes: 5 additions & 2 deletions bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -12497,7 +12497,7 @@ const requirementHints = (requirement, includeMarkdown = true) => {
const hints = [];
requirement.forEach(req => {
if (req instanceof MultiRequirement) {
hints.push(...requirementHints(req.requirements));
hints.push(...requirementHints(req.requirements, includeMarkdown));
} else {
let hint = req.hint();
switch (req.constructor) {
Expand Down Expand Up @@ -12525,6 +12525,9 @@ const requirementHints = (requirement, includeMarkdown = true) => {
case TemporaryBattleRequirement:
hint = `Defeated ${includeMarkdown ? `[[Temporary_Battles/${req.battleName}]]` : req.battleName}.`;
break;
case SpecialEventRequirement:
hint = `The ${includeMarkdown ? `[[Events/${req.specialEventName}]]` : req.specialEventName} event must be active.`;
break;
case DevelopmentRequirement:
hint = 'Not currently available.'
break;
Expand Down Expand Up @@ -14416,7 +14419,7 @@ const searchOptions = [
type: 'Towns',
page: '',
},
...Object.values(TownList).map(t => ({
...Object.values(TownList).filter(t => !(t instanceof DungeonTown)).map(t => ({
display: t.name,
type: 'Towns',
page: t.name,
Expand Down
Loading

0 comments on commit 1e928a7

Please sign in to comment.