Changelog

Beta 1.1.0 - February 8th, 2019

Added

  • Player.inv() displays all items available to the player

  • Magic attacks!

    • Consumes mana

    • Requires recharge between attacks

  • Added magic_dmg, mana, and max_mana arguments to player class

    • max_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 mana

  • Mana 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 to HpPotion

  • 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 environment

    • Battlefield.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 to Enemy class

    • Instead 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 player

  • Player.usepotion renamed to Player.use_hp_potion

  • Potion class changed to Hp_potion

  • Player.additem() changed to add_item() (no longer in Player class

  • Player.removeitem() changed to remove_item() (no longer in Player class

  • Renamed Player.lowerlevel() to Player.lower_level()

  • Renamed Player.equiparmor() to Player.equip_armor()

  • Renamed Player.unequiparmor() to Player.unequip_armor()

  • Renamed Player.equipweapon() to Player.equip_weapon()

  • Renamed Player.unequipweapon() to Player.unequip_weapon()

  • Renamed Player.equipshield() to Player.equip_shield()

  • Renamed Player.unequipshield() to Player.unequip_shield()

  • Renamed Quest.addtask() to Quest.add_task()

  • Renamed Quest.completetask() to Quest.complete_task()

  • Removed issue() and feature() function from Debug 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 testers

  • Leveling system (no implemented features yet, but, you can develop features):

    • Player.level var

    • Player.levelup() - increases the player level by one

    • Player.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:

    • TARBSengine.enable_logging = True
      TARBSengine.genlog()

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 using

    Player.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:

      • print(sword.amnt)
        # 1  
        # Within the instance of the `Sword` class, the amnt var says that the player has 1 sword.
  • 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 and Player.equipshield now have debug output.

  • You can now communicate player thoughts by using Player.think. (Thanks Antti Haapala3)

  • Added Player.unequipweapon and Player.unequipshield to un-equip weapons and shields.

Last updated