jurassicplayer / NekoLoliBot

0 stars 0 forks source link

Store function #20

Open jurassicplayer opened 9 years ago

jurassicplayer commented 9 years ago

Split store from the tokens plugin. Complete store functionality so you actually have to pay tokens to buy stuff (eventually...probably after making sure the items actually work). -Add ability to buy Accents for lolis? -Add reviving lolis -Add gift items (admin)

jurassicplayer commented 9 years ago

Split the store plugin with simple copy/paste. Probably needs a complete revamp and a storeManager class to deal with stuff per my normal ways.

Store functionality (buying from the store and actually taking tokens) CAN be added before finishing item testing because there IS a sale value included which can be set to zero to allow for item testing.

jurassicplayer commented 9 years ago

Basic store function is for the most part working along with discount items. Still needs to add the items to the user database because it currently just takes money and superficially gives you items unless it's a loli. Probably just another dictionary would work well: ie. {'items': {'pocky': 30, 'tea': 5, 'meron-pan': 15}}

Reviving lolis should probably be a function under the loli plugin (which means the function is going to have to be rather self sufficient in dealing with issues and returning results).

Dropping giving items because there isn't a point to it. Also dropping swapping accents because you don't just swap accents. Still need to add option to buy reviving lolis.