- Joined
- Jul 18, 2014
- Messages
- 222
- Reaction score
- 13
- First Language
- English
- Primarily Uses
- RMMV
Hello, is there any script or eventing methods to enable shopping by bundles? Example:
A) The shop menu either enables you to buy items in multiples of a number, such as 10 -
Arrows x10 / x20 / x30 / etc
B ) or a set number above 1 -
Arrows x2 / x7 / x13 / x25 / etc (Only one of these numbers, meaning it's a one-time purchase and the item is no longer available - this would require a script I assume)
I know I can:
> Check number of item before shopping and after.
> Calculate the difference (to detect if you purchased it)
> Increase your item by the relevant multiple depending on the difference (So if you bought 2 arrows, it meant you bought 2 bundles and thus +20 arrows)
However, the method I described above would be tedious and probably inefficient to do, right? So any suggestions? If I can edit the main shopping script so that all shops work in multiples instead, that'd be okay for me.
A) The shop menu either enables you to buy items in multiples of a number, such as 10 -
Arrows x10 / x20 / x30 / etc
B ) or a set number above 1 -
Arrows x2 / x7 / x13 / x25 / etc (Only one of these numbers, meaning it's a one-time purchase and the item is no longer available - this would require a script I assume)
I know I can:
> Check number of item before shopping and after.
> Calculate the difference (to detect if you purchased it)
> Increase your item by the relevant multiple depending on the difference (So if you bought 2 arrows, it meant you bought 2 bundles and thus +20 arrows)
However, the method I described above would be tedious and probably inefficient to do, right? So any suggestions? If I can edit the main shopping script so that all shops work in multiples instead, that'd be okay for me.
