Griatch
b278337172
Make PEP8 cleanup of line spaces and character distances as well as indents
2017-08-19 23:16:36 +02:00
Griatch
c43059c75f
Rework at_before_say/at_say to handle whispers and using kwargs.
2017-07-21 12:17:47 +02:00
Griatch
8600e8c546
Fix merge conflicts with say-branch
2017-07-21 11:06:38 +02:00
Griatch
6d846c6c82
Add help entry to project_rename utility.
...
Also merge in latest master changes to devel branch.
2017-07-13 20:33:32 +02:00
Griatch
5590ee2258
Rename all instances of Player->Account.
2017-07-07 23:47:21 +02:00
Tehom
20a576a6d9
Convert to kwargs as suggested.
2017-06-25 02:40:53 -04:00
Tehom
9dc9df4227
Pass kwargs needed to overriding announce_move_to and announce_move_from in move_to
2017-06-18 17:21:33 -04:00
Griatch
0ff1718437
Resolve django 1.11 migration errors.
2017-06-17 22:15:00 +02:00
Griatch
f9e7b01f57
Add **kwargs options to at_* hooks to all typeclasses, for greater flexibility for users. Resolves #1276 .
2017-04-20 20:58:35 +02:00
Tehom
7e8e47b3b3
Fix attribute name to resolve recursion error in _recache method.
2017-04-20 14:14:00 -04:00
Griatch
ee4dd20fd9
Fixes to batch_add mechanisms and spawner batch creation for passing unittests.
2017-04-09 18:53:39 +02:00
Griatch
d44f7c4670
Clean up docstring of _batch_create in spawner.
2017-04-09 10:52:59 +02:00
Griatch
e34d32bd60
Add ability to batch-add tags, permissions and aliases along with category in the object/player create functions as well as in the tag handler. This is useful for direct assignment of categories from prototypes.
2017-04-02 22:11:54 +02:00
Griatch
a648433db8
Merge conflicts against master, including cmdhandler support for direct cmdobject input together with prefix-ignore mechanism from devel.
2017-04-01 16:08:23 +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
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
6266401c2d
Re-add bool return name, it is required by API generator.
2017-03-25 11:40:55 +01:00
BlauFeuer
338899b8b1
Docstring, comments, indent/whitespace edits
2017-03-25 11:38:47 +01:00
Griatch
c4519d84e7
Remove spurious whitespace.
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
Griatch
357e829d4e
Make at_get_cmdset get receive a parallel kwarg.
2017-03-01 15:20:30 +01:00
Griatch
a0b1a0cac1
Add unittests for simpledoor and slow_exit contribs, as per #1105 .
2017-02-19 21:06:03 +01:00
Griatch
0bd47f0c52
Change permission strings so Immortals->Developer, Wizards->Admin, Builders->Builder, PlayerHelper->Helper, Players->Player, Guests->Guest. Made perm() and pperm() lock function accept both the plural and singular form (so both Admin and Admins work). Still lacking a data migration for updating an existing database to the new setup.
2017-02-17 23:25:09 +01:00
Griatch
664ce178b2
Expanded docstring of at_object_receive to note the possibility.
2017-02-04 11:23:19 +01:00
BlauFeuer
3334d3f078
character's at_pre_puppet tweak
...
Triggering at_object_receive only when room actually receives character
and accurately reporting that character came from None seems most reasonable,
then at_object_receive can decide if appearance of character from None location is actionable.
2017-02-04 11:23:19 +01:00
BlauFeuer
1ed5a0b4a6
Change default at_pre_puppet for characters
...
No longer move character "back onto the grid" when not in None location.
This allows for Character objects to be moved while unpuppeted and remain
where placed when puppeted again.
Also updates markup in code within this module.
2017-02-04 11:23:19 +01:00
Griatch
74eebfed6d
Refactor code to remove alerts as per lgtm and #1176 .
2017-01-29 19:02:00 +01:00
Griatch
c6d9c0619e
Refactor code for readability and compatibility.
2017-01-27 00:19:27 +01:00
Griatch
a09835049b
Refactor wrong super() parents in a few managers.
2017-01-26 21:35:13 +01:00
Griatch
19e8528b04
Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153 .
2017-01-11 23:42:09 +01:00
Griatch
19e8bed5ab
Fix docstring text error.
2016-11-30 18:02:39 +01:00
Griatch
1d6873eef4
Fix caching error in new cmdset merge regime. Removed debug messages.
2016-10-15 23:22:33 +02:00
Griatch
a61a33e87d
Refactor ChannelHandler. Fix issues with new cmdset merge procedures.
2016-10-15 22:48:38 +02:00
Griatch
edacd58eab
Refactor get_and_merge_cmdsets to merge all cmdsets in one place rather than sub-merging them separately on each object first. See #1087 . Also changes the names of the auto-added _exitset to ExitCmdSet and _channelset to ChannelCmdSet. Allow Channel cmdsets to also be identified on Objects.
2016-10-15 22:48:38 +02:00
Griatch
15025c0586
Added at_idmapper_flush to allow objects more control of their flush characteristics.
2016-10-02 20:52:05 +02:00
Griatch
cd616caf29
Debug tests for trying to catch the flushmem bug #1064 .
2016-10-02 20:52:05 +02:00
Trent Robbins
91874f5339
Removed reference to target after target.at_desc. This allows the target to delete itself in response to being looked at without throwing an error.
2016-10-02 13:40:28 +02:00
Dan Feeney
7f63393cb7
modified msg_contents to allow objects without get_display_name to be included in mapping
2016-10-01 13:50:11 +02:00
Tehom
4639ed8f7e
Resolves traceback error when object is moved to a room rather than a player from None location.
2016-09-21 01:02:51 -04:00
Griatch
47fa88e0fc
Slight rephrasing of a docstring.
2016-09-20 16:30:31 +02:00
Dan Feeney
d88d882439
moved msg_contents to DefaultObject
2016-09-20 16:30:31 +02:00
Griatch
72d4bb4de7
Fix so as to not send traverse messages to the traverser. Fixes unittests.
2016-09-09 07:52:48 +02:00
Griatch
e373e1733b
Make the move transition hooks use get_display_name to make them compatible with the rpsystem contrib as per #1051 .
2016-09-08 22:11:22 +02:00