diff --git a/Pages/Plants.php b/Pages/Plants.php
index 04cd799..10da3e4 100644
--- a/Pages/Plants.php
+++ b/Pages/Plants.php
@@ -43,6 +43,8 @@ $PageSection = "Plants";
+
+
diff --git a/Scripts/Garden/PlantEncyclopedia.js b/Scripts/Garden/PlantEncyclopedia.js
index d7d3069..e6893d0 100644
--- a/Scripts/Garden/PlantEncyclopedia.js
+++ b/Scripts/Garden/PlantEncyclopedia.js
@@ -244,6 +244,32 @@ function ComparePlantEncyclopediaPlants(
-1
) || A.Id - B.Id;
+ case "CostAsc":
+ return ComparePlantEncyclopediaNumbers(
+ GetPlantShopCost(
+ PlantEncyclopediaSave,
+ A.Id
+ ),
+ GetPlantShopCost(
+ PlantEncyclopediaSave,
+ B.Id
+ ),
+ 1
+ ) || A.Id - B.Id;
+
+ case "CostDesc":
+ return ComparePlantEncyclopediaNumbers(
+ GetPlantShopCost(
+ PlantEncyclopediaSave,
+ A.Id
+ ),
+ GetPlantShopCost(
+ PlantEncyclopediaSave,
+ B.Id
+ ),
+ -1
+ ) || A.Id - B.Id;
+
case "RewardAsc":
return ComparePlantEncyclopediaNumbers(
GetPlantHarvestReward(
@@ -553,6 +579,12 @@ function CreatePlantEncyclopediaDetails(
);
+ const Cost =
+ GetPlantShopCost(
+ PlantEncyclopediaSave,
+ Plant.Id
+ );
+
const Reward =
GetPlantHarvestReward(
PlantEncyclopediaSave,
@@ -565,6 +597,16 @@ function CreatePlantEncyclopediaDetails(
Plant.Id
);
+ Details.appendChild(
+ CreatePlantEncyclopediaStat(
+ "Cost",
+ Cost === null
+ ? "Unavailable"
+ : Cost.toLocaleString() +
+ " Dew"
+ )
+ );
+
Details.appendChild(
CreatePlantEncyclopediaStat(
"Reward",