1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-01-18 03:31:30 +00:00

Fixed id enforcement

This commit is contained in:
Harley White 2022-06-25 20:04:25 -04:00
parent 5954e8ef7e
commit cc395e4f91
2 changed files with 6 additions and 7 deletions

View file

@ -1,18 +1,18 @@
# Incrementum changelog:
# Incrementum 3.0 changelog:
- Changed the name to "Incrementum" and replaced all instances of "mod" with "game". game.js has been renamed incrementum.js, and mod.js is now game.js.
- Added linear and quadratic prestige types, improved the prestige type system.
- Added "pluralize" function, and made main point displays correctly use singular and plural (if singular is supplied).
- Enforced changing the game's id (formerly modId) to stop saves from being overwritten.
- Added this.data and this.tmp shortcuts.
- Upgrade effectDisplay and grid tooltip no longer display if they return "".
- devSpeed can be 0.
- Fixed an issue with text-input not converting types correctly.
- Text-input now goes back to the old value if an invalid value is entered.
- Upgrade effectDisplay and grid tooltip no longer display if they return "".
- devSpeed can be 0.
# v2.6.6.2 - 9/9/21
# TMT v2.6.6.2 - 9/9/21
- nodeStyle can now be used to set fonts.
# v2.6.6.1 - 9/8/21

View file

@ -112,10 +112,9 @@ var systemComponents = {
<br>Offline Time: {{formatTime(player.offTime.remain)}}<br>
</span>
<br>
<div v-if="gameInfo.id =='mygame'" class="overlayThing" style="font-size:40px">Change your game's id in gameInfo. Saving is disabled until you do.</div>
<span v-if="player.points.lt('1e1000')" class="overlayThing">You have </span>
<h2 class="overlayThing" id="points">{{format(player.points)}}</h2>
<span v-if="modInfo.gameInfo.id =='mygame'" class="overlayThing" style="font-size:40px">Change your game's id in gameInfo. Saving is disabled until you do.</span>
<br>
<span v-if="player.points.lt('1e1e6')" class="overlayThing"> {{pluralize(player.points, gameInfo.singularName || gameInfo.pointsName, gameInfo.pointsName)}}</span>
<br>
<span v-if="canGenPoints()" class="overlayThing">({{tmp.other.oompsMag != 0 ? format(tmp.other.oomps) + " OOM" + (tmp.other.oompsMag < 0 ? "^OOM" : tmp.other.oompsMag > 1 ? "^" + tmp.other.oompsMag : "") + "s" : formatSmall(getPointGen())}}/sec)</span>