dillongesy / pokeBot

Personal side project based off Game Freak's "Pokémon."
0 stars 0 forks source link

Create shop db #85

Closed dillongesy closed 1 week ago

dillongesy commented 1 week ago

Refactor shop, buy, and use commands to use a shop database, which keeps the code cleaner and provides more stability/organization, allowing for future scaling of the project.

dillongesy commented 1 week ago

Fields for shop db: item_name, item_class, pokemon_usage, new_form, reusable, price, explanation

item_class: 0: items for general use item_class: 1: items for pokemon

reusable: 0: no reusable: 1: yes reusable: 2: no, but get item back when form !default (aka "held" item)