Quantcast
Channel: Super Mario Bros. X Forums
Viewing all articles
Browse latest Browse all 2801

LunaLua • Re: simpleInventory.lua [v1.0] - Yet another Bowser's Fury-inspired inventory!

$
0
0
Currently having issues editing the max inventory amount for custom powerups, for whatever reason custom powerups dont go into the inventory at all for whatever reason. Does anyone have any ideas as to what could be causing this or how I can fix it?
That looks amazing and will defenitly will come in handy, especially with the fact that some Powerups are quite rare in my Episode.

Anyway, I did entcountered this error popping up. All Custom Powerups except two also don't seem to work all the time as they sometimes don't register.
Image


Image
Apologies for not getting back to you two sooner! Now that I'm looking at the issues you two are having, I'm realizing that any character that does not have a reserve itembox by default (such as Peach, Toad, or Link) won't actually work with the inventory at all because powerups are only added to the inventory if they're added to the itembox first, which never happens for characters without the itembox. I'm also realizing that the code I use to hide the itembox for Mario/Luigi also hides the hearts for other characters... This is what I get for not testing any characters besides Mario and Luigi, I guess ^-^;
For now, the hearts being invisible can be fixed by simply commenting out/deleting line 631 of simpleInventory.lua:

Code:

hudoverride.visible.itembox = false
(EDIT: You can alternatively add this check instead:)

Code:

if Graphics.getHUDType(player.character) ~= Graphics.HUD_HEARTS thenhudoverride.visible.itembox = falseend
That said, this doesn't explain the issues you were having DrMekar, since it looks like you were playing as Mario... Would you be able to send your luna.lua file? That might help me troubleshoot what's going wrong there

Statistics: Posted by Lurrae — Mon May 12, 2025 9:40 pm



Viewing all articles
Browse latest Browse all 2801

Trending Articles