Commit graph

617 commits

Author SHA1 Message Date
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
9f03e4a3f4 Fix isolated unittests for color markup. Issues with module reloading. 2017-07-20 22:09:44 +02:00
Griatch
03f4ecb3a4 Move {- and %c color markup to contrib, make easily extendable, as per #1229 2017-07-20 22:09:44 +02:00
Griatch
24c5ddecab Merge pull request #1338 from BigJMoney/SimpleFixes
Docstring typo fixes in evennia_runner and evennia_launcher
2017-07-17 13:09:57 +02:00
BigJMoney
7bf00850e6 Missed on line in last commit. 2017-07-15 11:44:44 -04:00
BigJMoney
8c07b74eff Updating PR for doctext changes 2017-07-15 11:39:03 -04:00
Griatch
e56b0024c4 Merge branch 'master' into devel 2017-07-13 22:54:53 +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
3b6a6cf6cc Re-add new, renamed account* files. 2017-07-07 23:48:13 +02:00
Griatch
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Vincent Le Goff
69c5f33c38 Allow to change suggestion_cutoff and suggestion_maxnum in help 2017-07-02 16:46:33 -07:00
Vincent Le Goff
d6f2d6a305 Add the UnixCommand, to parse unix-like command options 2017-06-17 16:35:57 -07:00
Griatch
5a370a36ea Merge branch 'master' into devel 2017-06-17 22:21:00 +02:00
Griatch
0ff1718437 Resolve django 1.11 migration errors. 2017-06-17 22:15:00 +02:00
Vincent Le Goff
bda06acac6 Add the InterruptCommand exception to cleanly interrupt commands 2017-06-15 21:49:20 -07:00
Griatch
35db4bf301 Make minor docstring indent fix. 2017-06-14 22:07:15 +02:00
Griatch
5fa084c976 Refactor yield-mechanism to be present on top of the module, removing dependence on utils.delay and optimizing some imports. 2017-06-14 22:02:01 +02:00
Vincent Le Goff
d894b95717 Add cmdhandler's ability to handle 'yield' in command.func() 2017-06-14 12:35:23 -07:00
BigJMoney
b7f6fe5bc1 Fix a couple typos and improve consistency of builder command argument text (in help and doc strings) 2017-06-06 14:49:49 -04:00
Griatch
63eec3a659 Implement SUPPRESS-GO-AHEAD telnet option
With the current setup, the server will negotiate SUPPRESS-GO-AHEAD
as follows:
  Server sends WILL SUPPRESS-GO-AHEAD
  Client will then send or reply with DO/DONT SUPPRESS-GO-AHEAD
Evennia will abide by the instruction of the client, but defaults
to suppressing GA messages after every line.
2017-06-06 00:03:16 +02:00
Rachel Blackman
f0d632cb51 Amend previous commit with validator. 2017-06-04 19:03:28 -07:00
Tehom
31e7aa1253 Prevent AttributeError when self.obj is None. 2017-06-01 02:59:46 -04:00
Griatch
6db118ac61 Add listing of home to examine command. 2017-05-11 19:30:54 +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
Griatch
f7955340a7 Remove ability to teleport puppeted objects to a None location, as per #1304. 2017-04-18 18:29:11 +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
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
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
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
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
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
Vincent Le Goff
465a6336c5 The TestCommand.call() now returns the received message 2017-03-25 10:36:25 +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
BlauFeuer
ff3b293a4a Only parse as switches when directly after command 2017-03-25 09:56:58 +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
Griatch
357e829d4e Make at_get_cmdset get receive a parallel kwarg. 2017-03-01 15:20:30 +01:00
Griatch
b73a0f8f8c Some minor language fixes. 2017-03-01 08:08:27 +01:00
CloudKeeper1
23a053c213 Added test for whisper command. 2017-03-01 08:08:27 +01:00
CloudKeeper1
44fdbc49cb Adjusted typos and indentation. 2017-03-01 08:08:27 +01:00
CloudKeeper1
b3140b6608 Added new Whisper command to Cmdset
Added command for use.
2017-03-01 08:08:27 +01:00