Add per-condition encounter rates to seed data (#26)
All checks were successful
CI / backend-lint (push) Successful in 9s
CI / actions-lint (push) Successful in 15s
CI / frontend-lint (push) Successful in 20s

Co-authored-by: Julian Tabel <juliantabel.jt@gmail.com>
Co-committed-by: Julian Tabel <juliantabel.jt@gmail.com>
This commit was merged in pull request #26.
This commit is contained in:
2026-02-17 19:38:29 +01:00
committed by TheFurya
parent d0fff248fe
commit 7df56325a8
38 changed files with 36723 additions and 11591 deletions

View File

@@ -60,7 +60,7 @@
],
"children": [
{
"name": "Alola Route 1 (First two fields east of the player\u2019s house)",
"name": "Alola Route 1 (First two fields east of the players house)",
"order": 3,
"encounters": [
{
@@ -377,7 +377,7 @@
]
},
{
"name": "Trainer\u2019s School (Alola)",
"name": "Trainers School (Alola)",
"order": 8,
"encounters": [
{
@@ -773,7 +773,7 @@
]
},
{
"name": "Alola Route 2 (Two patches of grass southwest of the Pok\u00e9mon Center)",
"name": "Alola Route 2 (Two patches of grass southwest of the Pokémon Center)",
"order": 15,
"encounters": [
{
@@ -922,9 +922,12 @@
"pokeapi_id": 425,
"pokemon_name": "Drifloon",
"method": "walk",
"encounter_rate": 40,
"encounter_rate": null,
"min_level": 6,
"max_level": 9
"max_level": 9,
"conditions": {
"day": 40
}
},
{
"pokeapi_id": 92,
@@ -938,9 +941,12 @@
"pokeapi_id": 198,
"pokemon_name": "Murkrow",
"method": "walk",
"encounter_rate": 40,
"encounter_rate": null,
"min_level": 6,
"max_level": 9
"max_level": 9,
"conditions": {
"night": 40
}
},
{
"pokeapi_id": 41,
@@ -1342,17 +1348,23 @@
"pokeapi_id": 10091,
"pokemon_name": "Rattata (Alola)",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 15,
"max_level": 18
"max_level": 18,
"conditions": {
"night": 30
}
},
{
"pokeapi_id": 734,
"pokemon_name": "Yungoos",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 15,
"max_level": 18
"max_level": 18,
"conditions": {
"day": 30
}
},
{
"pokeapi_id": 456,
@@ -1591,9 +1603,13 @@
"pokeapi_id": 366,
"pokemon_name": "Clamperl",
"method": "fishing",
"encounter_rate": 10,
"encounter_rate": null,
"min_level": 10,
"max_level": 17
"max_level": 17,
"conditions": {
"day": 5,
"night": 5
}
},
{
"pokeapi_id": 222,
@@ -1613,17 +1629,25 @@
"pokeapi_id": 366,
"pokemon_name": "Clamperl",
"method": "fishing",
"encounter_rate": 55,
"encounter_rate": null,
"min_level": 10,
"max_level": 22
"max_level": 22,
"conditions": {
"day": 35,
"night": 20
}
},
{
"pokeapi_id": 222,
"pokemon_name": "Corsola",
"method": "fishing",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 10,
"max_level": 22
"max_level": 22,
"conditions": {
"day": 5,
"night": 20
}
},
{
"pokeapi_id": 370,
@@ -1707,9 +1731,13 @@
"pokeapi_id": 366,
"pokemon_name": "Clamperl",
"method": "fishing",
"encounter_rate": 10,
"encounter_rate": null,
"min_level": 10,
"max_level": 22
"max_level": 22,
"conditions": {
"day": 5,
"night": 5
}
}
]
}
@@ -2096,9 +2124,12 @@
"pokeapi_id": 751,
"pokemon_name": "Dewpider",
"method": "surf",
"encounter_rate": 40,
"encounter_rate": null,
"min_level": 14,
"max_level": 17
"max_level": 17,
"conditions": {
"day": 40
}
},
{
"pokeapi_id": 60,
@@ -2112,33 +2143,45 @@
"pokeapi_id": 283,
"pokemon_name": "Surskit",
"method": "surf",
"encounter_rate": 40,
"encounter_rate": null,
"min_level": 14,
"max_level": 17
"max_level": 17,
"conditions": {
"night": 40
}
},
{
"pokeapi_id": 751,
"pokemon_name": "Dewpider",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 14,
"max_level": 17
"max_level": 17,
"conditions": {
"day": 20
}
},
{
"pokeapi_id": 755,
"pokemon_name": "Morelull",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 14,
"max_level": 17
"max_level": 17,
"conditions": {
"night": 20
}
},
{
"pokeapi_id": 46,
"pokemon_name": "Paras",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 14,
"max_level": 17
"max_level": 17,
"conditions": {
"day": 20
}
},
{
"pokeapi_id": 60,
@@ -2168,9 +2211,12 @@
"pokeapi_id": 283,
"pokemon_name": "Surskit",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 14,
"max_level": 17
"max_level": 17,
"conditions": {
"night": 20
}
},
{
"pokeapi_id": 278,
@@ -3263,9 +3309,13 @@
"pokeapi_id": 278,
"pokemon_name": "Wingull",
"method": "walk",
"encounter_rate": 50,
"encounter_rate": null,
"min_level": 21,
"max_level": 24
"max_level": 24,
"conditions": {
"day": 30,
"night": 50
}
},
{
"pokeapi_id": 170,
@@ -3287,17 +3337,23 @@
"pokeapi_id": 177,
"pokemon_name": "Natu",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 21,
"max_level": 24
"max_level": 24,
"conditions": {
"day": 20
}
},
{
"pokeapi_id": 10092,
"pokemon_name": "Raticate (Alola)",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 21,
"max_level": 24
"max_level": 24,
"conditions": {
"night": 20
}
},
{
"pokeapi_id": 299,
@@ -3341,9 +3397,13 @@
"pokeapi_id": 771,
"pokemon_name": "Pyukumuku",
"method": "surf",
"encounter_rate": 40,
"encounter_rate": null,
"min_level": 22,
"max_level": 25
"max_level": 25,
"conditions": {
"day": 30,
"night": 30
}
},
{
"pokeapi_id": 456,
@@ -3457,33 +3517,45 @@
"pokeapi_id": 752,
"pokemon_name": "Araquanid",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 25,
"max_level": 28
"max_level": 28,
"conditions": {
"day": 20
}
},
{
"pokeapi_id": 168,
"pokemon_name": "Ariados",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 25,
"max_level": 28
"max_level": 28,
"conditions": {
"night": 20
}
},
{
"pokeapi_id": 166,
"pokemon_name": "Ledian",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 25,
"max_level": 28
"max_level": 28,
"conditions": {
"day": 20
}
},
{
"pokeapi_id": 284,
"pokemon_name": "Masquerain",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 25,
"max_level": 28
"max_level": 28,
"conditions": {
"night": 20
}
},
{
"pokeapi_id": 10107,
@@ -3861,9 +3933,13 @@
"pokeapi_id": 737,
"pokemon_name": "Charjabug",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 29,
"max_level": 32
"max_level": 32,
"conditions": {
"day": 10,
"night": 10
}
},
{
"pokeapi_id": 10110,
@@ -4021,9 +4097,12 @@
"pokeapi_id": 735,
"pokemon_name": "Gumshoos",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 30,
"max_level": 33
"max_level": 33,
"conditions": {
"day": 30
}
},
{
"pokeapi_id": 279,
@@ -4037,9 +4116,12 @@
"pokeapi_id": 10092,
"pokemon_name": "Raticate (Alola)",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 30,
"max_level": 33
"max_level": 33,
"conditions": {
"night": 30
}
},
{
"pokeapi_id": 361,
@@ -4423,9 +4505,12 @@
"pokeapi_id": 168,
"pokemon_name": "Ariados",
"method": "walk",
"encounter_rate": 40,
"encounter_rate": null,
"min_level": 33,
"max_level": 36
"max_level": 36,
"conditions": {
"night": 40
}
},
{
"pokeapi_id": 546,
@@ -4447,9 +4532,12 @@
"pokeapi_id": 166,
"pokemon_name": "Ledian",
"method": "walk",
"encounter_rate": 40,
"encounter_rate": null,
"min_level": 33,
"max_level": 36
"max_level": 36,
"conditions": {
"day": 40
}
},
{
"pokeapi_id": 741,
@@ -5427,9 +5515,12 @@
"pokeapi_id": 427,
"pokemon_name": "Buneary",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 52,
"max_level": 55
"max_level": 55,
"conditions": {
"night": 10
}
},
{
"pokeapi_id": 732,
@@ -5467,9 +5558,12 @@
"pokeapi_id": 447,
"pokemon_name": "Riolu",
"method": "walk",
"encounter_rate": 10,
"encounter_rate": null,
"min_level": 52,
"max_level": 55
"max_level": 55,
"conditions": {
"day": 10
}
}
]
},
@@ -5568,9 +5662,13 @@
"pokeapi_id": 743,
"pokemon_name": "Ribombee",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 30,
"night": 20
}
},
{
"pokeapi_id": 670,
@@ -5592,9 +5690,12 @@
"pokeapi_id": 200,
"pokemon_name": "Misdreavus",
"method": "walk",
"encounter_rate": 10,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"night": 10
}
}
]
},
@@ -5630,17 +5731,23 @@
"pokeapi_id": 735,
"pokemon_name": "Gumshoos",
"method": "walk",
"encounter_rate": 70,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 70
}
},
{
"pokeapi_id": 10092,
"pokemon_name": "Raticate (Alola)",
"method": "walk",
"encounter_rate": 70,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"night": 70
}
},
{
"pokeapi_id": 57,
@@ -5716,17 +5823,23 @@
"pokeapi_id": 735,
"pokemon_name": "Gumshoos",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 30
}
},
{
"pokeapi_id": 10092,
"pokemon_name": "Raticate (Alola)",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"night": 30
}
},
{
"pokeapi_id": 732,
@@ -5770,33 +5883,47 @@
"pokeapi_id": 735,
"pokemon_name": "Gumshoos",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 30
}
},
{
"pokeapi_id": 10092,
"pokemon_name": "Raticate (Alola)",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"night": 30
}
},
{
"pokeapi_id": 297,
"pokemon_name": "Hariyama",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 20,
"night": 10
}
},
{
"pokeapi_id": 97,
"pokemon_name": "Hypno",
"method": "walk",
"encounter_rate": 20,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 10,
"night": 20
}
},
{
"pokeapi_id": 546,
@@ -5864,9 +5991,12 @@
"pokeapi_id": 735,
"pokemon_name": "Gumshoos",
"method": "walk",
"encounter_rate": 10,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 10
}
},
{
"pokeapi_id": 241,
@@ -5880,9 +6010,12 @@
"pokeapi_id": 10092,
"pokemon_name": "Raticate (Alola)",
"method": "walk",
"encounter_rate": 10,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"night": 10
}
},
{
"pokeapi_id": 128,
@@ -5910,17 +6043,23 @@
"pokeapi_id": 735,
"pokemon_name": "Gumshoos",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"day": 30
}
},
{
"pokeapi_id": 10092,
"pokemon_name": "Raticate (Alola)",
"method": "walk",
"encounter_rate": 30,
"encounter_rate": null,
"min_level": 54,
"max_level": 57
"max_level": 57,
"conditions": {
"night": 30
}
},
{
"pokeapi_id": 546,
@@ -6705,7 +6844,7 @@
]
},
{
"name": "Team Rocket\u2019s Castle",
"name": "Team Rockets Castle",
"order": 124,
"encounters": [
{