diff --git a/config.json b/config.json index dd38cfb..59354b9 100644 --- a/config.json +++ b/config.json @@ -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": [ diff --git a/images/crops/wild_fall.png b/images/crops/wild_fall.png new file mode 100644 index 0000000..d02f649 Binary files /dev/null and b/images/crops/wild_fall.png differ diff --git a/images/crops/wild_spring.png b/images/crops/wild_spring.png new file mode 100644 index 0000000..7028273 Binary files /dev/null and b/images/crops/wild_spring.png differ diff --git a/images/crops/wild_summer.png b/images/crops/wild_summer.png new file mode 100644 index 0000000..b88760f Binary files /dev/null and b/images/crops/wild_summer.png differ diff --git a/images/crops/wild_winter.png b/images/crops/wild_winter.png new file mode 100644 index 0000000..e66e8bf Binary files /dev/null and b/images/crops/wild_winter.png differ diff --git a/scripts/planner.js b/scripts/planner.js index 09950d6..a771fc0 100644 --- a/scripts/planner.js +++ b/scripts/planner.js @@ -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"}); @@ -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 @@ -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