Commit graph

60 commits

Author SHA1 Message Date
Griatch
d414cc3ccd Start add docs again 2020-10-08 21:45:18 +02:00
Griatch
f7b4193c84 Add $random default inlinefunc because I expected it to be there 2020-07-17 14:25:24 +02:00
trhr
e552663eea #1904 is_typeclass to default exact=False 2020-03-07 21:24:15 -06:00
Griatch
ff16eb1bfe Make log rotation also limited by size and controllable from settings. Resolves #2041 2020-01-29 23:16:53 +01:00
Griatch
efd6774e02 Improved install instruction for tb_magic 2020-01-18 12:45:50 +01:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
5ec9fd4991 Correct spawner import in contrib 2018-08-12 15:06:16 +02:00
BattleJenkins
bf66bb7440 Proper formatting for comments and notes 2018-05-21 18:06:29 -07:00
BattleJenkins
717999f56f Unit tests for tb_magic 2017-12-11 14:35:18 -08:00
FlutterSprite
f738427ff3 Add tickerhandler-free character class for tests 2017-12-10 18:52:34 -08:00
BattleJenkins
dc67f4b871 Ugh!!! TickerHandler changes, more 2017-11-29 15:37:40 -08:00
BattleJenkins
eb95416ee8 Unit tests for tb_items 2017-11-29 15:01:49 -08:00
BattleJenkins
0c0b5c982a Added options for conditions at top of module 2017-11-29 13:54:22 -08:00
FlutterSprite
9f86034cf3 Fix readme spacing 2017-11-19 13:25:37 -08:00
FlutterSprite
68e46f1e4e Update readme 2017-11-19 13:24:44 -08:00
FlutterSprite
d99b0b7819 More item prototypes - probably ready to go! 2017-11-19 13:18:55 -08:00
FlutterSprite
ba964797de Fixed all conditions lasting indefinitely
Turns out 1 == True, but not 1 is True - learn something new
every day!
2017-11-19 12:59:07 -08:00
FlutterSprite
42db3aa7f5 More conditions and documentation 2017-11-19 12:16:38 -08:00
BattleJenkins
1d65a0a0cf More documentation, fix error in at_update()
at_update() erroneously changed the turnchar on conditions during
combat - this has been fixed.
2017-11-18 18:43:14 -08:00
BattleJenkins
7a933425f3 More documentation, 'True' duration for indefinite conditions 2017-11-18 18:02:54 -08:00
BattleJenkins
9d7921fee5 Add "Poisoned" condition, more condition items
Added the ability for attack items to inflict conditions on hit,
as well as items that can cure specific conditions.
2017-11-18 17:28:52 -08:00
FlutterSprite
2302408072 Merge pull request #3 from FlutterSprite/tb_items
Merge magic and items branches
2017-11-18 13:51:51 -08:00
BattleJenkins
686b290b5d Fix condition ticking 2017-11-18 13:25:47 -08:00
BattleJenkins
44c75d8d18 Added functional condition, TickerHandler countdown 2017-11-18 13:22:03 -08:00
BattleJenkins
ae060ecc77 Fix weird spacing in use_item() 2017-11-17 21:19:02 -08:00
BattleJenkins
e61df0a400 Start porting in condition code from coolbattles 2017-11-17 21:17:35 -08:00
BattleJenkins
91c333e6d3 Move some item logic from CmdUse to new func use_item 2017-11-17 16:46:27 -08:00
BattleJenkins
5ce18379c0 Proper implementation of spend_item_use() 2017-11-16 00:15:20 -08:00
BattleJenkins
35340f86c8 Added 'use' command, item functions, example items 2017-11-15 23:12:25 -08:00
FlutterSprite
0616e0b218 Create tb_items.py 2017-11-15 16:25:08 -08:00
BattleJenkins
fda565b274 Final touches 2017-11-15 14:58:25 -08:00
BattleJenkins
7701d5f92b Comments and documentation, CmdStatus() added 2017-11-15 14:41:43 -08:00
FlutterSprite
858494eebb Formatting and documentation 2017-11-15 14:14:16 -08:00
FlutterSprite
83579a2e06 Added attack spells, more healing spell variants 2017-11-12 21:11:28 -08:00
FlutterSprite
5fe3cd186d 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
BattleJenkins
7ddb5162ab Added tb_magic.py - only basic input parsing 2017-11-09 22:36:11 -08:00
Griatch
20ef7f26ed Resolve merge conflicts against develop branch 2017-11-05 14:20:25 +01:00
Ryan Stein
cd21fb2396 Use Python 3's new super() convention. 2017-11-02 10:41:41 -04:00
FlutterSprite
e48763a02e Clarify the nature of the different modules 2017-10-30 13:23:06 -07:00
FlutterSprite
9bc3fcf486 Unit tests for tb_range added 2017-10-29 21:39:11 -07: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