Commit graph

961 commits

Author SHA1 Message Date
Epithumia
00013f5ac0 Grouped all the hackery manipulations of the names in oracle.py, easily reversible too. Fixed dump to read from short named columns but dump in long named files. Load/dump now uses oracle.py to handle the name stuff. 2013-12-19 15:46:31 +01:00
Epithumia
6c0074b1a5 Remove table renaming from connect(), instead require 'from pokedex.db.oracle import *' followed by 'rewrite_long_table_names()'; 2013-12-19 13:45:07 +01:00
Epithumia
33d2940b1b Group the oracle-related renaming into functions in oracle.py ; check whether a renaming was already done before doing it, likewise check if a renaming was done before undoing it 2013-12-19 13:03:48 +01:00
Epithumia
6724e301be Remove useless imports 2013-12-19 06:57:12 +01:00
Epithumia
aa9fd809bf Revert aggressive renaming; add check to make sure connect doesn't rewrite _original_name 2013-12-19 06:52:51 +01:00
Epithumia
3f63e3c802 Aggressive table renaming, in case dropping the vowels still doesn't bring the length under 30 2013-12-19 00:36:43 +01:00
Epithumia
0d9d44ca03 Removed use of table.description, add a _original_name to it instead 2013-12-18 23:37:03 +01:00
Epithumia
591d3bb4dd The fix for empty strings should only be applied to oracle sessions 2013-12-18 14:42:23 +01:00
Epithumia
5501be34a8 Support for Oracle: auto-shorten long table names, use UnicodeText() instead of Unicode(4000) because of size limitations for the mapped datatypes in Oracle 2013-12-18 14:32:13 +01:00
Lynn "Zhorken" Vaughan
bf2c79879d Add Happy Hour and Celebrate. 2013-12-11 14:20:14 -05:00
Lynn "Zhorken" Vaughan
fb06d85e1e Keldeo can switch forms. 2013-12-05 16:41:22 -05:00
Lynn "Zhorken" Vaughan
199feadce6 Fix a typo in Combusken's X entry. 2013-12-02 22:49:23 -05:00
Lynn "Zhorken" Vaughan
489b0dca9b Add all the remaining heights and weights.
I got these all from pokemonxy.com, along with most of the last batch.
I'll double-check them in-game when I can.
2013-11-23 10:14:28 -05:00
Lynn "Zhorken" Vaughan
5bba8d9ca9 Remove flags for nonexistent moves. 2013-11-23 09:42:09 -05:00
Lynn "Zhorken" Vaughan
79acc09c4f Correct Eerie Impulse's effect. 2013-11-23 09:30:40 -05:00
surskitty
b9b39b0baa Actually add abilities ignored by role play this time. 2013-11-22 10:44:16 -05:00
surskitty
e3f2f4006f Add abilities ignored by role play. 2013-11-22 10:41:48 -05:00
surskitty
bfbd41c29e Update a few moves for XY. 2013-11-21 21:56:54 -05:00
surskitty
20e211fac6 Correct powder move flag to include overcoat. 2013-11-21 21:56:15 -05:00
surskitty
525bbfc971 Fix errors with Draining Kiss and Mat Block flags. 2013-11-21 20:54:22 -05:00
surskitty
7b3016618c Preliminary flags for new moves. 2013-11-21 20:31:18 -05:00
surskitty
1a6b68ab1f Add new flags to old moves. 2013-11-21 20:30:32 -05:00
surskitty
92f75858c7 Add new flags (powder, pulse, ballistics, bite, mental) 2013-11-21 20:15:23 -05:00
John Pray
c80e35bae7 Fix Big Pecks ability description
Fix typo of "Attack" to "Defense"
2013-11-17 14:24:03 -05:00
Lynn "Zhorken" Vaughan
cfb19162ea Correct Magician too (thx daikonpan). 2013-11-17 11:22:37 -05:00
Lynn "Zhorken" Vaughan
53e4c063ba A handful of move/ability corrections (thx Bachuru). 2013-11-17 11:12:16 -05:00
Andrew Ekstedt
717e52b66a Limit Unicode columns to 4000 characters. Fixes #102.
This is the maximum length of an NVARCHAR column in SQL Server 2012.[1]

