easter-egg-quest 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -729,8 +729,8 @@ class HiddenEntry {
729
729
  this._injectShimmerStyles();
730
730
  this._createHintContainer();
731
731
  const hints = this.script.hiddenEntryHints;
732
- const FIRST_HINT_DELAY = 5e3;
733
- const HINT_INTERVAL = 3e3;
732
+ const FIRST_HINT_DELAY = 3e5;
733
+ const HINT_INTERVAL = 6e4;
734
734
  for (let i = 0; i < hints.length; i++) {
735
735
  const delay = FIRST_HINT_DELAY + i * HINT_INTERVAL;
736
736
  const timer = setTimeout(() => {
@@ -739,7 +739,7 @@ class HiddenEntry {
739
739
  }, delay);
740
740
  this.hintTimers.push(timer);
741
741
  }
742
- const shimmerDelay = 12e3;
742
+ const shimmerDelay = 42e4;
743
743
  const shimmerTimer = setTimeout(() => {
744
744
  if (this._destroyed || !this.targetElement) return;
745
745
  this.targetElement.classList.add("eeq-entry-target");
@@ -950,10 +950,10 @@ class NarrativeRenderer {
950
950
  this.currentLine = line;
951
951
  this.clearTimer = setTimeout(() => {
952
952
  this.clear();
953
- }, 5e3);
953
+ }, 12e3);
954
954
  }
955
955
  /** Show a sequence of lines with pauses. */
956
- async showSequence(lines, pauseMs = 1500) {
956
+ async showSequence(lines, pauseMs = 4500) {
957
957
  for (const line of lines) {
958
958
  this.showLine(line);
959
959
  await new Promise((r) => setTimeout(r, pauseMs));
@@ -3980,7 +3980,7 @@ class StillnessStage {
3980
3980
  const introLines = this.script.stage1Intro;
3981
3981
  for (let i = 0; i < introLines.length; i++) {
3982
3982
  this.bus.emit("narrative:show", introLines[i]);
3983
- await this._wait(1500);
3983
+ await this._wait(4500);
3984
3984
  }
3985
3985
  this.bus.emit("narrative:clear");
3986
3986
  await this._wait(1e3);
@@ -4020,7 +4020,7 @@ class StillnessStage {
4020
4020
  _handleBreak() {
4021
4021
  this._breaks++;
4022
4022
  const now = Date.now();
4023
- if (now - this._lastBreakNarrativeTime > 5e3) {
4023
+ if (now - this._lastBreakNarrativeTime > 6e4) {
4024
4024
  this._lastBreakNarrativeTime = now;
4025
4025
  const reactions = this.script.stage1Reactions;
4026
4026
  const line = reactions[this._narrativeIndex % reactions.length];
@@ -4060,7 +4060,7 @@ class MotionStage {
4060
4060
  const introLines = this.script.stage2Intro;
4061
4061
  for (let i = 0; i < introLines.length; i++) {
4062
4062
  this.bus.emit("narrative:show", introLines[i]);
4063
- await this._wait(1500);
4063
+ await this._wait(4500);
4064
4064
  }
4065
4065
  this.bus.emit("narrative:clear");
4066
4066
  await this._wait(1e3);
@@ -4115,7 +4115,7 @@ class MotionStage {
4115
4115
  // ─── Internal ──────────────────────────────────────────────────────────
4116
4116
  _handleFade() {
4117
4117
  const now = Date.now();
4118
- if (now - this._lastFadeNarrativeTime > 5e3) {
4118
+ if (now - this._lastFadeNarrativeTime > 6e4) {
4119
4119
  this._lastFadeNarrativeTime = now;
4120
4120
  const reactions = this.script.stage2Reactions;
4121
4121
  const line = reactions[this._narrativeIndex % reactions.length];
@@ -4159,7 +4159,7 @@ class RhythmStage {
4159
4159
  const introLines = this.script.stage3Intro;
4160
4160
  for (let i = 0; i < introLines.length; i++) {
4161
4161
  this.bus.emit("narrative:show", introLines[i]);
4162
- await this._wait(1500);
4162
+ await this._wait(4500);
4163
4163
  }
4164
4164
  this.bus.emit("narrative:clear");
4165
4165
  await this._wait(1e3);
@@ -4219,7 +4219,7 @@ class RhythmStage {
4219
4219
  }
4220
4220
  _showReaction() {
4221
4221
  const now = Date.now();
4222
- if (now - this._lastNarrativeTime > 5e3) {
4222
+ if (now - this._lastNarrativeTime > 6e4) {
4223
4223
  this._lastNarrativeTime = now;
4224
4224
  const reactions = this.script.stage3Reactions;
4225
4225
  const line = reactions[this._narrativeIndex % reactions.length];
@@ -4683,7 +4683,7 @@ class GameController {
4683
4683
  this.hiddenEntry = null;
4684
4684
  this._startAnticipationTremor();
4685
4685
  (_b2 = this.shrine) == null ? void 0 : _b2.show();
4686
- await ((_c = this.narrative) == null ? void 0 : _c.showSequence(this.script.entryConfirmation, 1500));
4686
+ await ((_c = this.narrative) == null ? void 0 : _c.showSequence(this.script.entryConfirmation, 4200));
4687
4687
  (_d = this.narrative) == null ? void 0 : _d.clear();
4688
4688
  this._stopAnticipationTremor();
4689
4689
  await this._wait(800);
@@ -4799,7 +4799,7 @@ class GameController {
4799
4799
  (_b2 = (_a2 = this.config.callbacks).onStageComplete) == null ? void 0 : _b2.call(_a2, this.fsm.state, result);
4800
4800
  }
4801
4801
  const successLines = eggIndex === 0 ? this.script.stage1Success : eggIndex === 1 ? this.script.stage2Success : this.script.stage3Success;
4802
- await ((_c = this.narrative) == null ? void 0 : _c.showSequence(successLines, 1500));
4802
+ await ((_c = this.narrative) == null ? void 0 : _c.showSequence(successLines, 4500));
4803
4803
  (_d = this.narrative) == null ? void 0 : _d.clear();
4804
4804
  await this._wait(800);
4805
4805
  if (this.threeRenderer) {
@@ -4880,7 +4880,7 @@ class GameController {
4880
4880
  (_c = this.shrine) == null ? void 0 : _c.hideAll();
4881
4881
  await this._wait(1e3);
4882
4882
  (_d = this.eggRenderer) == null ? void 0 : _d.startFinale();
4883
- await ((_e = this.narrative) == null ? void 0 : _e.showSequence(this.script.finale, 1500));
4883
+ await ((_e = this.narrative) == null ? void 0 : _e.showSequence(this.script.finale, 5e3));
4884
4884
  (_f = this.narrative) == null ? void 0 : _f.clear();
4885
4885
  await this._wait(4e3);
4886
4886
  this.fsm.transitionTo("results");