Hura

Villager
Member
Joined
Aug 17, 2021
Messages
13
Reaction score
4
First Language
Hungarian
Primarily Uses
RMMZ
Hello everyone!

First of all my programming skills and knowledge is very (very very) basic. Im using MV.
My question is that it is possibe to make an inventory(grid based) system without scripting, only using common events and pictures and some "minor" plugins (like picture common event, and button common event)?
I tried to make one but without any succes.
I know that there are complete inventory plugins but i wan to make my own (if it is even possible).
If i use always plugins for everything i will never learn anything.

So back to my question: is it possible to make one (and how?) or should i forget this thing entirely?
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,509
Reaction score
3,019
First Language
Dutch
Primarily Uses
RMMV
it is possible to pure event the inventory grid based.
but it require at least 1 plugin and basic some average JS
to build it up nice.

SRD_HUDMaker (for MV) as you used it, and primary MZ,
you can use SRD_UltraBase and UltraHUD if you use that.

you can take a look at my event menu how to make the main menu
evented, so you know how to work around that as that also apply
to the inventory, but require more steps.

the HUDmaker specifically can call a variable of the amount of numbers
of the item you have.

I have main menu and Inventory gridbased plugin.
but if your knowledge is very VERY VERY basic, than I would use
a plugin instead.

keep in mind that my menu plugin with inventory is based on single actor,
and not for multiple actors as it skips the actor personal use.

but there are some other plugins with grid based inventory to use,
some basic, some extended, depending on your needs.
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,788
Reaction score
2,234
First Language
English
Primarily Uses
RMMV
I use Ossra's Grid Inventory plugin. I lost the original version though. The attached file has been slightly edited from stock, but I forget what I changed...

Screenshot:
1656667664223.png
 

Attachments

  • Ossra_Menu-GridInventory.js
    25.5 KB · Views: 5

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
3,225
Reaction score
2,594
First Language
English
Primarily Uses
RMMV
You can make one purely with plugins, it'll have a different feel and probably be more restricted than what a plugin could accomplish. Even if you don't end up using it for your game, it can still be very good practice to get used to the eventing system to make something like it. The biggest upside to eventing it, opposed to just borrowing a plugin to do it, is you have a lot more freedom in how you want it to look and function (albeit limited by what you can get done with just eventing).
 

Hura

Villager
Member
Joined
Aug 17, 2021
Messages
13
Reaction score
4
First Language
Hungarian
Primarily Uses
RMMZ
SRD_HUDMaker (for MV) as you used it, and primary MZ,
you can use SRD_UltraBase and UltraHUD if you use that.

you can take a look at my event menu how to make the main menu
evented, so you know how to work around that as that also apply
to the inventory, but require more steps.
I used SRD_HUDMaker and it is great to create menus becaus they always the same, you always see the same options in the same place, but an inventory is alwas changing (getting new items, using items, destroying items etc.). And thats the part where i stuck, because i can make an inventory to open and adding the item in an inventory slot but when i close and reopen the inventory, it calls always the empty invnetory. I dont really know how to "save" the new item in an empty slot.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,509
Reaction score
3,019
First Language
Dutch
Primarily Uses
RMMV
probably because you switch or variable conditon is not used
or always return "false".

but inventory in complex and require average JS knowledge to
set it up nicely and working (cursor, item, item count, press the button,
etc etc.

if you want it easier, take a look at some grid menu through plugins.
or learn the engine more to do it without any plugins.
 

Latest Threads

Latest Posts

Latest Profile Posts

It was fun while it lasted, but guess it's time to say goodbye to my antidepresants. My body is immune to their good effects and only bad effects would remain.
Character in the game lore: An individual with exceptional skills.
Players: Slip through the cliff and die.
You know.. I... I kinda lost my interest in living a long time ago. What sustains me is a lack of interest in dying.
Like a star that is balanced between the forces of gravity and outward pressure, I feel like the energy to produce that outward pressure is weakening. I feel like I should pull a Stardew Valley and revert to a more primitive lifestyle, away from others. :(

Forum statistics

Threads
131,586
Messages
1,221,276
Members
173,285
Latest member
tnt3927
Top