Hello everyone,
There are already several plugins available for what I need. However, these are either for the inventory or for the shop. Plus, I don't like the existing plugins.
That’s why I need a custom plugin with the following features:
- Triggered via a script, e.g., SceneManager.push(Scene_Inventory); and SceneManager.push(Scene_Shop);
- Adjustable inventory size (based on classes)
- Items are not stackable
- Drag-and-drop system (see image: Interface-Shop3)
- Item description when hovering over it with the mouse
- Frame design from img\system - Window
- The game should remain active in the shop and inventory; it should not “pause”
I would be happy if someone would get in touch to take on this project for a small fee.
you can't commission a custom plugin yet unless you reach 30 post.
what you request is probably a bunch of work and overriding functions,
so the scene scriptcall stays equal.
the way you want too to open an inventory and shop to drag items can
take times, specially if you don't like to sell 1 item at the time or sell instantly
when dragged over.
I didn't saw custom inventory size increase though, I did so on an equip
mechanic, but items works differently, so probably, this should be a new scene
entirely on its on, but inherit from the scene_item, but the call is different here,
so the original item scene stays intact.
I don't have time to mess with this idea as it would be quite a challenge to get
it done though, so if you are able to make more post, you can request one
in another thread and the amount, else you need to wait to see who can do this
for free.
To be clear, I just mean it's absurd to explicitly request that the functionality be activated by a script call, when script calls are much more error-prone than plugin commands. An error in a plugin command often just means nothing happens; in a script call, it'll typically crash your game. It's case of "over-specification" – as you say, once the event command is set up and working, it makes no difference whether it's a script call or a plugin command.
Let me say it again: it makes no difference whether it's a script call or a plugin command.
It doesn't have any effect on the viability or functionality of the plugin (yes, I think it slightly reduces usability, but that becomes a moot point once the game is shipped). If they simply omitted that line, it would be unlikely to have a material effect on a hypothetical plugin that someone may eventually create for them. It makes no difference in the long run (and if followed to the letter will result in a slightly worse plugin) so it should not have been in the specification.
Yeah like said you need it to be on the map scene if you want the game to continue. Then you need to mod the mouse methods so that if your inventory/shop windows are visible the mouse interacts with them first and doesn't run move/interact with events.
You want an independent item plugin. Then add a couple of windows to the scene, make the window draw the slots there with an image file. Then I guess make each item icon be one sprite, so it's easier to drag and drop them.
Put in the item sprite update method that if the mouse cursor is on the sprite and left button is pressed, as long as button is pressed the sprite location gets updated to mouse cursor position. Then if the button is released if you're on the other window empty slot you make gain/lose gold + gain/lose item happen, otherwise the sprite location gets reset to original.
Then if you hover over an item, clear and add text to that info window and make it appear. And if you press the right button on an inventory item sprite, show and activate that use/discard window, where it's just useItem or loseItem methods.