Commit graph

6283 commits

Author SHA1 Message Date
Griatch
c4a9e620e9 Add two default commands to __all__ tuple. Resolve #2189 2020-09-05 23:34:08 +02:00
Griatch
98bb8f6f79 Optimize queries for prototype lookup, as part of #2126. 2020-09-05 23:30:08 +02:00
Griatch
f0edd37a6f Merge pull request #2188 from davewiththenicehat/master
tutorial_examples/example_batch_code interactive patch
2020-09-03 08:42:19 +02:00
Griatch
cfc1a0bca0 Merge pull request #2178 from luyijun/myfix
Fix a bug that script whose db_interval is 0 will be run when call its start method twice.
2020-09-03 08:39:21 +02:00
davewiththenicehat
3e43bafaf9 Update example_batch_code.py
Updated so /interactive switch works as expected for tutorial: https://github.com/evennia/evennia/wiki/Batch-Code-Processor
2020-09-02 17:25:39 -04:00
davewiththenicehat
2818b90f89 Merge pull request #1 from evennia/master
Updating before submitting PR.
2020-09-02 17:21:06 -04:00
Griatch
9040aafb05 Make at_post_cmd() run after func() also for delayed commands. Resolve #2179 2020-09-01 22:58:54 +02:00
Griatch
1e5c302e9b Use localtime for MudInfo channel output. Resolves #2182. 2020-09-01 22:37:07 +02:00
Griatch
bf8d41562d Default to attrread as locktype for Attribute read access. Resolve #2185 2020-09-01 20:40:48 +02:00
Griatch
7fd29a9093 Fix settings-reset functionality. Resolve #2187 2020-09-01 20:35:16 +02:00
Griatch
2a392c290d Fix error in pluralization inflection. Resolves #2183. 2020-09-01 19:10:07 +02:00
Griatch
451c45d20b Fix of unittest to account for mysql/psql variations 2020-08-31 19:38:57 +02:00
Griatch
d022c9c7bc Fix unittest error for dice contrib 2020-08-06 00:22:48 +02:00
luyijun
e69cce9925 Fix a bug that script whose db_interval is 0 will be run when call its start method twice. 2020-08-02 10:48:47 +08:00
Griatch
829baa1198 Fix width of examine separator line. Resolve #2177. 2020-07-28 23:47:03 +02:00
Griatch
b24d4f0e1e Run black on sources; add black config 2020-07-27 21:12:06 +02:00
Griatch
b5d148b00a Optimize/fix searching objects by-attribute-value 2020-07-27 20:44:18 +02:00
Griatch
23767f4205 Fix single-attribute examine on not-found 2020-07-27 15:16:46 +02:00
Griatch
7c9705d90a Fix bug in examine attrvalue. Resolves #2175. 2020-07-27 14:56:43 +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
fa09aeef50 Make INLINEFUNC_STACK_MAXSIZE default visible in settings_default. Resolves #2173. 2020-07-19 10:30:30 +02:00
Griatch
f615886d24 Add unittest for Attr/Tag.batch_add, clarify docstrings. Resolves #2125 2020-07-18 23:10:46 +02:00
Griatch
08190a7ff4 Ensure uniqueness of Msg sender_strings list. Resolves #2127. 2020-07-18 22:47:40 +02:00
Griatch
050b050d24 Make DefaultObject/Room/Exit's argument optional. Also resolves #2162. 2020-07-18 22:37:43 +02:00
Griatch
929c16bb14 Doc fix in tag docstring. Resolves #2155 2020-07-18 21:59:40 +02:00
Griatch
9b08bfe9c2 Correct grammar for maxnum chars reached. Resolves #2151 2020-07-18 21:56:34 +02:00
Griatch
5f6496b6a5 Black formatting artefact. Resolves #2158 2020-07-18 21:49:15 +02:00
Griatch
e5b96a2b79 Add tags= keywords to all create functions, with unit tests. Resolves #2160 2020-07-18 21:36:03 +02:00
Griatch
e7b91e11e7 Remove duplicate get_command_info in MuxCommand base. Resolves #2164 2020-07-18 19:40:02 +02:00
Griatch
1f506de12c Make CmdGet/Drop/Give give error if obj.move_to returns False. Resolves #2168. 2020-07-18 19:37:49 +02:00
Griatch
54e70a40b7 Add script.obj.dbref to scripts output. Resolves #2167 2020-07-18 19:25:37 +02:00
Griatch
e58147a7e5 Add .sort support for SaverList 2020-07-18 18:03:54 +02:00
Griatch
255ef3d4db Update gendersub in master too 2020-07-18 16:33:06 +02:00
Griatch
7aa6883b94 Cleanup of examine, escape inlinefuncs. Resolve #2172 2020-07-18 15:51:29 +02:00
Griatch
f7b4193c84 Add $random default inlinefunc because I expected it to be there 2020-07-17 14:25:24 +02:00
Griatch
98b040634b Update twisted dependency as per released CVEs 2020-07-17 11:47:23 +02:00
Griatch
5b63f9e155 Merge pull request #2157 from Puciek/master
Correcting curly brackets colors
2020-07-16 20:57:28 +02:00
Griatch
750922a613 Have EvTable width correctly handle asian alphabets as per #2166. 2020-07-15 23:18:53 +02:00
Griatch
a0ce1ea821 Add autodoc files 2020-07-12 20:07:24 +02:00
Griatch
463752e066 Updated API autodoc index. 2020-07-12 20:04:12 +02:00
Griatch
c52f505d00 Copy doc tools from develop 2020-07-12 20:03:09 +02:00
Griatch
ca97c9bda0 Merge branch 'master' of github.com:evennia/evennia 2020-07-04 00:12:56 +02:00
Griatch
ad59dde130 Extension to typeclass fix, to allow non-typeclass mixins 2020-07-04 00:12:12 +02:00
Tymoteusz Paul
6960025553 Correcting curly brackets colors 2020-06-30 23:07:37 +01:00
Griatch
0e203446a6 Merge pull request #2153 from bonnedav/patch-1
Make CmdOpen grant control to creator
2020-06-30 10:12:56 +02:00
bonnedav
ba7a6bc6f4 Make CmdOpen grant control to creator
Fixes #2152
Not tested but based on existing code in CmdCreate so I imagine it will work.
2020-06-29 21:59:18 -06:00
Griatch
fff80c4752 Make sure to strip key/value of whitespace in lockfunc kwargs. Resolves #2150 2020-06-28 17:09:41 +02:00
Griatch
0c53f1bcc3 Fix return type for all situations of get_all_scripts manager method, as inspired by #2117 2020-06-28 11:37:17 +02:00
Griatch
a84843d314 Pass category from objtag lockfunc. Resolve #2149 2020-06-28 11:22:07 +02:00
Griatch
a848960819 Update list_to_string to handle generators. Resolve #2120 2020-06-28 11:09:59 +02:00