stardew-valley-data 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/data/skills.json +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
|
|
6
6
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
### [0.6.0] - 2026-03-18
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Added FishingPole Level to Parser tool
|
|
13
|
+
|
|
14
|
+
### [0.5.1] - 2026-03-18
|
|
15
|
+
|
|
16
|
+
### Fix
|
|
17
|
+
|
|
18
|
+
- Fix Typo in Wild Seed names to use abbreviated name over full
|
|
19
|
+
|
|
8
20
|
## [v0.5.0] - 2026-03-18
|
|
9
21
|
|
|
10
22
|
### Breaking Changes
|
|
@@ -22,6 +34,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
22
34
|
- Fix Copper Pan text to Pan name
|
|
23
35
|
- Add missing millisecondsPlayed to parser
|
|
24
36
|
|
|
37
|
+
### Chore
|
|
38
|
+
|
|
39
|
+
- Bump Dependencies
|
|
40
|
+
|
|
25
41
|
## [v0.4.0] - 2026-03-15
|
|
26
42
|
|
|
27
43
|
### Breaking Changes
|
package/data/skills.json
CHANGED
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"xpRequired": 100,
|
|
223
223
|
"totalXp": 100,
|
|
224
224
|
"recipes": {
|
|
225
|
-
"crafting": ["Wild Seeds (
|
|
225
|
+
"crafting": ["Wild Seeds (Sp)", "Field Snack"],
|
|
226
226
|
"cooking": [],
|
|
227
227
|
"additional": ["Trees sometimes drop seeds."]
|
|
228
228
|
}
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"xpRequired": 530,
|
|
245
245
|
"totalXp": 1300,
|
|
246
246
|
"recipes": {
|
|
247
|
-
"crafting": ["Wild Seeds (
|
|
247
|
+
"crafting": ["Wild Seeds (Su)", "Tapper", "Mushroom Log"],
|
|
248
248
|
"cooking": [],
|
|
249
249
|
"additional": ["+1 Wild Berry harvesting"]
|
|
250
250
|
}
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
"xpRequired": 1150,
|
|
261
261
|
"totalXp": 3300,
|
|
262
262
|
"recipes": {
|
|
263
|
-
"crafting": ["Lightning Rod", "Wild Seeds (
|
|
263
|
+
"crafting": ["Lightning Rod", "Wild Seeds (Fa)", "Warp Totem: Beach"],
|
|
264
264
|
"cooking": [],
|
|
265
265
|
"additional": []
|
|
266
266
|
}
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"xpRequired": 1500,
|
|
271
271
|
"totalXp": 4800,
|
|
272
272
|
"recipes": {
|
|
273
|
-
"crafting": ["Wild Seeds (
|
|
273
|
+
"crafting": ["Wild Seeds (Wi)", "Warp Totem: Mountains", "Tree Fertilizer"],
|
|
274
274
|
"cooking": [],
|
|
275
275
|
"additional": []
|
|
276
276
|
}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -19724,7 +19724,7 @@ var skills_default = [
|
|
|
19724
19724
|
xpRequired: 100,
|
|
19725
19725
|
totalXp: 100,
|
|
19726
19726
|
recipes: {
|
|
19727
|
-
crafting: ["Wild Seeds (
|
|
19727
|
+
crafting: ["Wild Seeds (Sp)", "Field Snack"],
|
|
19728
19728
|
cooking: [],
|
|
19729
19729
|
additional: ["Trees sometimes drop seeds."]
|
|
19730
19730
|
}
|
|
@@ -19746,7 +19746,7 @@ var skills_default = [
|
|
|
19746
19746
|
xpRequired: 530,
|
|
19747
19747
|
totalXp: 1300,
|
|
19748
19748
|
recipes: {
|
|
19749
|
-
crafting: ["Wild Seeds (
|
|
19749
|
+
crafting: ["Wild Seeds (Su)", "Tapper", "Mushroom Log"],
|
|
19750
19750
|
cooking: [],
|
|
19751
19751
|
additional: ["+1 Wild Berry harvesting"]
|
|
19752
19752
|
}
|
|
@@ -19762,7 +19762,7 @@ var skills_default = [
|
|
|
19762
19762
|
xpRequired: 1150,
|
|
19763
19763
|
totalXp: 3300,
|
|
19764
19764
|
recipes: {
|
|
19765
|
-
crafting: ["Lightning Rod", "Wild Seeds (
|
|
19765
|
+
crafting: ["Lightning Rod", "Wild Seeds (Fa)", "Warp Totem: Beach"],
|
|
19766
19766
|
cooking: [],
|
|
19767
19767
|
additional: []
|
|
19768
19768
|
}
|
|
@@ -19772,7 +19772,7 @@ var skills_default = [
|
|
|
19772
19772
|
xpRequired: 1500,
|
|
19773
19773
|
totalXp: 4800,
|
|
19774
19774
|
recipes: {
|
|
19775
|
-
crafting: ["Wild Seeds (
|
|
19775
|
+
crafting: ["Wild Seeds (Wi)", "Warp Totem: Mountains", "Tree Fertilizer"],
|
|
19776
19776
|
cooking: [],
|
|
19777
19777
|
additional: []
|
|
19778
19778
|
}
|
|
@@ -34054,7 +34054,7 @@ function parseMastery(stats) {
|
|
|
34054
34054
|
perks
|
|
34055
34055
|
};
|
|
34056
34056
|
}
|
|
34057
|
-
var TOOL_TYPES = ["WateringCan", "Pan", "Pickaxe", "Axe", "Hoe"];
|
|
34057
|
+
var TOOL_TYPES = ["WateringCan", "Pan", "Pickaxe", "Axe", "Hoe", "FishingRod"];
|
|
34058
34058
|
var TOOL_KEY_MAP = {
|
|
34059
34059
|
WateringCan: "wateringCan",
|
|
34060
34060
|
Pan: "pan",
|
|
@@ -34062,6 +34062,13 @@ var TOOL_KEY_MAP = {
|
|
|
34062
34062
|
Axe: "axe",
|
|
34063
34063
|
Hoe: "hoe"
|
|
34064
34064
|
};
|
|
34065
|
+
var FISHING_ROD_LEVEL = {
|
|
34066
|
+
"Training Rod": 0,
|
|
34067
|
+
"Bamboo Pole": 1,
|
|
34068
|
+
"Fiberglass Rod": 2,
|
|
34069
|
+
"Iridium Rod": 3,
|
|
34070
|
+
"Advanced Iridium Rod": 4
|
|
34071
|
+
};
|
|
34065
34072
|
function collectToolItems(node, depth = 0) {
|
|
34066
34073
|
if (!node || typeof node !== "object" || depth > 20) return [];
|
|
34067
34074
|
const results = [];
|
|
@@ -34098,7 +34105,8 @@ function parseToolLevels(player, root) {
|
|
|
34098
34105
|
pickaxe: 0,
|
|
34099
34106
|
axe: 0,
|
|
34100
34107
|
hoe: 0,
|
|
34101
|
-
trashCan: num(player.trashCanLevel)
|
|
34108
|
+
trashCan: num(player.trashCanLevel),
|
|
34109
|
+
fishingRod: -1
|
|
34102
34110
|
};
|
|
34103
34111
|
const allItems2 = [
|
|
34104
34112
|
...collectToolItems(player.items),
|
|
@@ -34111,6 +34119,9 @@ function parseToolLevels(player, root) {
|
|
|
34111
34119
|
if (key) {
|
|
34112
34120
|
const level = num(i.upgradeLevel);
|
|
34113
34121
|
if (level > levels[key]) levels[key] = level;
|
|
34122
|
+
} else if (xsiType === "FishingRod") {
|
|
34123
|
+
const rodLevel = FISHING_ROD_LEVEL[i.name] ?? -1;
|
|
34124
|
+
if (rodLevel > levels.fishingRod) levels.fishingRod = rodLevel;
|
|
34114
34125
|
}
|
|
34115
34126
|
}
|
|
34116
34127
|
return levels;
|