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
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
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
FlutterSprite
c762d3d7d1
Update README.md
...
Adds information about the tb_range module to the readme.
2017-10-14 22:36:18 -07:00
FlutterSprite
d150d191e9
Add tb_range - movement & positioning for 'turnbattle'
...
Adds a system for range and movement to the 'turnbattle' contrib. This is based on the abstract movement and positioning system I made for 'The World of Cool Battles', my learning project - fighters' absolute positions are not tracked, only their relative distance to each other and other objects. Commands for movement as well as distinction between melee and ranged attacks are included.
2017-10-14 22:34:18 -07:00
FlutterSprite
da8b20e0b1
Renamed typeclasses to avoid conflicts
2017-10-09 00:14:32 -07:00
FlutterSprite
f031ba1b21
Renamed typeclasses to avoid conflicts
2017-10-09 00:13:03 -07:00
FlutterSprite
b50c7a1f3e
__init__.py for Turnbattle folder
2017-10-08 20:08:08 -07:00
FlutterSprite
d4d8a9c1b8
Readme for turnbattle folder
2017-10-08 20:07:29 -07:00
FlutterSprite
83791e619a
Add 'tb_equip', weapon & armor system for 'turnbattle'
...
Adds a new module, 'tb_equip', an implementation of the 'turnbattle' system that includes weapons and armor, which can be wielded and donned to modify attack damage and accuracy.
2017-10-08 20:05:53 -07:00
FlutterSprite
5cb1ce5b6e
Move turnbattle.py to turnbattle/tb_basic.py
...
Moves the basic turnbattle module to a new module file in a new 'turnbattle' subfolder. Also fixes a minor bug where the first character in the turn order was not being initialized properly at the start of a fight.
2017-10-08 20:04:00 -07:00