Refactored encounters schema so HG/SS can work.
authorEevee <git@veekun.com>
Wed, 9 Dec 2009 22:35:29 +0000 (14:35 -0800)
committerEevee <git@veekun.com>
Wed, 9 Dec 2009 22:35:29 +0000 (14:35 -0800)
commit86164d3b4df0d8a1854ee0db85a9f2b718ddc6f6
treeb6bb2dcb88fdeab67f1f291870a1a85422fa4a82
parent358a4f88158b7ba8296c1c07f51a48b43f565df9
Refactored encounters schema so HG/SS can work.

Conditions are now condition values; condition groups are conditions.
Types are now terrain.  Slots are first-class things.

Encounters' condition values and slots' conditions have been broken off
into their own tables, as HG/SS has several slots affected by multiple
conditions.
pokedex/data/csv/encounter_condition_groups.csv [deleted file]
pokedex/data/csv/encounter_condition_value_map.csv [new file with mode: 0644]
pokedex/data/csv/encounter_condition_values.csv [new file with mode: 0644]
pokedex/data/csv/encounter_conditions.csv
pokedex/data/csv/encounter_slot_conditions.csv [new file with mode: 0644]
pokedex/data/csv/encounter_slots.csv [new file with mode: 0644]
pokedex/data/csv/encounter_terrain.csv [moved from pokedex/data/csv/encounter_types.csv with 100% similarity]
pokedex/data/csv/encounter_type_slots.csv [deleted file]
pokedex/data/csv/encounters.csv
pokedex/db/tables.py