I wanted to have a shop, using the shop UI or a clone of it, to facilitate "buying" actors. Ideally, purchase would immediately add the actor to the player's party, and then disable buying the character again.
MV A shop to buy actors.
JS Plugin RequestsI'm not sure about plugins, but I had a quick suggestion if you wanted to do it with events:
You might consider creating an event that has a shop menu or set of choice menus that take gold in exchange for Hidden Item A or Bs that correspond to the Actors.
When the shop menu closes, you can use a common event to check if the player has any one of these items. If they have a particular item and the corresponding Actor isn't already in their party, this event will add this corresponding actor to the party.
The only other thing is removing the item from the shop when bought, I don't think Shop Processing has a setting for that(?), so you might need to use conditionals that change what version of the menu it shows based on which items/actors you already have.
You might consider creating an event that has a shop menu or set of choice menus that take gold in exchange for Hidden Item A or Bs that correspond to the Actors.
When the shop menu closes, you can use a common event to check if the player has any one of these items. If they have a particular item and the corresponding Actor isn't already in their party, this event will add this corresponding actor to the party.
The only other thing is removing the item from the shop when bought, I don't think Shop Processing has a setting for that(?), so you might need to use conditionals that change what version of the menu it shows based on which items/actors you already have.
There have been some other similar requests that might provide you with a starting point.
forums.rpgmakerweb.com
MV - Help with Actor Shop System (Searched Forums Already...)
Hi there, Ideally, I need a script that scans all the actors in the database and adds them to a shop window with category tabs, and displays their portrait on the side. You can set the category (shop tab) and price for each actor using note tags on actor database page. When you buy the actor...
forums.rpgmakerweb.com
You can search for something called a "common event shop", there should be oneor two plugins that create that: a shop where you purchase the activation of a common event.
and then the event checks and adds the actor
and then the event checks and adds the actor
This seems like the plugin that fits that description the most.
Party Switching Scene
Party Switching Scene
@Roxus The request was not how to manage actors in the party - that can be done using the basic Formation command, and Hime's plugin is basically a replacement/enhancement for that.
It was for a scene using the shop UI to buy actors, which would add them to your party.
Once that step is done, you might use the Party Switching Scene, or Yanfly's Party Manager, or the Formation command, to control which ones are going into battle. But none of those things provide the shop interface requested.
It was for a scene using the shop UI to buy actors, which would add them to your party.
Once that step is done, you might use the Party Switching Scene, or Yanfly's Party Manager, or the Formation command, to control which ones are going into battle. But none of those things provide the shop interface requested.
And what item was being gained when it crashed with that error?
It crashes on launch.
I could suggest a plugin that lets you choose actors (MrTS_PartyManager) but it doesn't cover purchase price of the actors.
My initial thought was that you could have items with the same name as the actors for purchase, and details such as class and level in their description. You would have a shop that lets you purchase only these items, and then event removal of these items and addition of the associated actors to the party. However, you would want to limit the numbers of "actor" items to purchase, so you would need a shop plugin that controls inventory (the shop starts with one each of these items). Buying 15 Harolds would not be good value for money for the player as you can add the same actor to the party multiple times, but there will only ever be one of them in the party.
My initial thought was that you could have items with the same name as the actors for purchase, and details such as class and level in their description. You would have a shop that lets you purchase only these items, and then event removal of these items and addition of the associated actors to the party. However, you would want to limit the numbers of "actor" items to purchase, so you would need a shop plugin that controls inventory (the shop starts with one each of these items). Buying 15 Harolds would not be good value for money for the player as you can add the same actor to the party multiple times, but there will only ever be one of them in the party.
That seems weird that you'd be gaining something with an amount to gain specified, but the item itself is invalid.
But maybe it's some quirk of one of the Yanfly things. Did you try turning off other plugins to see if it works by itself?
I'd modify the conditional near the bottom to read
But maybe it's some quirk of one of the Yanfly things. Did you try turning off other plugins to see if it works by itself?
I'd modify the conditional near the bottom to read
if(amount > 0 && item)The error happens when the engine tries to fill the meta structure.
which means either you have a notetag that is extremely wrong, or some plugins mess up where they are not supposed to do something.
Can you give us a screenshot of your plugin manager
which means either you have a notetag that is extremely wrong, or some plugins mess up where they are not supposed to do something.
Can you give us a screenshot of your plugin manager
Ill try to find it again, im not sure if it was tomoaky. Its a recruit shop or monster (actor) buy shop.
This sounds like something Irina's plugin might work for.
www.yanfly.moe
Recruiting Board (Irina) - Yanfly.moe Wiki
Nice one, @esneiru - I've never come across that one, that looks perfect.
Original thread: https://forums.rpgmakerweb.com/threads/a-shop-to-buy-actors.163533/