Skip to content

Commit

Permalink
v0.0.3 P1
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong committed Jan 4, 2022
1 parent c4456ff commit d002a49
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
32 changes: 31 additions & 1 deletion js/classes/restacklayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,30 @@ class ReStackLayer
return this.level.gt(0) ? "Doesn't reset" : "Resets";
}
}),
],
[
new RestackLayerUpgrade("Template",
level => new Decimal("1ee308"),
level => new Decimal(1).add(level), {
maxLevel: 1
}),
new RestackLayerUpgrade("Template",
level => new Decimal("1ee308"),
level => new Decimal(1).add(level.mul(0.15)), {
maxLevel: 1,
getEffectDisplay: effectDisplayTemplates.numberStandard(2, "^")
}),
],
[
new RestackLayerUpgrade("Template",
level => new Decimal("1ee1000"),
level => level.gt(0), {
maxLevel: 1,
getEffectDisplay: function()
{
return this.level.gt(0) ? "Doesn't reset" : "Resets";
}
}),
]
];
this.upgradeTree[1][0].setRequirements([this.upgradeTree[0][0]], [this.upgradeTree[1][1]]);
Expand All @@ -140,6 +164,9 @@ class ReStackLayer
this.upgradeTree[5][0].setRequirements([this.upgradeTree[4][0]], [this.upgradeTree[5][1]]);
this.upgradeTree[5][1].setRequirements([this.upgradeTree[4][0]], [this.upgradeTree[5][0]]);
this.upgradeTree[6][0].setRequirements([this.upgradeTree[5][0], this.upgradeTree[5][1]], []);
this.upgradeTree[7][0].setRequirements([this.upgradeTree[6][0]], [this.upgradeTree[7][1]]);
this.upgradeTree[7][1].setRequirements([this.upgradeTree[6][0]], [this.upgradeTree[7][0]]);
this.upgradeTree[8][0].setRequirements([this.upgradeTree[7][0], this.upgradeTree[7][1]], []);
this.upgradeTreeNames = {
resourceMultiplier: this.upgradeTree[0][0],
resourceMultiplierUpgrades: this.upgradeTree[1][0],
Expand All @@ -150,7 +177,10 @@ class ReStackLayer
substractLayers: this.upgradeTree[4][0],
resourcePowerersStrength: this.upgradeTree[5][0],
resourceMultipliersLevelScaling: this.upgradeTree[5][1],
noReset: this.upgradeTree[6][0]
noReset: this.upgradeTree[6][0],
template1: this.upgradeTree[7][0],
template2: this.upgradeTree[7][1],
template3: this.upgradeTree[8][0]
};
}

Expand Down
5 changes: 5 additions & 0 deletions js/components/changelog-tab.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Vue.component("changelog-tab", {
template: `<div class="changelog-tab">
<guide-item>
<template v-slot:title>v0.0.3</template>
<template v-slot:text>Private Build
</template>
<guide-item>
<guide-item>
<template v-slot:title>v0.0.2</template>
<template v-slot:text>Private Build
</template>
Expand Down
2 changes: 1 addition & 1 deletion js/mod.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var mod = {
primaryName: "ω",
secondaryName: "Engine",
version: "0.0.3",
version: "0.0.3 P1",
themes: [
["Dark", "css/themes/dark.css"],
["Light", "https://veprogames.github.io/omega-layers/css/main.css"],
Expand Down

0 comments on commit d002a49

Please sign in to comment.