Made changelog no longer in index.html, URL can be set in modInfo

This commit is contained in:
Acamaeda 2020-10-11 18:11:42 -04:00
parent 9b035a2280
commit 18898f519e
3 changed files with 4 additions and 10 deletions

View file

@ -3,7 +3,7 @@
Added clickables, a more generalized variant of buyables!
Support for multiple completions of challenges.
Added getter/setter functions for buyable amount and such
Moved modInfo to game.js, added a spot for a Discord link, and a separate mod version from the TMT version
Moved modInfo to game.js, added a spot for a Discord link, changelog link, and a separate mod version from the TMT version
Tree structure is based on layer data, no index.html needed.
Tmp does not need to be manually updated.
Almost every value in layer data can be a function or a constant value!
@ -12,6 +12,7 @@ Unl is optional for all Big Components (defaults to true).
effectDisplay in Challenges and Upgrades no longer takes an argument, as well as buyable effect.
Buyable cost can take an argument for amount of buyables, but if one is not supplied it should do the cost of the next buyable.
All displays will update correctly.
Changelog is no longer in index.html at all.
##v1.3.5
- Completely automated convertToDecimal, now you never have to worry about it again.

View file

@ -40,14 +40,6 @@
</div>
<div v-if="player.tab=='changelog'" class="col right">
<button class="back" onclick="showTab('tree')"></button><br><br><br>
<h3>v1.3.5</h3>
<ul>
<li>The system now handles convertToDecimal for everything automatically!</li>
<li>Created a tutorial for getting started with TMT and Github.</li>
<li>Branches can be defined without a color id. But they can also use hex values for color ids!</li>
<li>Page title is now automatically taken from mod name.</li>
</ul><br>
<a href="https://github.com/Acamaeda/The-Modding-Tree/blob/master/changelog.md" target="_blank" class="link" >Full history</a><br>
</div>
<div v-if="player.tab=='info'" class="col right">
@ -62,7 +54,7 @@
<br>
Original idea by papyrus (on discord)
<br><br>
<div class="link" onclick="showTab('changelog')">Changelog</div><br>
<a v-bind:href="modInfo.changelogLink" target="_blank" class="link" >Changelog</a><br>
<span v-if="modInfo.discordLink"><a class="link" v-bind:href="modInfo.discordLink" target="_blank">{{modInfo.discordName}}</a><br></span>
<a class="link" href="https://discord.gg/F3xveHV" target="_blank" v-bind:style="modInfo.discordLink ? {'font-size': '16px'} : {}">The Modding Tree Discord</a><br>
<a class="link" href="http://discord.gg/wwQfgPa" target="_blank" v-bind:style="{'font-size': '16px'}">Main Prestige Tree server</a><br>

View file

@ -10,6 +10,7 @@ let modInfo = {
pointsName: "points",
discordName: "",
discordLink: "",
changelogLink: "https://github.com/Acamaeda/The-Modding-Tree/blob/master/changelog.md",
offlineLimit: 1 // In hours
}