Skip to content

Fix limited shop affected by the max_bag_item_count settings

Rey requested to merge TheRey/pokemonsdk:fix-shop into development

MR Description

  • Description

Before testing

  • Setup a limited shop and make sure to give yourself enough money to buy more than the store has

Tests to realize

  • Ensure your max_bag_item_count setting is set to more than 0 in Studio (it's the Max number of same item setting), then open the limited shop: you can only be a maximum of N items, N being the current stock for this item.
  • Ensure your max_bag_item_count setting is set to 0 in Studio, then open the limited shop: you can only be a maximum of N items, N being the current stock for this item, and not as many as your money can buy.

Sources related to this MR

Merge request reports