mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
ca5b7a9cbf
Spots: it might seem like they should be conditions, but in practice they behave more like methods. Specifically, conditions typically make only minor changes to an encounter list. Spots change everything. So spots are added as methods, with each type of spot as a separate method. Not exactly ideal, but this causes the least fuss. Seasons work fine as conditions. Well, as well as time-of-day.
422 B
422 B
1 | id | encounter_condition_id | identifier | is_default |
---|---|---|---|---|
2 | 1 | 1 | swarm-yes | 0 |
3 | 2 | 1 | swarm-no | 1 |
4 | 3 | 2 | time-morning | 0 |
5 | 4 | 2 | time-day | 1 |
6 | 5 | 2 | time-night | 0 |
7 | 6 | 3 | radar-on | 0 |
8 | 7 | 3 | radar-off | 1 |
9 | 8 | 4 | slot2-none | 1 |
10 | 9 | 4 | slot2-ruby | 0 |
11 | 10 | 4 | slot2-sapphire | 0 |
12 | 11 | 4 | slot2-emerald | 0 |
13 | 12 | 4 | slot2-firered | 0 |
14 | 13 | 4 | slot2-leafgreen | 0 |
15 | 14 | 5 | radio-off | 1 |
16 | 15 | 5 | radio-hoenn | 0 |
17 | 16 | 5 | radio-sinnoh | 0 |
18 | 17 | 6 | season-spring | 0 |
19 | 18 | 6 | season-summer | 0 |
20 | 19 | 6 | season-autumn | 0 |
21 | 20 | 6 | season-winter | 0 |