From 9dc5e64a2a7cbfc370cbc547114485332d06c0ab Mon Sep 17 00:00:00 2001 From: jwklong <72522395+jwklong@users.noreply.github.com> Date: Tue, 4 Jan 2022 11:25:26 +0000 Subject: [PATCH] v0.1.0 --- README.md | 1 + css/main.css | 4 ++-- js/components/restack-tab.js | 2 +- js/components/settings-menu.js | 1 + js/data/functions.js | 6 +++--- js/main.js | 1 - js/mod.js | 3 ++- 7 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f629278..2c607bf 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,4 @@ ### A engine made from Ω-Lλγers built for modding #### Ω-Lλγers by VeproGames #### Play this now +##### Feel free to fork this, either to make your own mods or make pull requests with new features diff --git a/css/main.css b/css/main.css index c914c61..66c4058 100644 --- a/css/main.css +++ b/css/main.css @@ -205,11 +205,11 @@ body{ } button{ - border-radius: 15px; + border-radius: 8px; background-color: var(--color-base); color: var(--color-contrast); padding: 2px 4px; - border: 2px solid var(--color-primary); + border: 1px solid var(--color-primary); transition: background-color 500ms, filter 250ms; } diff --git a/js/components/restack-tab.js b/js/components/restack-tab.js index c8c1446..dccd803 100644 --- a/js/components/restack-tab.js +++ b/js/components/restack-tab.js @@ -30,7 +30,7 @@ Vue.component("restack-tab", {
Original Game (Omega Layers) created by VeproGames
Powered by vue.js and break_eternity.min.js
` + mod.primaryName + mod.secondaryName + ` v` + mod.version +`
+ ` + ((mod.primaryName + mod.secondaryName) !== "ωEngine" ? ("Built with ωEngine v" + mod.engineVer + "
") : "") + ` ` }) \ No newline at end of file diff --git a/js/data/functions.js b/js/data/functions.js index edec8d2..b58cd86 100644 --- a/js/data/functions.js +++ b/js/data/functions.js @@ -108,7 +108,7 @@ const functions = { }, createNotification: function(notification) { - game.notifications.push(notification); + if (saveTimer > 1){game.notifications.push(notification)}; }, getSaveString() { @@ -269,7 +269,7 @@ const functions = { const idx = game.achievements.findIndex(a => a.title === ach.title); if(idx !== -1) { - game.achievements[idx].isCompconsted = ach.isCompconsted; + game.achievements[idx].isCompleted = ach.isCompleted; } } } @@ -397,7 +397,7 @@ const functions = { ",0px 0px " + t[2] + "em currentcolor"; }, layerFinder: function(layer) { - layer = new Decimal(layer) + layer = new Decimal(layer).sub("1") document.getElementById("layernameoutput").style.color = this.textColor(layer) document.getElementById("layercoloroutput").style.color = this.textColor(layer) document.getElementById("layercoloroutput").innerHTML = this.textColor(layer) diff --git a/js/main.js b/js/main.js index 99f131c..5b65916 100644 --- a/js/main.js +++ b/js/main.js @@ -131,7 +131,6 @@ function tickGame(seconds) { game.automators[k].tick(seconds); } - for(const ach of game.achievements) { ach.tick(seconds); diff --git a/js/mod.js b/js/mod.js index 230217e..812eede 100644 --- a/js/mod.js +++ b/js/mod.js @@ -1,7 +1,8 @@ var mod = { primaryName: "ω", secondaryName: "Engine", - version: "0.0.3 P1", + version: "0.1.0", + engineVer: "0.1.0", //DO NOT MODIFY themes: [ ["Dark", "css/themes/dark.css"], ["Light", "https://veprogames.github.io/omega-layers/css/main.css"],