Skip to content

Commit

Permalink
The sorter "Built In" is now called "Default"
Browse files Browse the repository at this point in the history
  • Loading branch information
Frustrated-Programmer committed Oct 19, 2023
1 parent 32edc38 commit ea99eb9
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 14 deletions.
8 changes: 4 additions & 4 deletions BuildingSorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,13 +690,13 @@ class BuildingSorterClass {
{
enabled: true,
sorterFrom:"BuildingSorter",
text: "Built In",
text: "Default",
description: "Sort's building's by their ID's number. This ranks them in order how they were designed to be displayed. This theoretically works with mods that adds new options so long as their ID is a number.",
tooltip: {
icon: [10, 0],
title: "Built In",
forwardDescription: "Orders the buildings based on their <b>built in</b> order.",
reverseDescription: "Orders the buildings based on their <b>built in</b> order but backwards.",
title: "Default",
forwardDescription: "Orders the buildings based on their <b>default</b> order.",
reverseDescription: "Orders the buildings based on their <b>default</b> order but backwards.",
quote: "Classic Ortiel's List."
},
sort: function(array){
Expand Down
8 changes: 4 additions & 4 deletions BuildingSorter.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,13 +698,13 @@ class BuildingSorterClass {
{
enabled: true,
sorterFrom:"BuildingSorter",
text: "Built In",
text: "Default",
description: "Sort's building's by their ID's number. This ranks them in order how they were designed to be displayed. This theoretically works with mods that adds new options so long as their ID is a number.",
tooltip: {
icon: [10, 0],
title: "Built In",
forwardDescription: "Orders the buildings based on their <b>built in</b> order.",
reverseDescription: "Orders the buildings based on their <b>built in</b> order but backwards.",
title: "Default",
forwardDescription: "Orders the buildings based on their <b>default</b> order.",
reverseDescription: "Orders the buildings based on their <b>default</b> order but backwards.",
quote: "Classic Ortiel's List."
},
sort: function(array){
Expand Down
5 changes: 5 additions & 0 deletions patchnotes.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@
"title":"Fixed Saving",
"message": "Saves were bugged out in v2.4. Fixed!\nRapid reloading caused saved settings to be removed in some browsers. Now a 24 character string is saved in localStorage to act as a backup.",
"html": "<ul><li>Saves were bugged out in v2.4. Fixed!</li><li>Rapid reloading caused saved settings to be removed in some browsers. Now a 24 character string is saved in localStorage to act as a backup.</li></ul>"
},
"2.6": {
"title": "Renamed a Sorter",
"message": "The sorter \"Built In\" is now called \"Default\"",
"html": "<ul><li>The sorter \"Built In\" is now called \"Default\"</li></ul>"
}
}
4 changes: 4 additions & 0 deletions patchnotes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#Patch-notes
## 2.6 Renamed a sorter
<ul>
<li>The sorter "Built In" is now called "Default"</li>
</ul>
## 2.5 Fixed Saving
<ul>
<li>Saves were bugged out in v2.4. Fixed!</li>
Expand Down
2 changes: 1 addition & 1 deletion steam-mod/BuildingSorter/info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"ID": "BuildingSorter",
"Author": "FrustratedProgrammer",
"Description": "Sorts the building list on the right in multiple different ways.",
"ModVersion": 2.5,
"ModVersion": 2.6,
"GameVersion": 2.052,
"Date": "5/24/2023",
"Dependencies": [],
Expand Down
8 changes: 4 additions & 4 deletions steam-mod/BuildingSorter/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,13 +690,13 @@ class BuildingSorterClass {
{
enabled: true,
sorterFrom:"BuildingSorter",
text: "Built In",
text: "Default",
description: "Sort's building's by their ID's number. This ranks them in order how they were designed to be displayed. This theoretically works with mods that adds new options so long as their ID is a number.",
tooltip: {
icon: [10, 0],
title: "Built In",
forwardDescription: "Orders the buildings based on their <b>built in</b> order.",
reverseDescription: "Orders the buildings based on their <b>built in</b> order but backwards.",
title: "Default",
forwardDescription: "Orders the buildings based on their <b>default</b> order.",
reverseDescription: "Orders the buildings based on their <b>default</b> order but backwards.",
quote: "Classic Ortiel's List."
},
sort: function(array){
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5
2.6

0 comments on commit ea99eb9

Please sign in to comment.