Commit graph

4363 commits

Author SHA1 Message Date
FlutterSprite
90ccd56ba7 Merge pull request #4 from evennia/develop
Merging from base develop
2017-11-29 14:23:15 -08:00
Griatch
04e1cc86cd Merge pull request #1509 from FlutterSprite/healthbar
contrib: Health bar
2017-11-29 19:35:24 +01:00
Griatch
cc398f9851 Remove some spurious spaces 2017-11-29 19:32:50 +01:00
Griatch
86bfbe2cf6 Merge branch 'menutree' of https://github.com/FlutterSprite/evennia into FlutterSprite-menutree 2017-11-29 19:21:37 +01:00
FlutterSprite
ed5c198d65 Merge pull request #1 from evennia/develop
Sync with develop
2017-11-15 16:23:38 -08:00
FlutterSprite
f0630535e0 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
53d8536744 Update tree_select.py 2017-11-12 11:51:53 -08:00
FlutterSprite
7d10570424 Catch callback errors with logger 2017-11-12 11:46:59 -08:00
FlutterSprite
ebe7c6f4b3 Fix order of args for the callback in documentation 2017-11-12 02:21:49 -08:00
FlutterSprite
4a554a4409 Add mention of how the callback is used 2017-11-12 01:56:35 -08:00
Griatch
4507c7aa2d Merge branch 'master' into develop 2017-11-11 01:02:26 +01:00
Griatch
e3766762ee Fix dockerfile dependency. Resolve #1510. 2017-11-11 01:02:05 +01:00
FlutterSprite
8d5e167a8d Add unit tests for health_bar contrib 2017-11-05 18:42:55 -08:00
FlutterSprite
9ab3d27875 Adds health bar module
Adds a versatile function that will return a given current and maximum value as a "health bar" rendered with ANSI or xterm256 background color codes. This function has many options, such as being able to specify the length of the bar, its colors (including changing color depending on how full the bar is), what text is included inside the bar and how the text is justified within it.
2017-11-05 18:36:08 -08:00
FlutterSprite
5ea86d86fa Fix typo in documentation 2017-10-30 19:16:43 -07:00
FlutterSprite
9a047a6362 Add tree select to README.md 2017-10-30 16:24:11 -07:00
FlutterSprite
fc16898db3 Added unit tests for tree_select contrib 2017-10-30 16:21:32 -07:00
FlutterSprite
94e9b4370e 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
d2ddbe9eb5 Merge branch 'develop' of https://github.com/FlutterSprite/evennia into FlutterSprite-develop 2017-10-30 22:05:17 +01:00
FlutterSprite
e48763a02e Clarify the nature of the different modules 2017-10-30 13:23:06 -07:00
Tehom
5a83d533a5 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
10fe39b96a Fix iteration error if passing a raw string for aliases/tags/perms in spawner 2017-10-29 18:28:06 +01:00
Griatch
246f4c2e3b 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
eaeceddba1 Add unit tests for bodyfunctions. Merges #1494. 2017-10-29 11:10:01 +01:00
Tehom
f25bebddd8 Create tests for dummyrunner settings 2017-10-29 10:54:10 +01:00
Tehom
9f665134ba Add unit tests for deprecations 2017-10-29 10:44:56 +01:00
Griatch
35b88d45f9 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