- Joined
- Sep 9, 2022
- Messages
- 6
- Reaction score
- 5
- First Language
- English
- Primarily Uses
- RMMZ
What I want: To update the inventory of a shop based on past purchases/items in inventory.
What I have: I have a shop which sells a set of items that have improved sequels. Blessing 1 -> Blessing 2 -> Blessing 3
What I need: A way to make the inventory change as items are acquired.
Eg. When player has Blessing of Death 1, add Blessing of Death 2 to shop & remove Blessing of Death 1 from shop.
I can obviously set an event to check for the player having items, but I don't know how to make the inventory change as a result. As far as I can tell it will need a script, but I can't find any examples of someone trying this before.
Can anyone help me figure this out?
P.S. I could have the item trigger a whole new shop processing event, but with 16 items the player can purchase in any order that event would quickly become a hundreds of pages long hydra.)
What I have: I have a shop which sells a set of items that have improved sequels. Blessing 1 -> Blessing 2 -> Blessing 3
What I need: A way to make the inventory change as items are acquired.
Eg. When player has Blessing of Death 1, add Blessing of Death 2 to shop & remove Blessing of Death 1 from shop.
I can obviously set an event to check for the player having items, but I don't know how to make the inventory change as a result. As far as I can tell it will need a script, but I can't find any examples of someone trying this before.
Can anyone help me figure this out?
P.S. I could have the item trigger a whole new shop processing event, but with 16 items the player can purchase in any order that event would quickly become a hundreds of pages long hydra.)