Skip to content

Commit

Permalink
Increase message probability
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvonen committed Oct 15, 2024
1 parent f2aee20 commit ce3cb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/LogView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ watch(currentVeggies, (newCurrentVeggies, oldCurrentVeggies) => {
addToastMessage(t('toasts.challengeCompleted', [getCheer()]));
} else if (allVeggies.value.length % 100 === 0) {
addToastMessage(t('toasts.totalVeggies', [allVeggies.value.length, getCheer()]));
} else if (Math.random() <= 0.1) {
} else if (Math.random() <= 0.15) {
const facts = [
...Object.values<string>(tm(`facts.${addedVeggie}`)),
t('toasts.uniqueVeggies', [uniqueVeggies.value.length, ALL_VEGGIES.length, getCheer()]),
Expand Down

0 comments on commit ce3cb5e

Please sign in to comment.