Our longest bit of prose is currently Substitute's effect, at 3180
characters.

[1]: http://technet.microsoft.com/en-us/library/ms186939.aspx
2013-11-16 16:50:15 -08:00
Andrew Ekstedt
7bb20406b7 Don't import * from sqlalchemy.types 2013-11-16 16:03:37 -08:00
Lynn "Zhorken" Vaughan
917f79fb61 Update Pokémon stats.
From Showdown, of course.

n.b. their stats for Average Pumpkaboo don't line up with the rest of
the Pumpkaboos so I skipped those.
2013-11-14 09:48:49 -05:00
Lynn "Zhorken" Vaughan
872793fc1b Another Showdown sync for Pokémon moves.
Hopefully the last for now; veekun's about ready to update.
2013-11-13 18:03:36 -05:00
Lynn "Zhorken" Vaughan
3af0aabd7f Add about half the remaining heights/weights. 2013-11-11 12:30:15 -05:00
Lynn "Zhorken" Vaughan
4f47c485a2 Update move stats, again from Showdown. 2013-11-10 05:34:51 -05:00
Lynn "Zhorken" Vaughan
f343c615a1 Another little Showdown sync. 2013-11-10 05:34:45 -05:00
Lynn "Zhorken" Vaughan
281887b041 Blade Aegislash is battle-only. 2013-11-09 11:13:20 -05:00
Lynn "Zhorken" Vaughan
f17833d1be Add move/item flavor text.
I'll add ability flavor text once the ability column is fixed.
2013-11-09 10:44:17 -05:00
Lynn "Zhorken" Vaughan
7486330365 Update a few item names. 2013-11-09 10:42:30 -05:00
Lynn "Zhorken" Vaughan
4670dc6149 Add foreign item names. 2013-11-09 10:08:47 -05:00
Lynn "Zhorken" Vaughan
00d5ef03cb Fix a typo in "Kangaskhanite". 2013-11-09 10:04:38 -05:00
Lynn "Zhorken" Vaughan
5d914a78f4 Add foreign names for everything.
The ones we have, anyway.
2013-11-09 08:24:21 -05:00
Lynn "Zhorken" Vaughan
6625b48bfc Update pokemon_form_generations and version_group_pokemon_move_methods. 2013-11-09 06:42:30 -05:00
Lynn "Zhorken" Vaughan
712056b6b5 Sync Pokémon moves with Showdown. 2013-11-09 06:23:14 -05:00
Lynn "Zhorken" Vaughan
83d713b101 Aaaand Rollout didn't actually change, either. 2013-11-09 05:11:39 -05:00
Lynn "Zhorken" Vaughan
7b16deda57 Whoops, Freeze-Dry has a hyphen after all. 2013-11-09 05:04:02 -05:00
Lynn "Zhorken" Vaughan
5ec50ea26c Make the rest of the tests pass. 2013-11-09 03:49:09 -05:00
Lynn "Zhorken" Vaughan
7f22ad2c86 Update identifiers in prose. 2013-11-09 03:25:34 -05:00
Lynn "Zhorken" Vaughan
225d8c7225 Update move names.
This may be incomplete; this is just all the changes Showdown has so that
I can sync moves again.
2013-11-09 03:08:14 -05:00
Lynn "Zhorken" Vaughan
75d3932bf0 Double-check TM/HM compatibility for Kalos Pokémon. 2013-11-08 02:02:00 -05:00
Lynn "Zhorken" Vaughan
052b7162b4 Burmy actually does learn Hidden Power by TM now, but nothing else. 2013-11-07 10:47:27 -05:00
Lynn "Zhorken" Vaughan
8a752f3be4 Add effects for new moves. 2013-11-07 10:29:20 -05:00
Lynn "Zhorken" Vaughan
ec2a04ccaf Copy short effects to long effects for new abilities. 2013-11-07 09:44:03 -05:00