Commit graph

4358 commits

Author SHA1 Message Date
Griatch
deac554bcc Remove some spurious spaces 2017-11-29 19:32:50 +01:00
Griatch
c1e23ae7f7 Merge branch 'menutree' of https://github.com/FlutterSprite/evennia into FlutterSprite-menutree 2017-11-29 19:21:37 +01:00
FlutterSprite
37aef859ed Fix variable in example menu function
I changed this while making unit tests and forgot to change it
back. Whoops!
2017-11-12 11:58:23 -08:00
FlutterSprite
f82f629f85
Update tree_select.py 2017-11-12 11:51:53 -08:00
FlutterSprite
ee462dcdb3
Catch callback errors with logger 2017-11-12 11:46:59 -08:00
FlutterSprite
b431025a79
Fix order of args for the callback in documentation 2017-11-12 02:21:49 -08:00
FlutterSprite
2e7a9bb29e
Add mention of how the callback is used 2017-11-12 01:56:35 -08:00
Griatch
34acefc587 Merge branch 'master' into develop 2017-11-11 01:02:26 +01:00
Griatch
c1735ec2a1 Fix dockerfile dependency. Resolve #1510. 2017-11-11 01:02:05 +01:00
FlutterSprite
ab46c5eefc
Fix typo in documentation 2017-10-30 19:16:43 -07:00
FlutterSprite
8d82981a53
Add tree select to README.md 2017-10-30 16:24:11 -07:00
FlutterSprite
2fcf1b3c04
Added unit tests for tree_select contrib 2017-10-30 16:21:32 -07:00
FlutterSprite
8b95b4718a
Add simple menu tree selection contrib
This contrib module allows developers to generate an EvMenu instance with options sourced from a multi-line string, which supports categories, back and forth menu navigation, option descriptions, and passing selections to custom callbacks. This allows for easier dynamic menus and much faster deployment of simple menu trees which does not require the manual definition of menu nodes and option dictionary-lists.
2017-10-30 15:01:51 -07:00
Griatch
b123b705bb Merge branch 'develop' of https://github.com/FlutterSprite/evennia into FlutterSprite-develop 2017-10-30 22:05:17 +01:00
FlutterSprite
d1aa757ba9
Clarify the nature of the different modules 2017-10-30 13:23:06 -07:00
Tehom
e8ef7f54a9 Add tests for general_context 2017-10-30 20:36:22 +01:00
FlutterSprite
89773e5860 Moved 'turnbattle' to packages section in readme 2017-10-30 05:11:53 -07:00
FlutterSprite
c6f422d44b Updated username in contrib readme 2017-10-30 05:03:26 -07:00
FlutterSprite
df9072253f Set turn handler's intervals higher during tests
This was an attempt to try to fix some strange 'unhandled error in
deffered' results while unit testing the contrib folder. It didn't
work, but it's probably good to do anyway.
2017-10-29 23:00:22 -07:00
FlutterSprite
9bc3fcf486 Unit tests for tb_range added 2017-10-29 21:39:11 -07:00
Griatch
bc868f8fd3 Fix iteration error if passing a raw string for aliases/tags/perms in spawner 2017-10-29 18:28:06 +01:00
Griatch
bbe8ffef76 Merge branch 'add_accounts_tests' of https://github.com/moonpatroller/evennia into moonpatroller-add_accounts_tests 2017-10-29 11:18:09 +01:00
Tehom
e93076a138 Add unit tests for bodyfunctions. Merges #1494. 2017-10-29 11:10:01 +01:00
Tehom
dee13b36b7 Create tests for dummyrunner settings 2017-10-29 10:54:10 +01:00
Tehom
f367ab8303 Add unit tests for deprecations 2017-10-29 10:44:56 +01:00
Griatch
703684e92f
Merge pull request #1496 from chainsol/fix_admin_channel
Fix Admin page for Channel objects
2017-10-29 09:42:33 +01:00
Moonpatroller
c202084123 adding accounts tests 2017-10-28 22:02:09 -07:00
Griatch
a5a8d9dd57 Some doc updates 2017-10-28 22:51:47 +02:00
Griatch
65664bf523 Add documentation to EvMenu test class 2017-10-28 22:48:06 +02:00
Griatch
d05495cc52 Add testing framework for EvMenu. Implements #1484 2017-10-28 22:33:58 +02:00
Griatch
b6b112b70a Make an empty evmenu desc option just show the key 2017-10-28 14:31:09 +02:00
Griatch
931e42082c Make persistent evmenu's store node kwargs correctly 2017-10-28 13:29:51 +02:00
Griatch
7b295fa98b Add working **kwargs support to nodes/callbacks in evmenu 2017-10-28 12:05:32 +02:00
Griatch
2475d14691 Almost finished with kwargs-support for evmenu 2017-10-28 00:13:40 +02:00
Nicholas Matlaga
e1db190329 change references to db_subscriptions to reference handler correctly 2017-10-27 14:10:19 -04:00
Griatch
2c1ebf68e3 Merge branch 'master' into develop 2017-10-27 09:19:05 +02:00
Griatch
98ab831437 Fix evmenu persistence loading for 0.7 2017-10-27 09:16:46 +02:00
FlutterSprite
1fe9bf3dce Moved distance_inc back to being its own function
I almost forgot - distance_inc is actually used by both
'approach' and 'withdraw', since approaching an object
might put you farther away from others. So, I moved it back
to its own function.
2017-10-23 22:29:45 -07:00
FlutterSprite
95f840ac7a get_range integrated into movement functions
This makes the code a bit more readable and fixes a bug
in withdrawing that didn't take other objects into account
properly.
2017-10-23 22:05:56 -07:00
FlutterSprite
66bb313c34 Empty returns deleted, methods properly spaced 2017-10-23 21:59:01 -07:00
FlutterSprite
e742179310 References to 'object' changed to 'thing' instead 2017-10-23 21:57:00 -07:00
FlutterSprite
b2ec29db81 distance_inc & distance_dec changed to helper funcs 2017-10-23 21:51:03 -07:00
FlutterSprite
30eea75ad7 Options for turn timeout and actions per turn 2017-10-23 21:36:42 -07:00
FlutterSprite
f576005772 Moved turn handler script up higher in module 2017-10-23 21:24:20 -07:00
FlutterSprite
347f161d94 Simplified bool returns in is_in_combat, is_turn 2017-10-23 21:16:19 -07:00
FlutterSprite
6e619d1949 Add at_defeat hook, PEP8 capitalization 2017-10-23 21:02:42 -07:00
Griatch
dfb2e02be6 Merge branch 'patch-1' of git://github.com/j-f1/evennia into j-f1-patch-1 2017-10-23 22:09:26 +02:00
Griatch
c0dec02075 Merge branch 'master' into develop 2017-10-23 22:06:25 +02:00
bclack
f356b6b6d3 Add newline after multimatch string error message
Other utility functions, such as caller.msg(), don't require adding
newline because newlines are added implicitly.  This change modifies the
multimatch string parameter to also not require newline, but add one
implicitly.
2017-10-23 22:06:10 +02:00
Nicholas Matlaga
781de86777 Change aliases of ExtendedRoom's desc command to reflect 0.7 hanges' 2017-10-22 21:42:12 +02:00