Commit graph

142 commits

Author SHA1 Message Date
Griatch
fa3588be20 Assign crumbling wall dest for sake of postgres 2019-03-23 16:46:31 +01:00
Griatch
1d0d6bc7cf Update unit tests for better postgres support 2019-03-21 22:35:58 +01:00
Griatch
a9460cffad Update contrib tests for postgres 2019-03-21 18:32:58 +01:00
Griatch
3504d95402 Merge branch 'develop' into develop-py3 2019-03-21 16:45:50 +01:00
Griatch
5bf2280036 Solved remaining unittest issues with py3 2019-03-19 19:29:33 +01:00
Griatch
ce79c4aeed Update contrib unit tests 2019-03-17 13:52:46 +01:00
Griatch
1c9ca4b11c Resolve merge conflicts 2019-03-17 13:43:06 +01:00
Vincent Le Goff
7293af5d5a Fix #1577 2019-03-13 11:34:43 +01:00
Griatch
90b42ca6fb Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
e280b5a9da Fix health bar unittest 2019-02-23 22:31:06 +01:00
Griatch
b0a71b8763 Fix health bar unittest 2019-02-23 22:30:40 +01:00
Griatch
33b37b5df2 Fix unittest error caused by to_str change 2019-01-19 18:34:48 +01:00
Griatch
690ed6ecd1 Fix merge conflicts 2019-01-17 23:08:19 +01:00
Henddher Pedroza
74279720b6 Remove FIXME:. Scripts names are case-insensitive 2019-01-03 20:07:27 -06:00
Henddher Pedroza
54e68f99c4 Refactor use command to abstract puzzle matching functionality into unit-testable functions. More tests 2019-01-01 23:05:41 -06:00
Henddher Pedroza
45e123fe78 Replace word stone with word steel 2018-12-02 12:09:00 -06:00
Henddher Pedroza
1e4cfafdaa Cleanup 2018-11-11 19:17:52 -06:00
Henddher Pedroza
e52e68a08e Addition of mask to puzzles. Mask allows to mask-out part attributes during parts-and-recipes matching 2018-11-11 18:54:15 -06:00
Henddher Pedroza
6254762b41 Minor cleanup and when more than one puzzle can be resolved, don't show their names but just how many 2018-11-05 18:41:25 -06:00
Henddher Pedroza
d46472d91b Puzzle recipe with uppercase letter FAILS to be resolved 2018-10-28 10:56:15 -05:00
Henddher Pedroza
97dfcd81b5 e2e of puzzle that consumes all parts and produces no results 2018-10-28 10:53:42 -05:00
Vincent Le Goff
57f1c53ce0 Fix two bugs in unittest (one Windows-specific) 2018-10-14 11:44:35 +02:00
Griatch
5050b56ff1 Specify seconday sorting to stabilize test case 2018-10-14 00:50:07 +02:00
Henddher Pedroza
62f94f1cbd force PuzzleRecipe.db.puzzle_name to be stored as 'str' instead of unicode. Corresponding testcase 2018-10-13 16:47:06 -05:00
Griatch
e9bb903943 Reverse order of language in test 2018-10-13 22:27:12 +02:00
Henddher Pedroza
c7907cbf6c Merge conflict 2018-10-06 06:56:24 -05:00
Henddher Pedroza
2d7d6a8b78 Remove PuzzlePartObject and typeclass dependency 2018-10-02 15:17:15 +01:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
afaadf77cc Merge branch 'fieldfill' of https://github.com/FlutterSprite/evennia into FlutterSprite-fieldfill 2018-09-25 20:50:34 +02:00
Henddher Pedroza
555e8e5ac9 Add add/del(part) and add/del(results) switches to @puzzleedit to modify recipes 2018-09-18 22:46:01 -05:00
Henddher Pedroza
3c532f075f Add use_success_location_message so contents of room 'see' puzzle solver succeeding. Add parts are interchangeable warning confirmation when new puzzle-recipe matches existing one. 2018-09-17 20:57:11 -05:00
Henddher Pedroza
ee0a22757f Minor msg editing/formatting 2018-09-16 19:06:48 -05:00
Henddher Pedroza
a6918561c5 Add total recipes/armed-puzzles to @lspuzzlerecipes and @lsarmedpuzzles 2018-09-16 19:04:07 -05:00
Henddher Pedroza
ebcbbc2d0f Bump up coverage for puzzles module 2018-09-16 18:19:04 -05:00
Henddher Pedroza
109ca82175 Honor proto parts and results tags 2018-09-16 17:59:47 -05:00
Henddher Pedroza
1bdd7ce174 Remove one-to-one part/result to puzzle relationship based on puzzle_name. Instead, Tags puzzle_name:_PUZZLES_TAG_CATEGORY are used for matching. This allows to use older PuzzlePartObjects in newly created puzzles by adding the new puzzles' puzzle_name:_PUZZLES_TAG_CATEGORY tag to the old objects.
When creating proto parts and results, honor obj.home, obj.permissions, and obj.locks, and obj.tags
2018-09-16 17:25:57 -05:00
Henddher Pedroza
4f5c2f51ad Add @puzzleedit and puzzle.db.use_success_message so puzzle resolution message can be customized by builder 2018-09-15 21:08:48 -05:00
Henddher Pedroza
c5b2e49ffa E2E tests for puzzles 2018-09-15 12:02:22 -05:00
Henddher Pedroza
fe9d1fc7ab Increase test coverage for puzzles module 2018-09-15 01:36:33 -05:00
Henddher Pedroza
6e391450f2 Enforce parts and results to be DefaultObject not DefaultCharacter, DefaultRoom nor DefaultExit with tests. Tests for @lspuzzlerecipes and @lsarmedpuzzles 2018-09-14 23:28:56 -05:00
Henddher Pedroza
a349f6554e Minor cleanup 2018-09-14 21:58:18 -05:00
Henddher Pedroza
434abe0aa6 Revamp _bad_recipe() helper function and fix @puzzle command empty name 2018-09-13 20:00:50 -05:00
Henddher Pedroza
8e7106806b @armpuzzle tests 2018-09-10 20:00:08 -05:00
Henddher Pedroza
e767d77db8 PuzzleRecipe as DefaultScript; not as DefaultObject. Misc tests 2018-09-09 22:43:26 -05:00
Vincent Le Goff
fa31367a76 Update the building menu, following Griatch's feedback 2018-09-04 20:33:54 +02:00
Henddher Pedroza
ae3f171225 Tests for puzzles 2018-09-03 20:54:33 -05:00
Vincent Le Goff
415322fe1a Merge branch 'develop' into building_menu 2018-09-02 12:33:22 +02:00
Griatch
a31ac6b68f Patch out tickerhandler to avoid reactor testing issues 2018-06-12 23:50:50 +02:00
Griatch
5f238f2c34 Fix unit tests after merge 2018-06-12 20:28:48 +02:00
Griatch
e144672e74 Resolve merge conflicts 2018-06-12 20:13:22 +02:00