mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Add B/W encounter methods and conditions
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.
This commit is contained in:
parent
c5fee20ef1
commit
ca5b7a9cbf
7 changed files with 32 additions and 8 deletions
|
@ -4,3 +4,4 @@ encounter_condition_id,local_language_id,name
|
|||
3,9,PokeRadar
|
||||
4,9,Gen 3 game in slot 2
|
||||
5,9,Radio
|
||||
6,9,Season
|
||||
|
|
|
|
@ -15,3 +15,7 @@ encounter_condition_value_id,local_language_id,name
|
|||
14,9,Radio off
|
||||
15,9,Hoenn radio
|
||||
16,9,Sinnoh radio
|
||||
17,9,During Spring
|
||||
18,9,During Summer
|
||||
19,9,During Autumn
|
||||
20,9,During Winter
|
||||
|
|
|
|
@ -15,3 +15,7 @@ id,encounter_condition_id,identifier,is_default
|
|||
14,5,radio-off,1
|
||||
15,5,radio-hoenn,0
|
||||
16,5,radio-sinnoh,0
|
||||
17,6,season-spring,0
|
||||
18,6,season-summer,0
|
||||
19,6,season-autumn,0
|
||||
20,6,season-winter,0
|
||||
|
|
|
|
@ -4,3 +4,4 @@ id,identifier
|
|||
3,radar
|
||||
4,slot2
|
||||
5,radio
|
||||
6,season
|
||||
|
|
|
|
@ -6,3 +6,9 @@ encounter_method_id,local_language_id,name
|
|||
5,9,Surfing
|
||||
6,9,Smashing rocks
|
||||
7,9,Headbutting trees
|
||||
8,9,Walking in dark grass
|
||||
9,9,Walking in rustling grass
|
||||
10,9,Walking in dust clouds
|
||||
11,9,Walking in bridge shadows
|
||||
12,9,Fishing in dark spots
|
||||
13,9,Surfing in dark spots
|
||||
|
|
|
|
@ -1,8 +1,14 @@
|
|||
id,identifier
|
||||
1,walk
|
||||
2,old-rod
|
||||
3,good-rod
|
||||
4,super-rod
|
||||
5,surf
|
||||
6,rock-smash
|
||||
7,headbutt
|
||||
id,identifier,order
|
||||
1,walk,1
|
||||
2,old-rod,6
|
||||
3,good-rod,7
|
||||
4,super-rod,8
|
||||
5,surf,10
|
||||
6,rock-smash,12
|
||||
7,headbutt,13
|
||||
8,dark-grass,5
|
||||
9,grass-spots,2
|
||||
10,cave-spots,3
|
||||
11,bridge-spots,4
|
||||
12,super-rod-spots,9
|
||||
13,surf-spots,11
|
||||
|
|
|
|
@ -779,6 +779,8 @@ class EncounterMethod(TableBase):
|
|||
info=dict(description="A unique ID for the method"))
|
||||
identifier = Column(Unicode(16), nullable=False, unique=True,
|
||||
info=dict(description="An identifier", format='identifier'))
|
||||
order = Column(Integer, unique=True, nullable=False,
|
||||
info=dict(description="A good column for sorting on"))
|
||||
|
||||
create_translation_table('encounter_method_prose', EncounterMethod, 'prose',
|
||||
name = Column(Unicode(64), nullable=False, index=True,
|
||||
|
|
Loading…
Reference in a new issue