joaomneto / TitanCompanion

Android app to support Fighting Fantasy gamebook playing without the use of additional pen, paper and dice. The objective is for the reader to immerse himself fully on the book and let the app do the rest of the work. The objective of this application is to support the distinct rules of each Fighting Fantasy gamebook.
GNU Lesser General Public License v3.0
14 stars 4 forks source link

Potions can be used indefinitely #73

Closed sebhz closed 7 years ago

sebhz commented 7 years ago

Most books rules state that each potion (skill, stamina, luck) has only two doses. Yet FFCompanion allows to use them indefinitely. Implementing a counter and deactivating the "Use XXX potion" button after 2 uses is probably easy (I did not check yet if this was already done), but we would also need to save/load the number of remaining potions when saving/loading a game.

Tested on 0.28-beta

joaomneto commented 7 years ago

This check was already present in the code. I must have introduced a bug somewhere. Actually, I think only TWOFM gives you 2 doses.

Sent from my OnePlus ONEPLUS A3003 using FastHub

joaomneto commented 7 years ago

Fixed in 0.29-beta