Commit graph

240 commits

Author SHA1 Message Date
Griatch
1d233aa8f0 Fix error in pluralization inflection. Resolves #2183. 2020-09-01 19:10:07 +02:00
Griatch
1d5f27b820 Run black on sources; add black config 2020-07-27 21:12:06 +02:00
Griatch
dc377d2840 Make ic command better handle multiple-matches.
Resolves #1923. This changes the `ic` command so non-privileged
users will search through their `_playable_characters` Attribute list.

Privileged (Builder+) users will use their `_playable_characters` list,
but if they are already puppeting a char in the same location as an
object with the given name, this will be used instead. Only if no match
is found neither in `_playable_characters` nor in the current location
will a global search for a puppetable target be done (and only for
Builders+)
2020-07-20 22:25:23 +02:00
Griatch
7b13553f25 Make DefaultObject/Room/Exit's argument optional. Also resolves #2162. 2020-07-18 22:37:43 +02:00
Griatch
d042b441ce Black formatting artefact. Resolves #2158 2020-07-18 21:49:15 +02:00
Griatch
6c968af313
Merge pull request #2091 from davidamandoestrada/BugFix#2088
Manager.py is returning a couple of querysets instead of lists. Fix for bug #2088
2020-04-23 19:19:46 +02:00
David Estrada
534df9529b No longer passing quiet argument to _AT_SEARCH_RESULT. Took out empty line 2020-04-20 19:23:04 -07:00
David Estrada
224ad5322f Misunderstood what the quiet flag was doing. If quiet flag is set, DefaultObject will return a list 2020-04-20 19:20:50 -07:00
David Estrada
5f5f51304b Seems DefaultObject search should return a list, even if _AT_SEARCH_RESULT returns None 2020-04-20 18:59:55 -07:00
David Estrada
66c8bb2be8 Send Search Results through _AT_SEARCH_RESULT in DefaultObject class 2020-04-20 18:36:49 -07:00
trhr
5af43fbee6 fixing fstring 2020-04-16 06:14:03 -05:00
trhr
5c51bb7e97 fixing fstring 2020-04-16 05:53:51 -05:00
Griatch
dd13a3e2e0 Fix home kwarg not being honored by Character.create 2020-03-23 23:44:32 +01:00
trhr
13ceabc1a4 weird comment, nbd 2020-02-28 22:32:28 -06:00
trhr
4ae73949f5 django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: django.utils.translation.gettext(), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy(). 2020-02-09 20:14:47 -06:00
Griatch
d1219ea565 Handle inflex pluralization errror on complex object name. Resolves #2015. 2020-01-18 13:01:33 +01:00
Griatch
a27a8c3df3 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
3cc5701f66 Ran black on branc 2019-12-16 20:31:42 +01:00
Johnny
afabb6ff2a Fixes create() method failure where no account was provided. 2019-12-04 19:18:39 +00:00
Griatch
21fe2c0e2c Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Greg Taylor
095ef9df93 Remove builtins imports
This module is not intended to be used directly in most cases, per:
https://docs.python.org/3/library/builtins.html

None of our usages warrant the explicit import. We also avoid some
confusion as folks dig to see what we are doing to require
importing builtins directly.
2019-09-15 20:29:59 -07:00
Greg Taylor
97f8bf8a6f Remove uses of the 'future' py2->3 module
This is no longer needed, now that we are Py3.7+ only. One
layer of indirection removed, and one less dependency.
2019-09-15 00:18:56 -07:00
Greg Taylor
a3b4660393 Fix breaking typo in evennia.objects.objects
Noneo->Noneo
2019-09-15 00:15:21 -07:00
Griatch
be44882143 Make DefaultObject echo confirmation when being puppeted, as per #1923 2019-09-14 20:56:36 +02:00
Griatch
6588a4ea2c More fixes to text2ansi regexes. Resolve #1920. Resolve #1924. 2019-09-14 20:18:07 +02:00
Griatch
5d6b9bc226 Fix typo in lock defintion 2019-09-08 20:19:51 +02:00
Griatch
e5e8addd09 Handle drop with drop:holds() lock. Default to pass for backwards-compatibilty while on Evennia 0.9. See #1868 2019-09-08 20:17:04 +02:00
Griatch
083459a6e6 Fix bug in DefaultObject.at_traverse. Resolve #1832. 2019-08-28 22:49:41 +02:00
Griatch
6f3949d67a Fix that caused whisper to never allow overriding text 2019-08-26 20:03:38 +02:00
Griatch
eb30e39f1f Fix bug in multi-object alias targeting. Resolves #1823 2019-06-03 07:01:03 +02:00
Griatch
5c521313d4 Various fixes from game jam 2019-05-14 10:33:31 +02:00
Andrew Bastien
ba3e7bcad1 Refactored the copy hook and added Kwargs. 2019-04-15 09:47:14 -04:00
Andrew Bastien
f299964441 Added at_object_creation_copy hook to DefaultObject. 2019-04-15 09:44:46 -04:00
Griatch
aa8429c535 Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
55ad6ee325 Change save/search_prototype, extend unittests 2019-02-09 16:52:02 +01:00
Griatch
347eb6adf6 Fix merge conflicts 2019-01-17 23:08:19 +01:00
Griatch
7fc74f3d2e Resolve merge conflict 2019-01-17 23:04:11 +01:00
Griatch
d2f41bfff0 Use to_str/to_bytes, replacing old versions 2019-01-16 23:26:46 +01:00
Vincent Le Goff
e54fb1c3d5 Fix a slight error in search with candidates 2019-01-06 21:27:19 +01:00
Griatch
cfb72b61d2 Merge branch 'develop' into develop-py3 2019-01-04 19:53:36 +01:00
Griatch
90777aba7a Re-add missing fix for candidates removed in refactor
Resolves #1763.
2019-01-04 19:36:31 +01:00
Griatch
b8dc257b49 Merge branch 'master' into develop 2019-01-04 19:33:18 +01:00
Griatch
8721d8c157 Further clarifications in search docstring 2019-01-04 14:35:44 +01:00
Griatch
a7de87b42d Clarifying use_dbref docstring 2019-01-04 12:56:43 +01:00
Griatch
56ce402f97 Fix merge conflicts 2019-01-01 15:19:20 +01:00
Johnny
65387c59ae Adds delete() lock to characters by default. 2018-11-07 20:44:48 +00:00
Johnny
ecfb86072d Minor fixes to handle addition of created chars to account playable characters list, and check for multisession mode compliance. 2018-10-24 18:57:48 +00:00
Griatch
c03c077d73 Update CHANGELOG, pep8 fixes 2018-10-23 01:04:25 +02:00
Johnny
03e4cf3250
Merge branch 'develop' into accounts 2018-10-22 15:03:06 -07:00
Griatch
30547cb5bf Made some pep8 fixes 2018-10-22 23:32:12 +02:00