Skip to content

Commit a3d67eb

Browse files
committed
v0.87.0
1 parent a175cfb commit a3d67eb

File tree

11 files changed

+59
-57
lines changed

11 files changed

+59
-57
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Version 0.87.0
4+
5+
- Added Afterword Acres Location HUD module
6+
- Added Epilogue Falls Location HUD module
7+
- Updated data for new areas
8+
39
## Version 0.86.1
410

511
- Updated data for new areas

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mousehunt-improved",
3-
"version": "0.86.1",
3+
"version": "0.87.0",
44
"description": "Improve your MouseHunt experience.",
55
"author": "Brad Parbs <brad@bradparbs.com> (https://bradparbs.com/)",
66
"license": "MIT",

src/data/update-summary.json

Lines changed: 4 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,11 @@
22
"summary": "",
33
"details": [
44
{
5-
"title": "Better Journal",
5+
"title": "",
66
"items": [
7-
"Updated styles"
8-
]
9-
},
10-
{
11-
"title": "Better Marketplace",
12-
"items": [
13-
"Added 'Quick Sell' beta feature"
14-
]
15-
},
16-
{
17-
"title": "Better Maps",
18-
"items": [
19-
"Added 'Catch Dates' beta feature",
20-
"Added 'Draggable Highlight' beta feature",
21-
"Made mouse highlight info popup static, so it can be visible"
22-
]
23-
},
24-
{
25-
"title": "Location HUDs: Table of Contents",
26-
"items": [
27-
"Added Rainbow Quill support to simulator",
28-
"Added random Scrambles quote to blank page when starting writing",
29-
"Updated styles"
30-
]
31-
},
32-
{
33-
"title": "Show Auras",
34-
"items": [
35-
"Updated styles"
36-
]
37-
},
38-
{
39-
"title": "Settings",
40-
"items": [
41-
"Updated all settings icons for consistency",
42-
"Updated settings page styles"
43-
]
44-
},
45-
{
46-
"title": "Other",
47-
"items": [
48-
"Removed 'Removed Settings: Column' beta/experimental feature",
49-
"Removed 'Removed Troll Mode' beta/experimental feature",
50-
"Removed 'Removed Prologue Pond: Normal boat color' Location HUD option",
51-
"Deprecated 'Dark Mode Updates & Tweaks (MHCT/Dark Mode Extension)' module. If you have it enabled, it will continue to work, otherwise it won't be shown in the settings page"
7+
"Added Afterword Acres Location HUD module",
8+
"Added Epilogue Falls Location HUD module",
9+
"Updated data for new areas"
5210
]
5311
}
5412
]

