Commit graph

6916 commits

Author SHA1 Message Date
Griatch
286e86bbdb Merge branch 'master' into develop 2021-01-18 21:35:48 +01:00
Griatch
4a72a64733
Merge pull request #2292 from tim-chaplin/command_class
Make more commands honor settings.COMMAND_DEFAULT_CLASS
2021-01-18 21:35:23 +01:00
Griatch
3ba414664e Merge branch 'master' into develop 2021-01-18 21:32:53 +01:00
Griatch
402d62a088
Merge pull request #2293 from tim-chaplin/editor_no_north
Increase SaveYesNoCmdSet priority to 150
2021-01-18 21:32:05 +01:00
Tim Chaplin
4b95ae5ff0 Make ExitCommand inherit from settings.COMMAND_DEFAULT_CLASS
See c1795ce55f.
2020-12-27 14:01:31 -05:00
Tim Chaplin
cca2bd8997 Increase SaveYesNoCmdSet priority to 150
Fixes a bug where typing "n" in a room with a "north" exit goes north instead of closing the editor when prompted.
2020-12-27 13:52:52 -05:00
Tim Chaplin
c1795ce55f Make more commands honor settings.COMMAND_DEFAULT_CLASS
As suggested in mygame\commands\command.py, I'm overriding COMMAND_DEFAULT_CLASS in settings.py to try to make sweeping changes. Having certain commands inherit directly from the base Command class thwarts this.

The only difference between Command and MuxCommand is that MuxCommand defines some custom parsing, but that's overridden by these commands anyway, so there should be no practical difference.

The import change in game_template/commands/command.py was required to fix an exception on server reload caused by the channelhandler.py change (I guess something to do with import order?)
2020-12-27 11:45:25 -05:00
Griatch
17a28cc1a7 Add root doc 2020-12-20 14:34:05 +01:00
Griatch
b0d85a3ae4 Fix other db CI builds with other home location 2020-12-20 14:30:13 +01:00
Griatch
4e1a2fda82 Some fixes to jupyter docs 2020-12-20 14:03:03 +01:00
Griatch
effa4e8523 Merge branch 'feature/add-jupyter-notebook-support' of https://github.com/duysqubix/evennia into duysqubix-feature/add-jupyter-notebook-support 2020-12-20 13:38:16 +01:00
duysqubix
eb439df420 - Moved optional pip packages to requirements_extra.txt
- Added documentation in Coding-Introduction.md for how to enable Jupyter notebook support
2020-12-17 15:34:39 +00:00
Griatch
cee246f086 Update bug-report.md
Clarified the form a little
2020-12-16 21:33:21 +01:00
Griatch
bc40d740f4 Correctly rename config file 2020-12-16 21:33:05 +01:00
Griatch
99a0cc9414 Test some additional discussion links 2020-12-16 21:33:05 +01:00
Griatch
6fd2b19b1b Update documentation-issue.md
Clarified template a little.
2020-12-16 21:33:05 +01:00
Griatch
574d7fbd4f Correctly rename config file 2020-12-16 09:34:04 +01:00
Griatch
77680c9132
Test some additional discussion links 2020-12-16 09:31:30 +01:00
Griatch
fad7e3ac2b
Update documentation-issue.md
Clarified template a little.
2020-12-16 09:21:56 +01:00
Griatch
07cf5cccdf
Update bug-report.md
Clarified the form a little
2020-12-16 09:16:27 +01:00
duysqubix
92a659da6c also needs jupyter dependency..duh 2020-12-09 10:57:24 -06:00
duysqubix
93b70da94e needs ipython for jupyter support 2020-12-09 10:30:04 -06:00
duysqubix
c9992b8aa0 Merge branch 'master' into feature/add-jupyter-notebook-support
Allows for jupyter notebook support via `evennia shell_plus --notebook` comand
2020-12-09 10:14:55 -06:00
duysqubix
f4adb5b3fd Adds jupyter notebook support
Forces the installation of django_extensions.

Simply adds the `shell_plus` command to be seen in main evennia binary when
parsing arguments.

A notebook can be started with the following

`evennia shell_plus --notebook`
2020-12-09 10:12:55 -06:00
Griatch
a9c245fda9 Fix django-extensions add 2020-12-09 16:45:53 +01:00
Griatch
d45052e7f3 Fix django-extensions add 2020-12-09 16:45:39 +01:00
Griatch
5f91e5b331 Changes to noun-handling and retain ellipsis in rplanguage contrib 2020-12-05 11:24:10 +01:00
Griatch
6033acf17b Fix some bugs in elvish display example 2020-12-04 20:07:36 +01:00
Griatch
a509ea895e Make the rplanguage contrib give better error on grammar/phoneme mismatch 2020-12-04 20:05:59 +01:00
Griatch
eea58838b2 Update toc 2020-11-29 12:43:27 +01:00
Griatch
0f5674c995 Update contrib-overview with all current contribs 2020-11-29 12:39:47 +01:00
Griatch
07cd98d558 Another readme update 2020-11-29 00:09:09 +01:00
Griatch
41ea64e968 Update contrib/README.md 2020-11-29 00:07:01 +01:00
Griatch
22db834ab7 Some fixes in contrib doc 2020-11-29 00:00:15 +01:00
Griatch
209f895b27 Add documentation for new crafting contrib 2020-11-28 23:19:57 +01:00
Griatch
dd554f14ad Expand with many crafting unit tests 2020-11-28 18:16:00 +01:00
Griatch
413843ca50 Start to add unittests 2020-11-28 18:16:00 +01:00
Griatch
3db4a35c1e Add crafting contrib 2020-11-28 18:16:00 +01:00
Griatch
915f1e7023
Merge pull request #2260 from TehFamine/patch-1
Adjusting the width of the output in CmdTime
2020-11-28 18:13:01 +01:00
TehFamine
df4b17844f
Adjusting the width of the output in CmdTime
CmdTime has two table outputs that are not aligned in the same width. This change aligns the tables to the same width of 78.
2020-11-27 08:01:26 -05:00
Griatch
d89dd48d57 Fix error that did not let Session base beoverloaded correctly 2020-11-24 18:38:43 +01:00
Griatch
9d90b52266
Merge pull request #2255 from kcoram/fix-accounts-null-errors
Add null checking when getting puppet from session
2020-11-21 18:17:24 +01:00
Griatch
fa6ba88f7e Merge branch 'fix/i18n' of https://github.com/Vikka/evennia into Vikka-fix/i18n 2020-11-21 18:10:12 +01:00
Griatch
55c84168bc Always install extra reqs for builds against dev branch 2020-11-21 18:09:08 +01:00
Kevin C. Coram
679376a13f Add null checking when getting puppet from session
When account.execute_cmd() is called without an explicit session
argument for a server using MULTISESSION_MODE 2 or 3, it does not
know which session to use and may leave it None. Downstream, code
attempting to get the puppet from the session can fail with an
error because of the None session.

This change adds in checking for the None session, and sets the puppet
to None if there is no session defined.
2020-11-17 15:06:19 +00:00
Dorian Turba
65eba4cda9 fix a string from "%" formating to ".format" 2020-11-16 16:58:44 +01:00
Dorian Turba
95aeed5987 fix a string from "%" formating to ".format" 2020-11-15 20:11:48 +01:00
Griatch
762da2d1bc Some minor refactorings 2020-11-15 11:30:09 +01:00
Griatch
d95b8ee6a2 Merge branch 'refactor' of https://github.com/Vikka/evennia into Vikka-refactor 2020-11-15 11:21:30 +01:00
Griatch
98c9b96e0f Customize index set 2020-11-14 19:16:02 +01:00