Skip to content

Commit

Permalink
Fix Keg prices of Hops, etc...
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorinair committed Apr 12, 2024
1 parent f9d07f7 commit d6eea3c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

<div class="changes">
<h1>Change Log</h1>
<h2>v1.6.6 <div class="date">(2024-04-12)</div></h2>
<ul>
<li>Fixed an issue which caused some Keg values, like Hops, to be incorrect.</li>
</ul>
<h2>v1.6.5 <div class="date">(2024-04-11)</div></h2>
<ul>
<li>Fixed an issue which caused Jar values to be incorrect and to appear like Keg values.</li>
Expand Down Expand Up @@ -61,7 +65,7 @@ <h2>v1.6.0 <div class="date">(2024-03-29)</div></h2>
</div>

<div class="footer">
<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.3</a> &copy; <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.5</a></p>
<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.3</a> &copy; <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.6</a></p>
</div>

<script src="js/time.js"> </script>
Expand Down
2 changes: 1 addition & 1 deletion help.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h1>Contact</h1>
</div>

<div class="footer">
<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.3</a> &copy; <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.5</a></p>
<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.3</a> &copy; <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.6</a></p>
</div>

<script src="js/time.js"> </script>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
</div>

<div class="footer">
<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.3</a> &copy; <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.5</a></p>
<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.3</a> &copy; <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.6</a></p>
</div>

<script src="js/time.js"> </script>
Expand Down
4 changes: 2 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,9 @@ function profit(crop) {
}

if (options.produce == 1)
netIncome += items * crop.harvests * (crop.produce.jarType != null ? crop.produce.price * 2 + 50 : crop.produce.price);
netIncome += items * crop.harvests * (crop.produce.jar != null ? crop.produce.jar : crop.produce.price * 2 + 50);
else if (options.produce == 2)
netIncome += items * crop.harvests * (crop.produce.kegType != null ? crop.produce.price * kegModifier * caskModifier : crop.produce.price);
netIncome += items * crop.harvests * (crop.produce.keg != null ? crop.produce.keg * caskModifier : crop.produce.price * kegModifier * caskModifier);

if (options.skills.arti) {
netIncome *= 1.4;
Expand Down

0 comments on commit d6eea3c

Please sign in to comment.