Commit graph

3825 commits

Author SHA1 Message Date
Eldritch Semblance
a4e2744821 check if ooc or puppeting before finding player object 2017-03-29 02:46:44 +00:00
Griatch
21e72e416c Fix error in more edge calculation when using client with SCREENWIDTH=0. Resolves #1257. 2017-03-27 22:40:40 +02:00
Griatch
6f30ab09f5 Check slow exit deferred for .called state to avoid edge case errback. Resolves #1278. 2017-03-27 22:37:03 +02:00
eldritchsemblance
1ed559a71c Default email domain to example.com per RFC2606 2017-03-27 22:21:10 +02:00
Xelaadryth
12e0e2e4fd Fixing typo of local variable 2017-03-27 22:19:07 +02:00
Vincent Le Goff
4c4b97f994 Make sure CommandTest.call() returns the received message as is 2017-03-25 13:08:59 -07:00
Eldritch Semblance
66f5229240 change reference of self.caller.player to self.player 2017-03-25 11:43:41 +01:00
Griatch
6266401c2d Re-add bool return name, it is required by API generator. 2017-03-25 11:40:55 +01:00
BlauFeuer
99a24a9647 Docstring, comment, indent/whitespace edits
use of dict() to improve dictionary readability and shorten code
2017-03-25 11:38:47 +01:00
BlauFeuer
338899b8b1 Docstring, comments, indent/whitespace edits 2017-03-25 11:38:47 +01:00
BlauFeuer
b0ac809229 CmdLook use_dbref by Builders perm group #1251
Only allow referencing targets to view by #dbid if viewer is in Builders permission group
2017-03-25 10:44:59 +01:00
Eldritch Semblance
b2140b4ba1 gender character message don't try to substitute text that lacks gender info 2017-03-25 10:41:49 +01:00
Eldritch Semblance
8520d5f78c Escape pipes in @gender usage, fix gender substitution regex to respect escaped pipes 2017-03-25 10:41:49 +01:00
Vincent Le Goff
465a6336c5 The TestCommand.call() now returns the received message 2017-03-25 10:36:25 +01:00
BlauFeuer
a019a9d65a Docstring update suggestions
More explicit installation instructions, and help entry update:
The "forward" switch requires a message number.
2017-03-25 10:17:00 +01:00
Griatch
c4519d84e7 Remove spurious whitespace. 2017-03-25 10:01:56 +01:00
BattleJenkins
96ba31f858 Implemented default object's at_give() hook
Calls a new hook on the default object, at_give(), which passes the giving and receiving objects as arguments.
2017-03-25 10:01:56 +01:00
BattleJenkins
4e25c93888 Added at_give() hook to default object
Added another hook to the default object, at_give(), which will be called by the default give command.
2017-03-25 10:01:56 +01:00
BlauFeuer
ff3b293a4a Only parse as switches when directly after command 2017-03-25 09:56:58 +01:00
CloudKeeper1
a83ea62df8 Fixed Typo in code.
...cdmset... to ...cmdset...
2017-03-21 22:14:36 +11:00
BlauFeuer
7738d06fea Typo in code that prevented RSS toggle off/delete 2017-03-20 06:06:04 -04:00
BlauFeuer
63c7ea3ab7 Indent fixes to address #1258
PEP 8 whitespace and docstring edits, also
2017-03-20 05:45:18 -04:00
Vincent Le Goff
62bd9fb4ab The ansi.raw utility now escapes vertical bars 2017-03-19 12:33:09 -07:00
Griatch
dee0bfe010 Clarify bulk-create comment in spawner. 2017-03-19 20:27:23 +01:00
BlauFeuer
c27c96f423 PEP 8 comply 2017-03-19 20:24:51 +01:00
BlauFeuer
4d8c5964a4 PEP 8 comply, docstring typo 2017-03-19 20:24:51 +01:00
BlauFeuer
3d268eaa39 PEP 8 whitespace comply, visual align 2017-03-19 20:24:51 +01:00
BlauFeuer
0f72f0f74c PEP 8 whitespace comply 2017-03-19 20:24:51 +01:00
BlauFeuer
8700659097 Typo, whitespace, comments to PEP 8 comply 2017-03-19 20:24:51 +01:00
BlauFeuer
8b0232d610 Update word usage in weather text for tut world
Thranduil says "gush" of wind should be "gust" (with a T)" ( gush = liquid")
2017-03-19 20:18:01 +01:00
BlauFeuer
00b9393b39 Fix typo in call to msg method.
Reported by thranduil when attempting `@rename *thranduil = Thranduil1 (throws an ex and gives a stack trace.  Character has no attribute 'mgs'")
2017-03-19 20:18:01 +01:00
BlauFeuer
03ab95f57f Update system.py 2017-03-19 20:06:00 +01:00
BlauFeuer
3383cd4c6b Add URL for BSD 3-Clause license
Suggested to me by a user, since the URL names the license type, it serves as a direct replacement for the text.
2017-03-19 20:06:00 +01:00
Vincent Le Goff
083d6d1600 Add unittests for the time_format utility 2017-03-19 19:57:09 +01:00
Vincent Le Goff
8343b61772 Add a style 4 for the time_format utility 2017-03-19 19:57:09 +01:00
BlauFeuer
16d0002780 Move unreachable code after exception raise
Also moves module import to top of file with comment.
2017-03-19 18:56:18 +01:00
BlauFeuer
e762441d4d Remove unreachable code, PEP 8 whitespace,
mark debug code in comments
2017-03-19 18:56:18 +01:00
Griatch
08670008ad Fix merge conflicts 2017-03-19 18:10:06 +01:00
Griatch
af5560f9e9 Minor doc fix. 2017-03-19 17:47:55 +01:00
Griatch
5d61602c38 Fix unicode error in unittest for mapbuilder. 2017-03-19 17:47:42 +01:00
BlauFeuer
78a6a2fc1a comment typo 2017-03-08 00:25:33 -05:00
BlauFeuer
9aa8bfdf7b Fix Typos, whitespace, docstring, long lines 2017-03-07 07:36:53 -05:00
BlauFeuer
dee1cdb646 minor PEP 8 whitespace edits 2017-03-03 18:15:23 -05:00
BlauFeuer
dd8468aab6 minor PEP 8 whitespace, docstring, comment edits 2017-03-03 18:11:44 -05:00
BlauFeuer
0af6f2498e PEP 8 coding, whitespace, docstring/comment edits
Marking debug code, fix typo in docstring
2017-03-03 18:08:47 -05:00
BlauFeuer
42b41a6889 minor PEP 8 whitespace edit 2017-03-03 18:06:18 -05:00
BlauFeuer
239b04d139 Disconnect reason argument default passed on
and made consistent with other places in code where it just uses an empty string.
2017-03-03 18:04:47 -05:00
BlauFeuer
7e6adb2fd9 Escape markup character when it ends a line 2017-03-03 18:01:27 -05:00
BlauFeuer
1e3d79c343 PEP 8 whitespace, remove unused assignment 2017-03-03 17:58:04 -05:00
BlauFeuer
d995e70827 Escape markup character on last line edge case
Also changes default reason argument type for simplicity and consistency with default reason on other similar methods.
2017-03-03 17:54:37 -05:00