src/modules/experiments/modules/full-mice-images-no-border/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.entry.catchsuccessloot .journalimage img,
33
.entry.catchsuccessprize .journalimage img {
44
width: 100%;
5-
max-height: 1000px;
5+
max-height: 100px;
66
filter: saturate(1.4) hue-rotate(5deg);
77
border: none;
88
mix-blend-mode: darken;

src/modules/location-huds/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import styles from './styles.css';
2020
// Locations
2121
/* eslint-disable camelcase */
2222
import acolyte_realm from './locations/acolyte-realm';
23+
import afterword_acres from './locations/afterword-acres';
2324
import ancient_city from './locations/ancient-city';
2425
import balacks_cove from './locations/balacks-cove';
2526
import bazaar from './locations/bazaar';
@@ -35,6 +36,7 @@ import dojo from './locations/dojo';
3536
import dracano from './locations/dracano';
3637
import draconic_depths from './locations/draconic-depths';
3738
import elub_shore from './locations/elub-shore';
39+
import epilogue_falls from './locations/epilogue-falls';
3840
import floating_islands from './locations/floating-islands';
3941
import forbidden_grove from './locations/forbidden-grove';
4042
import foreword_farm from './locations/foreword-farm';
@@ -143,6 +145,7 @@ const main = () => {
143145
/* eslint-disable camelcase */
144146
const locationHandlers = {
145147
acolyte_realm,
148+
afterword_acres,
146149
ancient_city,
147150
balacks_cove,
148151
bazaar,
@@ -158,6 +161,7 @@ const main = () => {
158161
draconic_depths,
159162
dracano,
160163
elub_shore,
164+
epilogue_falls,
161165
floating_islands,
162166
forbidden_grove,
163167
foreword_farm,
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { addHudStyles } from '@utils';
2+
import folkloreForest from '../../shared/folklore-forest';
3+
4+
import regionStyles from '../../shared/folklore-forest/styles.css';
5+
6+
/**
7+
* Initialize the module.
8+
*/
9+
export default async () => {
10+
addHudStyles([regionStyles]);
11+
12+
folkloreForest();
13+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import folkloreForest from '../../shared/folklore-forest';
2+
3+
import regionStyles from '../../shared/folklore-forest/styles.css';
4+
5+
/**
6+
* Initialize the module.
7+
*/
8+
export default async () => {
9+
addHudStyles([regionStyles]);
10+
11+
folkloreForest();
12+
};

src/modules/location-huds/settings.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ export default async () => {
8282
}
8383

8484
optionsToReturn.push(
85+
{
86+
name: '',
87+
id: 'option-seperator',
88+
settings: {
89+
type: 'blank',
90+
}
91+
},
8592
{
8693
id: 'location-huds.location-hud-toggle',
8794
title: 'Enable quick toggle (top menu bar)',

src/modules/settings/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,10 @@
316316
background-color: transparent;
317317
}
318318

319-
#mousehunt-improved-settings-location-hud-wrapper .PagePreferences__settingsList:nth-child(60n),
320319
#mousehunt-improved-settings-location-hud-wrapper .PagePreferences__settingsList:nth-child(61n),
321-
#mousehunt-improved-settings-location-hud-wrapper .PagePreferences__settingsList:nth-child(64n),
322-
#mousehunt-improved-settings-location-hud-wrapper .PagePreferences__settingsList:nth-child(65n) {
320+
#mousehunt-improved-settings-location-hud-wrapper .PagePreferences__settingsList:nth-child(65n),
321+
#mousehunt-improved-settings-location-hud-wrapper .PagePreferences__settingsList:nth-child(66n),
322+
#mousehunt-improved-settings-location-hud-wrapper .PagePreferences__settingsList:nth-child(69n) {
323323
background-color: #eee;
324324
}
325325

src/updates/index.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {
88
onEvent,
99
saveSetting,
1010
setGlobal,
11-
showLoadingPopup
11+
showLoadingPopup,
12+
updateCaches
1213
} from '@utils';
1314

1415
import * as imported from './versions/*.js'; // eslint-disable-line import/no-unresolved
@@ -40,9 +41,10 @@ const getVersionUpdates = () => {
4041
const neededUpdates = [];
4142

4243
const updatesCompleted = getSetting('mh-improved-updates-completed', []);
43-
for (const versionUpdate in versionUpdates) {
44-
if (! updatesCompleted.includes(versionUpdate.version)) {
45-
neededUpdates.push(versionUpdate);
44+
for (const versionUpdate in Object.values(versionUpdates)) {
45+
const version = versionUpdates[versionUpdate].version;
46+
if (! updatesCompleted.includes(version)) {
47+
neededUpdates.push(versionUpdates[versionUpdate]);
4648
}
4749
}
4850

@@ -95,7 +97,7 @@ const update = async (previousVersion, newVersion) => {
9597
debuglog('update-migration', `Updating from ${previousVersion} to ${newVersion}`);
9698

9799
const updates = getVersionUpdates();
98-
const needsToRunUpdate = Object.keys(updates).length > 0;
100+
const needsToRunUpdate = updates.length > 0;
99101

100102
const isFreshInstall = '0.0.0' === previousVersion;
101103

0 commit comments

Comments
 (0)