Dungeons-of-Kathallion/Bane-Of-Wargs

FEATURE: Grocery Store Functionalities

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.

This features addresses the game progression goal #'Add some kind of grocery store, where you wan buy/sell anything, at a random price'

Describe the solution you'd like

In this new kind of interactive map zone type, you'd be able to buy/sell any items you'd like. Here's how it'd work:

You'll have the choice to buy, sell or exit in the menu. If you choose to buy, it'll show you all the items this grocery store sell specifically at the current day (*check lower). If you choose to sell, it'll calculate a random price of the item you want to sell:

item_final_cost = item_gold * random.uniform(.85, 1.35) * zone_cost_value

*The grocery store definition will have a key that'll be a list of items that the grocery store sells, that every day are randomly picked by the game engine. That way, items you can buy are not always the same.

Describe alternatives you've considered

N/A

Additional context

N/A