Commit graph

248 commits

Author SHA1 Message Date
Ben Longden
82e09ae7f0 Pass **kwargs to various hooks on move_to 2021-04-29 16:33:23 +01:00
fariparedes
2366ea4a9c Proposed fix 2021-03-26 21:42:15 -04:00
Griatch
2563bd8e46 Remove BASE_*_TYPECLASS from flat API, break circular imports of cmdhandler in accounts/objects. Resolve #2330. 2021-03-07 10:31:16 +01:00
Tim Chaplin
5ac9196acb Make ExitCommand inherit from settings.COMMAND_DEFAULT_CLASS
See 9923a0763d.
2020-12-27 14:01:31 -05:00
Griatch
975e98766e Better handle multimatch index out of scope. Resolve #2207. 2020-11-13 20:39:44 +01:00
Griatch
8b28900600 Ran black on sources 2020-10-21 21:11:04 +02:00
Griatch
d414cc3ccd Start add docs again 2020-10-08 21:45:18 +02:00
Griatch
32a13b63e7 More nodes to menu-tutorial contrib 2020-10-04 15:53:37 +02:00
Griatch
2a392c290d Fix error in pluralization inflection. Resolves #2183. 2020-09-01 19:10:07 +02:00
Griatch
b24d4f0e1e Run black on sources; add black config 2020-07-27 21:12:06 +02:00
Griatch
dd5c6274b7 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
050b050d24 Make DefaultObject/Room/Exit's argument optional. Also resolves #2162. 2020-07-18 22:37:43 +02:00
Griatch
5f6496b6a5 Black formatting artefact. Resolves #2158 2020-07-18 21:49:15 +02:00
Griatch
f0eda7db74 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
2c8603bdc1 No longer passing quiet argument to _AT_SEARCH_RESULT. Took out empty line 2020-04-20 19:23:04 -07:00
David Estrada
638bb2f4e7 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
8e294e68ff Seems DefaultObject search should return a list, even if _AT_SEARCH_RESULT returns None 2020-04-20 18:59:55 -07:00
David Estrada
508052ed2e Send Search Results through _AT_SEARCH_RESULT in DefaultObject class 2020-04-20 18:36:49 -07:00
trhr
f088207091 fixing fstring 2020-04-16 06:14:03 -05:00
trhr
0f8c0ad9bf fixing fstring 2020-04-16 05:53:51 -05:00
Griatch
9782196b3c Fix home kwarg not being honored by Character.create 2020-03-23 23:44:32 +01:00
trhr
d10f9b7320 weird comment, nbd 2020-02-28 22:32:28 -06:00
trhr
090157979b 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
a9b4d8e826 Handle inflex pluralization errror on complex object name. Resolves #2015. 2020-01-18 13:01:33 +01:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Johnny
6859b2ac0e Fixes create() method failure where no account was provided. 2019-12-04 19:18:39 +00:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Greg Taylor
5e1a672fc2 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
bd33886cc0 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
0eef4bee6f Fix breaking typo in evennia.objects.objects
Noneo->Noneo
2019-09-15 00:15:21 -07:00
Griatch
b609c548f0 Make DefaultObject echo confirmation when being puppeted, as per #1923 2019-09-14 20:56:36 +02:00
Griatch
bc2777031d More fixes to text2ansi regexes. Resolve #1920. Resolve #1924. 2019-09-14 20:18:07 +02:00
Griatch
dc444bd2be Fix typo in lock defintion 2019-09-08 20:19:51 +02:00
Griatch
9e3285a791 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
89af821978 Fix bug in DefaultObject.at_traverse. Resolve #1832. 2019-08-28 22:49:41 +02:00
Griatch
01a24b8343 Fix that caused whisper to never allow overriding text 2019-08-26 20:03:38 +02:00
Griatch
08b0f3fbf8 Fix bug in multi-object alias targeting. Resolves #1823 2019-06-03 07:01:03 +02:00
Griatch
ed187ad05f Various fixes from game jam 2019-05-14 10:33:31 +02:00
Andrew Bastien
7b35ec286b Refactored the copy hook and added Kwargs. 2019-04-15 09:47:14 -04:00
Andrew Bastien
4e4ac23854 Added at_object_creation_copy hook to DefaultObject. 2019-04-15 09:44:46 -04:00
Griatch
90b42ca6fb Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
0dfea46d5c Change save/search_prototype, extend unittests 2019-02-09 16:52:02 +01:00
Griatch
690ed6ecd1 Fix merge conflicts 2019-01-17 23:08:19 +01:00
Griatch
f33407802d Resolve merge conflict 2019-01-17 23:04:11 +01:00
Griatch
c3ebd8d251 Use to_str/to_bytes, replacing old versions 2019-01-16 23:26:46 +01:00
Vincent Le Goff
22481fe752 Fix a slight error in search with candidates 2019-01-06 21:27:19 +01:00
Griatch
d6f41d7148 Merge branch 'develop' into develop-py3 2019-01-04 19:53:36 +01:00
Griatch
855e7f32b0 Re-add missing fix for candidates removed in refactor
Resolves #1763.
2019-01-04 19:36:31 +01:00
Griatch
598126d25c Merge branch 'master' into develop 2019-01-04 19:33:18 +01:00