Inventory System - Demo
A downloadable tool
Hi! I'm KrillDes. I recently began my acquaintance with RPG Maker and took part in one project. From time to time it requires those things that, as it seems to me, should be provided by the game engine. But for some reason they are not there...
For this reason, I started developing my own plugin for inventorying items between game characters.
Yes, I have seen at least 2 existing plugins on this topic. One with free source code, and the second costs 5$ for the opportunity to try its “alpha” version. But I was not satisfied with the approach and vision of the authors of these plugins, and many of the solutions seem strange. I don't like the organization of the code, their limitations and the complete lack of automation. Why should I create a separate inventory myself? Why should I follow their management? Why can I connect characters' inventories, but cannot separate them back?
That is why I set out to make a good automated inventory system that I can use quite flexibly in projects.
Important note: I do not plan to distribute all the functionality for free, but I would like to demonstrate its basic capabilities :3
Concept:
- It should be an automated and at the same time flexible plugin.
- The developer should not think about managing things between characters.
- The developer must be able to influence the inventory of any game character from anywhere (event or other plugin).
- The developer must be able to check whether the character has a particular item and their quantity (in events or other plugins).
- All internal work of the plugin must be readable, understandable and use EXCLUSIVELY the basic capabilities of RPG Maker (or expand their functionality only within the plugin).
What has already been implemented:
- Automatic creation of a separate inventory for the group leader.
- Automatic saving/loading of inventory contents when loading or saving the game.
- The plugin's memory of what items were put on the character (it is also automatically saved and loaded).
- Saving items only when the player saves (similar to the standard behavior of the game engine).
- The plugin saves all session data (items) to a save file (it creates a place for itself and loads it itself, without interfering with the operation of other systems).
- Automatic notifications about a change in group leader.
- Plugin commands:
Notification before the change of group leader (or group composition)Notification after shift- Add/remove an item (item, weapon, equipment) in any quantity and to any existing character
- Global plugin methods (for checks, scripts or use in other plugins):
- Get a list of all items by character id
- Add/remove item (similar to the plugin command)
- Does a specific character have a specific item?
Planned:
Refuse manual notifications about changing the group leader (this is necessary if you manually change the composition of the group).- done.Support the standard way of changing the composition of a group from the menu.- done.- Implement the possibility of combining several inventories (any quantity).
- Implement the possibility of separating inventories (items that specific characters had will remain with them. The selected items will be assigned to the character who collected these items).
- Implement an optional setting in the menu for moving items between group members.
- Add MORE plugin commands and global methods.
In the current demo version you can get acquainted with the basic functionality, but some functions are removed or broken:
• global settings for shared/personal inventories (for example, personal inventory, but shared gold)
• commands to add/remove items, equipment and weapons
• tracking of added items (in the demo version, the HasItemByActorId() method only works correctly after changing character or saving the game)
• added gold is not tracked (similar to the previous paragraph)
• support for changing group composition using events is disabled. Only changing the formation from the menu item is supported.
• when adding gold through a command, existing gold is not taken into account
Some examples from the full version of the plugin:
You can both support what I do and contact me for suggestions (≧∇≦)ノ
Boosty: https://boosty.to/fairysword
RPG Maker Web: https://forums.rpgmakerweb.com/index.php?members/krilldes.256935/
Contact email: krilldes@gmail.com
I would be glad to receive any comments, suggestions or constructive criticism ΦωΦ
Download
Development log
- v0.1.0-DemoJun 02, 2024
Leave a comment
Log in with itch.io to leave a comment.