Commit graph

14 commits

Author SHA1 Message Date
Greg Taylor
b9e543f6fd Temporarily removing channel emits to avoid circular dependencies. Pfft. 2007-07-25 15:06:04 +00:00
Greg Taylor
fadf3933af Move the presentation part of the 'look' command out to the new scripting system. You can now make different scripted objects appear vastly different by overriding basicobject's return_appearance (or any of its submethods). Also fixed word wrapping, and we are now wrapping descriptions to 78 characters by default. We'll see how gracefully it handles this, and we might eventually apply it to all output. 2007-07-17 14:39:10 +00:00
Greg Taylor
6d8d280248 Cosmetics. 2007-07-16 19:12:38 +00:00
Greg Taylor
357ef3a250 Added two new channels: Errors and Info. These will now emit stuff that is sent via log_infomsg and log_errmsg. 2007-07-16 18:49:57 +00:00
Greg Taylor
0e9732d49c Big re-organization of command functions. Introduced the commands directory to hold command modules. This will make it easier to sub-divide stuff as we pile on more commands, and for dropping in new optional command modules. 2007-05-29 03:32:48 +00:00
Greg Taylor
e7f8b901ce Connection recovery is now in. You can only have one session active per account. This is just the safest and cleanest way to do things. Also made some misc. other changes that will probably go unnoticed. 2007-05-25 15:02:16 +00:00
Greg Taylor
b6c869b076 Abstraction of generic player object searches, as should've been case from the beginning. Bad me for letting this get out of hand! In any case, this eliminated a lot of code and makes pretty much all of the commands that interact with objects a lot neater, readable, and consistent. 2007-05-24 14:22:11 +00:00
Greg Taylor
b47d0d2b07 Use Twisted's logging facilities. 2007-05-24 03:36:58 +00:00
Greg Taylor
7d78cbcf4b Adding wildcard_to_regexp() to functions_general and cleaning up some imports. 2007-05-23 17:51:31 +00:00
Greg Taylor
97cf1213e6 Converted to Twisted from asyncore. Not positive if this is just my local machine, but it seems like this backend is a bit faster. 2007-05-21 20:52:05 +00:00
Greg Taylor
c7452e5a88 Finished up addcom/delcom. Added comlist. Fixed @list commands (still needs to sort by command name eventually). 2007-05-15 17:28:23 +00:00
Greg Taylor
4fd5a20e2c Added a @reload command to reload most of the modules. This currently only seems to work for the stuff outside of the apps directory, and doesn't include the server, session_mgr, or events modules, as they have variables in them that we can't have reset. So basically, changes to the functions_ and commands_ modules can be applied with @reload, but little else. Hopefully this will improve with time. Also fixed a bug with @name'ing players but not updating their account's username to reflect it. 2007-04-30 17:51:55 +00:00
Greg Taylor
9335adc03a More command sanitizing checks, renamed startup script to startup.sh. 2007-04-03 20:15:54 +00:00
Greg Taylor
5421ab7f6e Re-organization. 2007-04-03 13:42:51 +00:00
Renamed from evennia/trunk/functions_general.py (Browse further)