Commit graph

621 commits

Author SHA1 Message Date
Henddher Pedroza
97dfcd81b5 e2e of puzzle that consumes all parts and produces no results 2018-10-28 10:53:42 -05:00
Henddher Pedroza
5a8999920d Merge branch 'master' of https://github.com/evennia/evennia into puzzles 2018-10-23 20:07:34 -05: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
3b75780b40 Make tutorial_world roots give clearer errors. Allow home/quit from dark room. Resolves #1584. 2018-10-08 18:50:33 +02:00
Henddher Pedroza
b863364635 Replace FIXMEs with TODOs 2018-10-07 11:50:59 -05:00
Henddher Pedroza
41bfea38f9 Prototypes automatically adds 'prototype_key' and such prevents objects/puzzle-parts matching during puzzle resolution. Fix tags processing in spawner 2018-10-07 11:30:42 -05:00
Henddher Pedroza
a3b37d60ed Debug code: comparing .tags.all() vs tags.get() 2018-10-06 19:29:32 -05:00
Henddher Pedroza
67fecbe3fc 0.8.0 port 2018-10-06 08:00:23 -05: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
0097f24576 Fix to tutorial_world's locks 2018-09-30 14:24:44 +02:00
Griatch
27910b9904 Move audit contrib into security subfolder 2018-09-29 17:47:56 +02:00
Griatch
a8eecce989 Some default cleanup of contrib, pep8 adjustments 2018-09-29 15:13:06 +02:00
Griatch
85114d6de5 Merge branch 'auditing' of https://github.com/strikaco/evennia-dev into strikaco-auditing 2018-09-29 13:33:28 +02:00
Johnny
e99330a445 Adds additional CmdNewPassword() checks and tests. 2018-09-25 21:37:34 +00:00
Johnny
54213ab614 Moves installation/config instructions to README. 2018-09-25 21:24:54 +00:00
Griatch
33f04312f2 Merge branch 'validation' of https://github.com/strikaco/evennia-dev into strikaco-validation 2018-09-25 21:17:36 +02:00
Griatch
4f93bc7ee5 Fix for PEP8 and resolve a traceback. 2018-09-25 21:12:35 +02:00
Griatch
afaadf77cc Merge branch 'fieldfill' of https://github.com/FlutterSprite/evennia into FlutterSprite-fieldfill 2018-09-25 20:50:34 +02:00
Griatch
a489256cc3 Some pep8 fixes 2018-09-25 20:43:01 +02:00
Johnny
c8c9e831ee Forces validation on Account.set_password() and provides an Account.validate_password() method to validate passwords. 2018-09-20 20:37:48 +00:00
Johnny
ddf01d1631 Implements password validation via the native Django framework. 2018-09-20 00:06:09 +00: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
Johnny
8f8ad26e66 Adds filtering for sparse values, better/recursive parsing of text field, and regex-based command detection. 2018-09-05 21:35:37 +00:00
Johnny
27796c786f Fixes failing tests. 2018-09-05 21:35:29 +00:00
Johnny
ef6494c5ac Allows more configurable extensibility and addresses PR change requests. 2018-09-05 21:35:20 +00:00
Johnny
6fb375ace3 Fixes broken coverage. 2018-09-05 21:35:09 +00:00
Johnny
8406928058 Implements user input and server output auditing. 2018-09-05 21:35:02 +00: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
Henddher Pedroza
24649ef171 Documentation corrections and clarifications 2018-09-02 22:48:42 -05:00
Henddher Pedroza
250a233703 Addition of CmdListPuzzleRecipes and CmdListArmedPuzzles 2018-09-02 22:34:17 -05:00
Henddher Pedroza
a1c428a355 When multiple puzzles are matched, show their names to the caller and
then randomly pick one
2018-09-02 19:19:21 -05:00
Henddher Pedroza
7f9d8c1442 Puzzles System - first cut:
PuzzlePartObject: typeclass for puzzle parts and results.
PuzzleRecipeObject: typeclass to store prototypes of parts and results.
PuzzleSystemCmdSet: commands to create, arm and resolve puzzles.
2018-09-02 15:38:17 -05:00
Vincent Le Goff
415322fe1a Merge branch 'develop' into building_menu 2018-09-02 12:33:22 +02:00
Griatch
5ec9fd4991 Correct spawner import in contrib 2018-08-12 15:06:16 +02:00