Commit graph

5077 commits

Author SHA1 Message Date
BattleJenkins
d9d4a8292f Added functional condition, TickerHandler countdown 2017-11-18 13:22:03 -08:00
BattleJenkins
b54a167989 Fix weird spacing in use_item() 2017-11-17 21:19:02 -08:00
BattleJenkins
c3ffa7b906 Start porting in condition code from coolbattles 2017-11-17 21:17:35 -08:00
BattleJenkins
9f8c92e4d4 Move some item logic from CmdUse to new func use_item 2017-11-17 16:46:27 -08:00
BattleJenkins
fd5f6ba981 Proper implementation of spend_item_use() 2017-11-16 00:15:20 -08:00
BattleJenkins
57cfb8e025 Added 'use' command, item functions, example items 2017-11-15 23:12:25 -08:00
FlutterSprite
97ab816508
Create tb_items.py 2017-11-15 16:25:08 -08:00
FlutterSprite
7fbd473d14
Merge pull request #1 from evennia/develop
Sync with develop
2017-11-15 16:23:38 -08:00
BattleJenkins
89ed833c76 Final touches 2017-11-15 14:58:25 -08:00
BattleJenkins
473fbe8a81 Comments and documentation, CmdStatus() added 2017-11-15 14:41:43 -08:00
FlutterSprite
19c278afcd Formatting and documentation 2017-11-15 14:14:16 -08:00
FlutterSprite
792c54996a Added attack spells, more healing spell variants 2017-11-12 21:11:28 -08:00
FlutterSprite
d87be0c529 Added functional 'cure wounds' spell
Also added more spell verification in the 'cast' command,
accounting for spell's MP cost and whether it can be used in
combat
2017-11-12 18:23:22 -08: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
Nicholas
74bbd0efea Change pop() to first() 2017-11-11 12:29:07 -05: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
Tehom
4d7a1f9b9a Fix sethome's help file 2017-11-10 14:42:21 -05:00
BattleJenkins
84c8284805 Added tb_magic.py - only basic input parsing 2017-11-09 22:36:11 -08:00
Tehom
989a046bc9 Move deprecated TEMPLATE_DEBUG setting to the 'options' field of TEMPLATES. 2017-11-10 00:34:20 -05:00
Tehom
ae3c3c526e Fix search and timeout with large database 2017-11-09 22:33:08 -05:00
FlutterSprite
f653d0d149
Add unit tests for health_bar contrib 2017-11-05 18:42:55 -08:00
FlutterSprite
831b714ad8
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
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