Commit graph

274 commits

Author SHA1 Message Date
Eevee
9a985f187e Make setup.py install work with package_data.
The CSVs are now the only package data.  Otherwise, setuptools would
copy every single sprite individually to the standard library directory,
which is slow and time-consuming and wasteful.  If you need the sprites,
use them from the repo.  :(
2010-05-15 13:11:01 -07:00
a_magical_me
ffc30bff8f Factor out logic for finding the default db/index. #180
Note: `if not x:` has changed to `if x is not None:`, changing the
semantics slightly.  Shouldn't be a big issue.
2010-05-13 21:45:51 -07:00
Eevee
5e52bef91a Make plumbing respect the same env vars as the CLI. #180 2010-05-12 23:23:05 -07:00
Eevee
1c230f5990 Make pokedex status a bit more useful. #180 2010-05-12 23:18:02 -07:00
Eevee
79df4768bf Split PokedexLookup(recreate=True) into its own method. #216 2010-05-12 22:38:36 -07:00
Eevee
cb2bfa3032 Added some missing item icons and fixed TMs/Data Cards. #248 2010-05-11 20:20:33 -07:00
Eevee
df61f8dd1f s/Pokemon/Pokémon/g #45 2010-05-10 19:04:58 -07:00
Eevee
ad28e9f9db Unique Pokédex names. 2010-05-09 21:47:07 -07:00
Eevee
2333670d09 Pokemon.types should order by slot. #220 2010-05-09 21:47:07 -07:00
Eevee
cbf5223446 Fix ordering of Pokémon abilities. #257 2010-05-09 21:47:07 -07:00
Zhorken
dbabe2b5d5 Corrected a couple of French Pokémon names.
I compared with a rip from a Mystery Dungeon game.  These are the only
two that didn't match, ignoring accents on capital letters.  I need to
find an official list of names that includes accents on capital
letters....
2010-05-04 03:32:05 -04:00
Zhorken
93108a6a84 Added ability flavour text. #62
We had D/P flavour text in the abilities table already, but I didn't
entirely trust it, so I reripped it along with the rest when I moved
flavour text into its own table.  And we didn't actually use the D/P
text anywhere, so I'm just going to pretend that it is entirely new.
2010-05-04 03:31:54 -04:00
Zhorken
641df3649d Added ability effects. Rewrote short effects. #39 2010-05-04 03:31:40 -04:00
Zhorken
e03d767b99 Removed "No Ability" from abilities.
B|
2010-05-04 02:39:51 -04:00
Zhorken
3007297ede Added abilities' generations to the database. 2010-05-04 02:39:51 -04:00
Eevee
b8481d551a Added GrowthRate.max_experience. 2010-05-03 01:00:38 -07:00
Eevee
f8145b87e4 Restored Item.appears_underground and added location support to rst. 2010-05-03 01:00:38 -07:00
Eevee
d98632aa50 Broke existing item flags out into their own table. 2010-05-03 01:00:38 -07:00
Eevee
853a6eb921 Added item HG/SS flavor text and internal ids. #168? 2010-05-03 01:00:37 -07:00
Eevee
2040ed2b37 Added some HG/SS item data. #168 2010-05-03 01:00:37 -07:00
Eevee
9ca0f486f6 Lookup now respects "ability" as a lookup type. 2010-04-30 00:22:03 -07:00
Eevee
97f96a5695 Let lookup accept hex/octal/binary numbers. 2010-04-28 11:37:12 -07:00
Zhorken
2ff35a58e0 Merge branch 'master' of git@veekun.com:pokedex 2010-04-28 03:59:04 -04:00
Zhorken
d5b3fda216 Reripped Gen I–III Pokémon flavour text. #46
Page breaks are represented by form feeds and soft hyphens are
represented by soft hyphens, even though the Unicode standard's idea of
a soft hyphen is different from what we mean here.

My ripping scripts are at http://github.com/Zhorken/pokemon-flavour
2010-04-28 03:58:43 -04:00
Zhorken
97382e375d Reripped Gen I–III Pokémon flavour text.
Page breaks are represented by form feeds and soft hyphens are
represented by soft hyphens, even though the Unicode standard's idea of
a soft hyphen is different from what we mean here.

My ripping scripts are at http://github.com/Zhorken/pokemon-flavour
2010-04-28 02:56:31 -04:00
a_magical_me
941bce52d7 Add experience tables. 2010-04-27 14:53:47 -07:00
Eevee
58dccb1803 Jammed in a bunch of nature stuff. 2010-04-26 23:26:37 -07:00
Eevee
affb8a02fb Turned Move.contest_type into a foreign key. 2010-04-26 21:48:44 -07:00
Eevee
56a47575a3 Shuffled item categories. 2010-04-26 21:48:32 -07:00
Eevee
b5fd88bba4 Item tidying; fixed missing és, added ItemPocket.identifier. 2010-04-26 21:13:28 -07:00
Eevee
fa3d205e51 At last, imported item and berry data. #10 2010-04-25 23:23:52 -07:00
Eevee
25c81541ae Use fnmatch for filenameish glob parsing. 2010-04-24 15:37:55 -07:00
Eevee
6106737465 Tiny fix for CLI help. 2010-04-24 14:52:23 -07:00
Eevee
c9f32a8145 Loading big tables now shows a progress indicator. #180 2010-04-24 14:06:56 -07:00
Eevee
2204b95585 Overhauled CLI. #180
- Everything now accepts -i, -e, -q, and -v.

- Plumbing commands now announce what database/index they're using and
  where they got them from.

- New command status, which does nothing but still does the announcing.

- New command reindex, which recreates only the whoosh index.
2010-04-24 14:06:56 -07:00
Eevee
6de60fd30f Oops; Rash had its stats backwards. 2010-04-24 14:06:56 -07:00
Eevee
76065800ae Fixed some location names. #167 2010-04-24 14:06:56 -07:00
Zhorken
984b1372a9 Merge branch 'master' of git@veekun.com:pokedex 2010-04-24 03:01:42 -04:00
Zhorken
a8c0b582e2 Fixed references to "U-Turn" to "U-turn".
There were no references to Conversion 2 or Roar of Time.
2010-04-23 00:45:57 -04:00
a_magical_me
b80d2d2963 Fix location_area_encounter_rates
- encounter_type_id -> encounter_terrain_id

- Added a version_id column. Previous rates were from Diamond and
  HeartGold; these have been copied to Pearl & Platinum and SoulSilver,
  respectively, which i assume is accurate. RBY rates need to be added.
2010-04-21 10:57:23 -07:00
Zhorken
4bf3a962df Added missing R/B internal IDs. 2010-04-21 00:45:09 -04:00
Zhorken
15eeef833a Fixed "Roar Of Time" to "Roar of Time", too.
Shouldn't be so push-happy, I suppose.
2010-04-20 15:20:01 -04:00
Zhorken
3c0b60ecb3 Fixed Conversion 2 and U-turn's names.
Based on a Platinum text dump; I'm pretty sure Conversion2 was all one
word at some point.

Interestingly, the use messages for U-turn all read "___________ used
U-Turn!", but it's "U-turn" as the actual move name.
2010-04-20 15:06:04 -04:00
Eevee
b9a32beb35 Refactored valid-type handling in lookup.
- User-specified types are now merged with code-enforced ones, rather
  than being blindly clobbered.

- Prefix lookup now supports type prefixes.
2010-04-19 00:33:18 -07:00
Eevee
954d997b0e Fixed description for one-Pokémon targeting, and effect for Me First. #135 2010-04-18 23:38:35 -07:00
Eevee
7e73884d0c Fixed some missing colons in "🧑‍🔧". #185 2010-04-18 23:11:52 -07:00
Eevee
55dd46fae7 Support natures in lookup. 2010-04-18 22:43:33 -07:00
Eevee
78bff787f6 Fixed the hell out of the capture rate formula. #150
- Wobbles are based on WHICH number is greater than some pivot, not how
  many.  This was making everything totally wrong, especially 0 wobbles.

- HG/SS balls all modify capture rate, rather than ball bonus.

- Everything really is integer math; even the sqrts.  Bonuses are
  relative to 10, not 1.  HP is now treated as integer math, too.

- Implemented a minor game bug with very hard to catch Pokémon.
2010-04-17 02:16:42 -07:00
Eevee
6da2b325fa Added pokedex.savefile, which can encrypt/decrypt Pokémon save structs. 2010-04-16 23:09:34 -07:00
Eevee
67b36748e2 Made Encore effect a bit more accurate. 2010-04-16 23:09:33 -07:00