Commit graph

1057 commits

Author SHA1 Message Date
Petr Viktorin
f65d8bb062 Fix level-up evolution without a level restriction 2011-05-04 20:47:59 +03:00
Petr Viktorin
731a172854 Implement the Pomeg glitch; the readouts aren't so good but should work 2011-05-04 17:15:12 +03:00
Petr Viktorin
2862444402 Fix breeding gender restrictions. More tests. 2011-08-30 14:06:17 +03:00
Petr Viktorin
17df21b420 fixup! Disable breeding tutor (and level-up) moves 2011-08-30 14:05:45 +03:00
Petr Viktorin
715947d73b Disable breeding tutor (and level-up) moves
Also, low-level level-up moves appear automatically on the egg.
2011-05-04 15:13:16 +03:00
Petr Viktorin
cb97423f41 Disable relearning & breeding in generation I 2011-05-04 14:39:14 +03:00
Petr Viktorin
a765f95eda Implement form switching and Rotom's form moves 2011-05-02 17:22:48 +03:00
Petr Viktorin
850c63c32e Pokemon species split: Movesets 2011-05-02 16:40:27 +03:00
Petr Viktorin
9a319a8afd Move the moveset tests to py.test 2011-05-02 16:39:58 +03:00
Petr Viktorin
24b0862c32 Pokemon species split: Automatic data changes 2011-05-02 01:12:03 +03:00
Petr Viktorin
750a5c1ae4 Pokemon species split: Script for automatic changes. See #579 2011-05-02 01:11:56 +03:00
Eevee
349fbb2d94 Merge remote-tracking branch 'origin/encukou-markdown' 2011-04-28 19:40:20 -07:00
Petr Viktorin
7d7fcc74c8 Don't set autoincrement for ids with zeroes. Test included. #580 2011-04-28 23:45:43 +03:00
Petr Viktorin
b711edd511 Port the Markdown value tests from spline-pokedex. Fix remaining strings. 2011-04-28 23:43:54 +03:00
Petr Viktorin
f7a9c28e60 Rename MoveFlagType/MoveFlag to MoveFlag/MoveFlagMap. #591 2011-04-28 23:43:54 +03:00
Petr Viktorin
85d779ba83 Move Markdown handling to the translation classes
- the Session has a `pokedex_link_maker` property, whose `object_url`
  method is used to make URLs in Markdown
- pokemon.names_table.name is now an ordinary Unicode column
- pokemon.name is a MarkdownString that is aware of the session and the
  language the string is in
- pokemon.name_map is a dict-like association_proxy of the above
- move.effect works similarly, with transparent $effect_chance substitution
  as before
2011-04-28 23:42:56 +03:00
Petr Viktorin
5a6ff3d27b Fix some move short effects 2011-04-28 23:42:56 +03:00
Petr Viktorin
059f7dfc55 Autofill empty labels in Markdown links
- as_text() is now a function that takes the session as an argument
- likewise as_html(), which also takes URL makers and the language
- since there should be only one link extension, it is registered by
  setting default_link_extension, not appending to markdown_extensions.
  This only affects the __html__ attribute.
2011-04-28 23:42:56 +03:00
Petr Viktorin
051d6563a4 Don't try to replace the $effect_chance in missing effect translations 2011-04-28 23:42:56 +03:00
Petr Viktorin
733bedd602 Remove explicit labels that match the target's name from Markdown links 2011-04-28 23:42:56 +03:00
Petr Viktorin
8fdd91ecc1 Change the markdown-link-rewriting script to remove explicit labels 2011-04-28 23:42:56 +03:00
Petr Viktorin
98dcc613e2 Use relationship() instead of the deprecated relation(). #596 2011-04-28 23:31:38 +03:00
Petr Viktorin
7d1f5ada12 Add a README to scripts/, indicating that these are not for general use. 2011-04-28 23:31:38 +03:00
Petr Viktorin
4a9a4bfc62 Fix names of evolution triggers 2011-04-28 23:31:38 +03:00
Petr Viktorin
7767d546ac Don't recreate the lookup index in tests 2011-04-28 23:31:38 +03:00
Petr Viktorin
3c17720a1c order_by_name: properly fall back to the specified languages, or identifier
Sometimes, translations are incomplete. Handle this gracefully by allowing
fallback languages. If there are none, fall back to the identifier to get
at least some order.
2011-04-28 23:31:38 +03:00
Petr Viktorin
247f7ead43 Add __init__.py to pokedex/util 2011-04-28 23:31:38 +03:00
Petr Viktorin
01ba8d77ec Add some tests for form-changing & event pokémon 2011-04-27 22:50:14 +03:00
Lynn "Zhorken" Vaughan
4b5de689f8 Give Rotom's forms an explicit order.
The in-game Pokédex actually lists them in this order now, rather than
whatever order you see them in.
2011-04-27 14:25:57 -04:00
Petr Viktorin
d99d9219d2 Shedinja fixes 2011-04-27 18:49:02 +03:00
Petr Viktorin
5fb0eed9dc Take Shedinja's 'shed' evolution into account. 2011-04-27 18:00:35 +03:00
Petr Viktorin
11d803fd63 Some love for the interface & tests 2011-04-27 16:00:50 +03:00
Petr Viktorin
b27187e99a Rewrite _HeapDict.pop() a bit 2011-04-27 14:50:07 +03:00
Petr Viktorin
e4c0d0b16b Share session across tests 2011-04-27 14:30:11 +03:00
Petr Viktorin
d746716575 Cache common stuff. Remove goal from a_star. 2011-04-27 14:21:24 +03:00
Petr Viktorin
cb78144e8d print 'Illegal move combination.' 2011-04-27 13:33:08 +03:00
Petr Viktorin
0f28e1ebda Make the trade table more sparse 2011-04-27 13:16:39 +03:00
Petr Viktorin
15b92851ed Add a profiling harness 2011-04-27 04:58:15 +03:00
Petr Viktorin
681d56387d Eliminate some unneeded node creation 2011-04-27 04:47:36 +03:00
Petr Viktorin
0de03e864f Optimize some set operations 2011-04-27 04:34:29 +03:00
Petr Viktorin
b2e54ca1ea Merge A* in. General improvements. 2011-04-27 04:13:54 +03:00
Petr Viktorin
88b9a216c7 Misc. 2011-04-27 03:17:07 +03:00
Petr Viktorin
add72ef5da Add a docstring 2011-04-27 02:35:11 +03:00
Petr Viktorin
6f535fdba4 Improve breeding a bit. And, add Unicode 2011-04-27 02:24:57 +03:00
Petr Viktorin
7fe9e62be3 Add Sketch. And some tests. 2011-04-27 02:04:28 +03:00
Petr Viktorin
266f863334 Yet another breed compatibility check 2011-04-27 01:04:14 +03:00
Petr Viktorin
4f8108d61b Fix up breeding 2011-04-27 00:51:40 +03:00
Petr Viktorin
8dee48d966 Misc. 2011-04-26 21:04:29 +03:00
Petr Viktorin
02dd22eaf4 Make Volt Tackle work again 2011-04-26 20:22:05 +03:00
Petr Viktorin
a626886ec2 Working on breeding 2011-04-26 20:09:04 +03:00