Session 8: Fix broken prestige system - load prestige scripts, fix particles.js parse error, add prestige tab UI
This commit is contained in:
+30
@@ -50,6 +50,7 @@
|
||||
<button class="tab-btn active" data-tab="upgrades">Upgrades</button>
|
||||
<button class="tab-btn" data-tab="achievements">Achievements</button>
|
||||
<button class="tab-btn" data-tab="stats">Stats</button>
|
||||
<button class="tab-btn" data-tab="prestige">✦ Prestige</button>
|
||||
</div>
|
||||
|
||||
<div id="upgrades-tab" class="tab-content active">
|
||||
@@ -66,6 +67,33 @@
|
||||
<h3>Statistics</h3>
|
||||
<div id="stats-content"></div>
|
||||
</div>
|
||||
|
||||
<div id="prestige-tab" class="tab-content">
|
||||
<h3>✦ Prestige</h3>
|
||||
<div id="prestige-info">
|
||||
<div class="prestige-essence">
|
||||
<span class="essence-icon">✦</span>
|
||||
<span id="prestige-essence-count">0</span>
|
||||
<span style="font-size:0.85rem; color:var(--text-secondary)">Stellar Essence</span>
|
||||
</div>
|
||||
<div class="prestige-multiplier">
|
||||
Production bonus: <span id="prestige-multiplier">+0%</span>
|
||||
</div>
|
||||
<div class="prestige-next">
|
||||
Next prestige: <span id="prestige-next-essence">0</span> ✦
|
||||
</div>
|
||||
<p style="font-size:0.8rem; color:var(--text-muted); margin:8px 0">
|
||||
Requires 1M total stardust for the first ✦. Prestige resets
|
||||
stardust, buildings and upgrades — but keeps essence and
|
||||
prestige upgrades.
|
||||
</p>
|
||||
<button id="prestige-btn" class="prestige-btn" disabled>
|
||||
✦ Prestige
|
||||
</button>
|
||||
</div>
|
||||
<h3 style="margin-top:15px">Prestige Upgrades</h3>
|
||||
<div id="prestige-upgrades-list"></div>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
@@ -104,6 +132,8 @@
|
||||
<script src="js/stats.js"></script>
|
||||
<script src="js/particles.js"></script>
|
||||
<script src="js/audio.js"></script>
|
||||
<script src="js/prestige.js"></script>
|
||||
<script src="js/prestigeUI.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user