Does anyone know how to make it to where at a certain shop you can only get 1 of each kind of item? Like when the player buys the item, it's gone and you can't purchase anymore?
Be able to only buy 1 of each item from a shop?
RPG Maker VXAce SupportIf this is for only a few items, you can event a shop without using the dhop command.
If you want this as an option for a lot of items, the best way is to use a "shop stock" script. There were several such written. If I remember correctly both Tsukihime and Yanfly had such scripts for Ace.
If you want this as an option for a lot of items, the best way is to use a "shop stock" script. There were several such written. If I remember correctly both Tsukihime and Yanfly had such scripts for Ace.
1) I take it you mean the 'shop' command (typo?) If so, yes. Just have an event in the shop that activates a conversation where the shopkeeper says something like, "Oh? So you want to buy the teddy bear?" and then you use conditional branches and self switches to remove it once bought.
2) Does Yanfly really have a script that can limit stock? I'll admit, I've never seen it on his wordpress site (for VXA) where I've been getting his scripts but if he does then it would be really cool and I'd like to know where to get it.
I only have scripts for
Quasi Shop Quantity
Hime Shop stock
Yanfly common event shop - but that doesn't limit quantity.
It would be best to use Hime's script if you want to go with scripts for the 1 item shop.
Quasi Shop Quantity
Hime Shop stock
Yanfly common event shop - but that doesn't limit quantity.
It would be best to use Hime's script if you want to go with scripts for the 1 item shop.
Original thread: https://forums.rpgmakerweb.com/threads/be-able-to-only-buy-1-of-each-item-from-a-shop.155635/