Changelog
Beta 1.1.0 - February 8th, 2019
Added
Player.inv()
displays all items available to the playerMagic attacks!
Consumes mana
Requires recharge between attacks
Added
magic_dmg
,mana
, andmax_mana
arguments to player classmax_mana
is automatically set to mana when creating player (can be changed)
Added magic charge var to player class
ManaPotion
item can now be consumed to regenerate manaMana potions can now be used in battle
Fixed
Fixed a bug where the battle loop would crash if you tried to use a potion that didn't exist
Health doesn't get stuck at 0 anymore
Dependencies now auto-install (ignore requirements.txt)
Chests no longer crash when opening
Potions are now removed upon consumption
Potion amounts are now properly displayed in the battle loop
Changes
Hp_potion
renamed toHpPotion
Current turn is now displayed above the players actions during a battle
All settings are now handled by metadata file (internal only)
Beta 1.0.0.2 - January 19th, 2019
Fixed
import TARBSengine
now works 😅
Beta 1.0 🎉🎉 - January 16th, 2019
Now with the beta in version 1.0, significant changes in the way the system works are in progress. A complete revamp of the battle system allows new and more complex types of attack: magic, charging, rechargeable
Added
New battle system!
Battles now have their own class
Battfield
class is created to simulate a battle environmentBattlefield.start_battle()
imitates a turn-based battle loop
use_default_output
var enables the option to disable the default output when calling functions:Example: "Equipped Shield!"
"15 health restored, current health: 30"
Added
drops
parameter toEnemy
classInstead of manually giving the player an item after the battle,
drops
(list) automatically gives the player the items that the enemy would have dropped if they won the battle.
Changes
Player.maxhp
is now automatically set to hp when initializing the playerPlayer.usepotion
renamed toPlayer.use_hp_potion
Potion
class changed toHp_potion
Player.additem()
changed toadd_item()
(no longer inPlayer
classPlayer.removeitem()
changed toremove_item()
(no longer inPlayer
classRenamed
Player.lowerlevel()
toPlayer.lower_level()
Renamed
Player.equiparmor()
toPlayer.equip_armor()
Renamed
Player.unequiparmor()
toPlayer.unequip_armor()
Renamed
Player.equipweapon()
toPlayer.equip_weapon()
Renamed
Player.unequipweapon()
toPlayer.unequip_weapon()
Renamed
Player.equipshield()
toPlayer.equip_shield()
Renamed
Player.unequipshield()
toPlayer.unequip_shield()
Renamed
Quest.addtask()
toQuest.add_task()
Renamed
Quest.completetask()
toQuest.complete_task()
Removed
issue()
andfeature()
function fromDebug
class (that was dumb)
Optimized
Improved logging
Improved debug output
Better comments for open source (more in progress)
Cleaned up armor portions
Organized debugger code
Alpha 0.6.5 - December 14th, 2018
Added
Debug class (used as a container to store debugging objects)
issue(token, title, body)
Reports an issue on the github page
feature(token, title, body)
Submits a feature request on the github page
Changes
Changed some var names for clarity
Alpha 0.6.0 - November 7th, 2018
Added
Quest system:
Multiple tasks with
Quest.addtask()
Multiple rewards with a list as rewards
Automatic reward delivery with
Quest.completetask()
Alpha 0.5.0 - October 31st, 2018 (Happy Halloween 🎃💀)
Added
TARBSengine.contributors()
outputs credits and information about testersLeveling system (no implemented features yet, but, you can develop features):
Player.level
varPlayer.levelup()
- increases the player level by onePlayer.lowerlevel()
- decreases the level by a specified amount
Changed
Organized the source code a little
Alpha 0.4.2 - October 17th, 2018
Fixed
Finally fixed the text wrapping in
Player.think()
Changed
The
Player.think()
function was cleaned up and works slightly different now
Alpha 0.4.1 - October 17th, 2018
Added
Added the
Player.unequiparmor()
Added warning if logs are not generated
Alpha 0.4.0 - October 12th, 2018
Added
Equitable armor
Armor reduces damage taken
Changed
Logging is now enabled as such:
Alpha 0.3.3 - October 9th, 2018
Added
Armor class (Not yet used)
Fixed
Fixed logging (now enabled with
enable_logging = True
)
Alpha 0.3.2 - October 5th, 2018
Fixes
Fixed logging: logs wouldn't generate. (View how to enable logs here)
Alpha 0.3.1 - October 4th, 2018
Added
Added
initlogging()
that prevents logs from being generated if logging is disabled.
Changes
Cleaned up the source code a bit.
Alpha 0.3.0 - October 3rd, 2018
Added
Logging separate from debugging. Information here.
Custom function for getting user input (
getinput()
). This is used so logging and debugging is easier.
Changes
A new log is generated every time the program is run.
Alpha 0.2.2 - October 3rd, 2018
Fixes
Fixed an error with the
Player.openchest
function that resulted in usingPlayer.editinv
which is a deprecated function.
Added
Logging: on every run, a log file keeps track of all of the events that have debug output.
Alpha 0.2.0 - October 2th, 2018
Changes
Completely changed how the inventory works
The amount of items the player has is now contained in the class for each individual item.
Example:
Changed how inventory editing works:
You now add items to the player's inventory with
Player.additem
.Items are now are subtracted from the player's inventory with
Player.removeitem
.
Fixed
Debug output for
Player.openchest
now returns the proper output.One Shield/Weapon is now removed from the player's inventory when equipped.
Cleaned up the player class and removed unused vars.
Added
Player.equipweapon
andPlayer.equipshield
now have debug output.You can now communicate player thoughts by using
Player.think
. (Thanks Antti Haapala3)Added
Player.unequipweapon
andPlayer.unequipshield
to un-equip weapons and shields.
Last updated