Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,70 @@
3,
3
]
},
{
"buy": 0,
"harvest": {},
"id": "wild_spring",
"index": 495,
"name": "Spring Forage",
"wiki_page": "Spring_Seeds",
"seasons": [
"spring"
],
"sell": 30,
"stages": [
3,
4
]
},
{
"buy": 0,
"harvest": {},
"id": "wild_summer",
"index": 496,
"name": "Summer Forage",
"wiki_page": "Summer_Seeds",
"seasons": [
"summer"
],
"sell": 50,
"stages": [
3,
4
]
},
{
"buy": 0,
"harvest": {},
"id": "wild_fall",
"index": 497,
"name": "Fall Forage",
"wiki_page": "Fall_Seeds",
"seasons": [
"fall"
],
"sell": 20,
"stages": [
3,
4
]
},
{
"buy": 0,
"harvest": {},
"id": "wild_winter",
"index": 498,
"name": "Winter Forage",
"wiki_page": "Winter_Seeds",
"seasons": [
"winter"
],
"sell": 60,
"stages": [
3,
4
]
}
],
"fertilizer": [
Expand Down
Binary file added images/crops/wild_fall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/crops/wild_spring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/crops/wild_summer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/crops/wild_winter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion scripts/planner.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function planner_controller($scope){
for (var i = 0; i < self.days.length; i++) self.days[i] = i + 1;
self.seasons = [new Season(0), new Season(1), new Season(2), new Season(3)];
self.cseason = self.seasons[0];
self.cinfo_settings.season_options = [self.seasons[0], self.seasons[1], self.seasons[2]];
self.cinfo_settings.season_options = self.seasons;

// Enable bootstrap tooltips
$("body").tooltip({selector: "[data-toggle=tooltip]", trigger: "hover", container: "body"});
Expand Down Expand Up @@ -991,6 +991,7 @@ function planner_controller($scope){
self.seasons = data.seasons;
self.stages = data.stages;
self.regrow = data.regrow;
self.wiki_page = data.wiki_page;
if (data.wild) self.wild = true;

// Harvest data
Expand Down Expand Up @@ -1064,6 +1065,7 @@ function planner_controller($scope){

// Get url to Stardew Valley wiki
Crop.prototype.get_url = function(){
if (this.wiki_page) return "http://stardewvalleywiki.com/"+this.wiki_page;
var fragment = this.id.split("_");
for (var i=0; i<fragment.length; i++){
fragment[i] = fragment[i].charAt(0).toUpperCase() + fragment[i].slice(1);
Expand Down