thecoffeemeister / ascii-combat

A simple CLI text adventure game, created for learning purposes, feel free to contribute.
MIT License
0 stars 0 forks source link

weapon throwing #15

Closed thecoffeemeister closed 3 years ago

thecoffeemeister commented 3 years ago

As it stands, only treasure can be sold, not excess weapons. So, to prevent weapon creep in inventory, give an option to throw a weapon, dealing more damage, but sacrificing the weapon as a bonus

thecoffeemeister commented 3 years ago

Partially implemented. Still needs to remove the weapon from inventory when thrown, as well as updating all relevant text; such as, adding the throw version of the prompt when the throw action is available, putting the normal version of the prompt back when the throw action is not available, and displaying the correct damage done (only displays base damage done despite modified damage actually being done)