Commit graph

2709 commits

Author SHA1 Message Date
Greg Taylor
538228af04 Minor PEP8 cleanup in setup.py. 2015-09-07 19:57:58 +02:00
Greg Taylor
886830b773 Assorted PEP8 cleanups in evennia_launcher.py 2015-09-07 19:57:57 +02:00
Griatch
4b29b4e3fe Updated the game template with some more verbose docstring. 2015-09-06 12:22:16 +02:00
Griatch
b59340784c Made some cleanup of docstrings to clarify hook load order. 2015-09-05 21:49:54 +02:00
Griatch
a7e42b2a5b Changed cmdparser to properly convert to unicode before length measuring, which was causing unexpected behavior with non-ASCII charsets. 2015-09-04 21:11:01 +02:00
Kelketek
3fcee453b9 Update template_dirs search paths for override 2015-09-03 15:55:12 -05:00
Griatch
9f16cee0d2 Made the default return_appearance use the get_display_name hook properly. 2015-09-02 19:16:16 +02:00
Griatch
ce26ee0a25 Turns out normal filter manager methods should also accept *args. Resolves #793. 2015-09-01 20:01:49 +02:00
Griatch
a1eadef686 Removed an unexpected alias overload in the CrumblingWall tutorial world puzzle. This caused the shift command to be hidden. Resolves #786. 2015-08-24 22:09:55 +02:00
Griatch
1316d8115a Fixed returns_typeclass decorator to properly handle filtered query results. Resolves #791. 2015-08-24 19:39:25 +02:00
Griatch
c28b06d639 Fixed the examples to all have matching nodenames, as per #792. 2015-08-24 19:30:08 +02:00
Kate
fc78bde002 Typos/clarity in the help text for evmenu.py to make it more plug & play friendly. 2015-08-23 18:23:49 -06:00
Kate
cea51a7b56 Typofix in filepath instruction 2015-08-23 16:27:49 -06:00
Kate
1a0b6851d9 Revert "Typofix in filepath instruction"
This reverts commit d0391873a5.
2015-08-23 16:27:02 -06:00
Kate
d0391873a5 Typofix in filepath instruction 2015-08-23 16:25:51 -06:00
Griatch
8f985e9fef Some further adjustment to check. Cannot reproduce the particular issue reported in #789, which seems to mean the player.at_player_creation is not called in some situation. 2015-08-22 10:34:06 +02:00
Kate
8647bf2367 Fix for NoneType exceptions when initial_setup.py is run where multisession_mode is not set to 0. 2015-08-22 10:34:06 +02:00
Jonathan Piacenti
5b6376fd87 Disable sudo in Travis to use faster container architecture. 2015-08-21 18:06:16 -05:00
Griatch
e787cd4701 Update CODING_STYLE.md 2015-08-21 17:19:27 +02:00
Griatch
c393f70638 Fixed regression error in script force_repeat. Resolves #785. 2015-08-20 22:14:04 +02:00
Griatch
61d591409a Added a simple get_input convenience function to utils.evmenu, for asking simple questions of the user. 2015-08-20 21:45:42 +02:00
Jake Shasteen
7d3ed681ac Added {u to the ansi parser for underlining text. 2015-08-15 00:33:57 -04:00
Griatch
2cdb13143d Made the charcreate lock (only allow one char/player) for MULTISESSION_MODE<2 a part of the respective command rather than globally in the module. 2015-08-13 09:06:27 +02:00
Griatch
b1b1912e8c Removed a lingering refefence to old get_all_attributes method. Resolves #780. 2015-08-06 07:56:18 +02:00
Adrian Pacała
8234e4bd91 Clean up JavaScript example in WebSocket client 2015-07-25 18:37:16 +02:00
Andrew Bastien
2c62e93fb4 - Fixed more in at_failed_login(). Forgot a pass, whoops. 2015-07-25 18:35:34 +02:00
Andrew Bastien
c1f35a4e10 - Tiny fix to the failed login call. 2015-07-25 18:35:34 +02:00
Andrew Bastien
e0e382e0c6 - Added .at_failed_login(session) to default Player typeclass.
- unloggedin.CmdUnconnectedConnect now calls the at_failed_login hook on player if a correct user is entered by an invalid password provided.
2015-07-25 18:35:34 +02:00
Griatch
640439dcf5 Removed the examine: locktype from the @create locktype setting. Resolves #770. 2015-07-22 14:38:12 +02:00
Griatch
82a80174f0 Removed a faulty default alias in the Command base class; since commands are more strictly compared by key *and* alias, this could cause some confusing overload scenarios. 2015-07-18 08:30:05 +02:00
Griatch
8e554ef8f6 Updated the typeclasses/ directory modules to use Google style docstrings, as per #709. 2015-07-12 13:52:21 +02:00
Griatch
b9043a9e95 Made sure evmore does pass its kwargs on to the main msg method at all times. 2015-07-09 21:15:35 +02:00
Griatch
900ada5e92 Removed some debug messages from evmore. 2015-07-09 14:45:16 +02:00
Griatch
3ae00972a9 Added evmore - a more-like pager mechanism for displaying long texts. 2015-07-09 14:37:09 +02:00
Griatch
d47bd96ddd integrated the line editor functionality with the @set command (using the /edit switch), removing the example CmdEdit command from the eveditor module. 2015-07-09 14:37:09 +02:00
Griatch
d2a69910a9 Some further fixes with the refactored line editor. 2015-07-09 14:37:09 +02:00
Griatch
870c750538 Refactored and cleaned up the EvEditor module. 2015-07-09 14:37:09 +02:00
Griatch
cc2b094bc6 Moved lineditor into utils/eveditor.py. The line editor is accessed by simply importing the class (same as EvTable, EvMenu etc), so the utils.get_line_editor function was removed. 2015-07-09 14:37:09 +02:00
Griatch
adae4f2ec4 Made the evmenu work as expected 2015-07-09 14:37:09 +02:00
Griatch
8c5dddd062 Added ansi.strip_ansi as a convenience shortcut to remove ansi markup from a string. 2015-07-09 14:37:09 +02:00
Griatch
8d37627dfe Fixed a bug in ansi string caching that didn't take mxp into account. 2015-07-09 14:37:09 +02:00
Griatch
eb598921ac Some debug testing and handling of colored keys. 2015-07-09 14:37:09 +02:00
Griatch
fe810ec5f7 Made bettermenu into evmenu and moved to utils. Still some issues with MXP. 2015-07-09 14:37:09 +02:00
Griatch
698e226763 Added new bettermenu system 2015-07-09 14:37:09 +02:00
Griatch
72049eeddd Made the evennia_launcher gracefully report a missing log directory instead of raising a traceback (a missing log dir happens when cloning game dirs since log files are in .gitignore) 2015-07-08 10:41:47 +02:00
Griatch
095a1c0c13 Updated contrib menusystem and talking_npc to make use of the dynamic command update properties. Also fixed a lingering error in talking npc that resolves #768. 2015-07-07 16:43:10 +02:00
Griatch
ea0de32607 Updated the Command class with set_key/set_alias methods to allow for dynamic updating of command key/aliases properties while making sure all optimization recaches are hit. 2015-07-07 16:42:20 +02:00
Griatch
a8332fe431 Reworked the fix of #769 to be cleaner and using a full import mechanism rather than the pre-module lookup that messed up the unittests. 2015-07-07 15:29:28 +02:00
Griatch
0003868533 Added more logics for pre-lookups of cmdset paths at any nested package depth. Resolves #769. 2015-07-07 13:31:17 +02:00
Griatch
45e0785c8e Made a change to the cmdset comparison algorithm to make sure all commands are compared both by alias and key by use of a set-intersection operation. Before one side of the comparison used key and the other used key+aliases, which led to inconsistent results in some situations, especially when combining system commands with aliases. 2015-06-28 17:58:42 +02:00