Commit graph

4407 commits

Author SHA1 Message Date
BlauFeuer
684f163fd7 Fold long lines, PEP 8 whitespace
Keeping lines under 120 characters long, adjusting whitepace for closer PEP 8 compliance.
2017-04-01 14:51:25 +02:00
Griatch
c62f701626 Remove an extra quote marker typo. 2017-04-01 14:44:46 +02:00
BlauFeuer
3fdd7e0907 PEP 8, whitespace, LGTM, typo fixes 2017-04-01 14:44:46 +02:00
Griatch
4aba1b59b3 Add a brief mention of the superuser bypassing the locks of the simpledoor contrib. Resolves #1269. 2017-03-30 22:04:54 +02:00
BlauFeuer
6133280154 Explict bool return for move_to, typo fix 2017-03-30 01:27:34 -04:00
Vincent Le Goff
3811c074c6 Replace {character} by {object} in mapping of announce_move_* 2017-03-29 22:11:25 +02:00
Vincent Le Goff
f1d34a28aa Add additional mapping to announce_move_* hooks 2017-03-29 22:11:25 +02:00
Vincent Le Goff
4f41582127 Update Object.announce_move_* to take advantage of mapping 2017-03-29 22:11:25 +02:00
Griatch
d811d7577e Fix unittest compliance. 2017-03-29 22:00:27 +02:00
Griatch
f6e230f1a6 Change text optional kwarg type name to lowercase to match all other communications variables. Expand msg_contents to handle a tuple. 2017-03-29 21:50:51 +02:00
Vincent Le Goff
117d1b5809 Remove the deprecated Object.at_say hook 2017-03-29 12:14:32 -07:00
CloudKeeper1
c12306ff72 Adjustments to argument capitalisation.
Adjustments to argument capitalisation.
2017-03-29 18:16:19 +02:00
CloudKeeper1
4bbba76155 msg_contents doesn't take the text keyword in arguments.
Adjusted code so it works now...
2017-03-29 18:16:19 +02:00
CloudKeeper1
344a724479 Changed option entry to msg output kwarg.
Griatch - "That way it can still be parsed by the protocol if so needed, but it is also be passed on so the client can do custom stuff with it if it can."
2017-03-29 18:16:19 +02:00
CloudKeeper1
375cd7cecb Changed kwarg to options entry
Due to the set up of sessionhandler.clean_senddata the information is more appropriately stored in options.
2017-03-29 18:16:19 +02:00
CloudKeeper1
6cfbec83f1 Inclusion of type kwarg for common communications
Including a type kwarg for the say, whisper and pose commands allows the receivers of those messages to treat them differently depending on type. IMO This is a wide enough concern that it goes beyond a game specific requirement.
2017-03-29 18:16:19 +02:00
Eldritch Semblance
6224f90f74 Changed unit test's expected text output 2017-03-29 02:57:09 +00:00
Eldritch Semblance
534f4bcbe1 Removed insulting no mail message 2017-03-29 02:52:46 +00:00
Eldritch Semblance
a4e2744821 check if ooc or puppeting before finding player object 2017-03-29 02:46:44 +00:00
Vincent Le Goff
a5b26df330 Create hooks for the whisper command 2017-03-28 12:07:17 -07:00
Vincent Le Goff
f11e92b2c0 Add more flexibility to the hooks on say 2017-03-28 11:23:32 -07: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