Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hotbar Creator - RPG Maker MV/MZ plugin

Easily create hotbars and game UI on screen, a tool for every project · By Sang Hendrix

[SOLVED] Bug with unequip when 0?

A topic by fizzlymike created 2 days ago Views: 37 Replies: 6
Viewing posts 1 to 3
(1 edit)

Hey, just noticed...not sure if it's only me, but I think the "unequip empty items" set to true does not work. I have 0 of item X and the item is still present on hotbar. Can you please check this?  

I also have a question: is there any script/command that returns last used item ID from toolbar? Like the one that we can get to variable as item ID of the last used item but from menu (does not work for the last used item from the toolbar, though). 

Also, would be super useful if we could "personalize" the "use now" command for different items. Like for example, comment in flaslight item <usenowtext: Turn On> or something.  Thank you if you consider this.  

Developer(+1)

 "unequip empty items" set to true does not work.

-> I've just tested it and it still works on my side.

is there any script/command that returns last used item ID from toolbar?

-> There isn't one like that.

 "personalize" the "use now" command for different items

-> This one isn't super necessary so I'm not planning on implement that at the moment.

(5 edits)

Thanks.

"I've just tested it and it still works on my side."

That's weird. I've tested this on a new project without any plugins at all, at it still won't work for me. Item icon still stay at hotbar, even when reached 0 and it's not in the inventory anymore. I've you could take a look, I recorded this:  https://drive.google.com/file/d/1yphHeZeBMNf-PHM8Q6XYSm2-1sDgwKhP/view?usp=drive...


Edit: Okay, I know where the problem is. If the item has "consumable: yes" then it works, but if that option is "no" and player will lose the item in different way (like my example above), then it's not working (even if the item is 0). Is there an option to fix this? You can ask: why not just set the item to consumable: yes? I can't. This item will be a "wall builder", where wall needs to be placed first, then "wall item" is substracted. Thank you for your time. 

Developer(+1)

 I can't visit your link due to it requires access. You can provide screenshot of your eventing here or in Discord server so I can provide support better. But if your case is too specific to your game, which means not common in most case scenario then I can't modify my plugin just for that case.

(1 edit)

Oh, sorry fot that. It should be visible now. But I think it's pretty common, it's just like instead of using items player got the items taken/substracted. Then the item doesn't dissappear from the hotbar, even if that item = 0.  Thank you, as awlays, for your help and support.

Developer(+1)

Hi, your update is ready. Do see if it works.

https://sanghendrix.itch.io/hotbar-creator-rpg-maker-mv-mz-plugin/devlog/1087476...

(+1)

So fast! :o Thank you, works like a charm. Have a great weekend!