Skip to content

Commit

Permalink
Merge pull request #77 from Tendsty/develop
Browse files Browse the repository at this point in the history
hotfix patch 1.5.7
  • Loading branch information
Tendsty authored Jan 19, 2025
2 parents 850f823 + a6e2a0e commit 09f1927
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gooboo",
"version": "1.5.6",
"version": "1.5.7",
"description": "An idle game",
"author": "Tendsty",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion public/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.6
1.5.7
2 changes: 2 additions & 0 deletions src/js/modules/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import v1_5_3 from "./patchnote/v1_5_3";
import v1_5_4 from "./patchnote/v1_5_4";
import v1_5_5 from "./patchnote/v1_5_5";
import v1_5_6 from "./patchnote/v1_5_6";
import v1_5_7 from "./patchnote/v1_5_7";

export default {
name: 'meta',
Expand Down Expand Up @@ -61,6 +62,7 @@ export default {
store.commit('system/initTheme', {name: key, ...elem});
}
for (const [key, elem] of Object.entries({
'1.5.7': v1_5_7,
'1.5.6': v1_5_6,
'1.5.5': v1_5_5,
'1.5.4': v1_5_4,
Expand Down
12 changes: 12 additions & 0 deletions src/js/modules/patchnote/v1_5_7.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export default {
day: '2025-01-19',
content: {
village: [
{
unlock: 'villageOffering1',
type: 'bugfix',
text: '440'
},
],
}
}
3 changes: 3 additions & 0 deletions src/lang/de/patchnote.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ export default {
437: 'Chips werden nun korrekt an Spieler verteilt, die das Event bereits gespielt haben',
438: 'Lichteinkommen pro globaler Stufe',
439: 'Erleuchtungs-Verbesserungen (außer die erste) erhöhen nun das Lichteinkommen um x1.5',

// v1.5.7
440: 'Opfergaben durch Opfer werden nun korrekt erhöht',
},
v: {
1: {
Expand Down
3 changes: 3 additions & 0 deletions src/lang/en/patchnote.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ export default {
437: 'Fixed tokens not being given to players who already played the event before',
438: 'Light gain per global level',
439: 'Enlightenment upgrades (except the first one) now increase your light gain by x1.5',

// v1.5.7
440: 'Fixed offerings gained on sacrifice not increasing',
},
v: {
1: {
Expand Down
2 changes: 1 addition & 1 deletion src/store/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { LOCAL_STORAGE_NAME } from "../js/constants";
export default {
namespaced: true,
state: {
version: '1.5.6',
version: '1.5.7',
cheaterSelfMark: 0,
cheatDetected: {},
lastPlayedDays: [],
Expand Down
2 changes: 1 addition & 1 deletion src/store/village.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export default {

if (rootGetters['currency/value']('village_' + name) >= offering.cost(offering.offeringBought)) {
dispatch('currency/spend', {feature: 'village', name: name, amount: offering.cost(offering.offeringBought)}, {root: true});
dispatch('currency/gain', {feature: 'village', name: 'offering', amount: offering.amount}, {root: true});
dispatch('currency/gain', {feature: 'village', name: 'offering', amount: offering.amount * (offering.offeringBought + 1)}, {root: true});
commit('updateOfferingKey', {name: name, key: 'offeringBought', value: offering.offeringBought + 1});
}
},
Expand Down

0 comments on commit 09f1927

Please sign in to comment.